-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../contrib/tunnels.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: 2.21.1.{build} | ||
version: 2.22.0.{build} | ||
pull_requests: | ||
do_not_increment_build_number: true | ||
branches: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
%define git_hash %(git rev-parse HEAD | cut -c -7) | ||
|
||
Name: i2pd-git | ||
Version: 2.21.1 | ||
Version: 2.22.0 | ||
Release: git%{git_hash}%{?dist} | ||
Summary: I2P router written in C++ | ||
Conflicts: i2pd | ||
|
@@ -102,5 +102,8 @@ getent passwd i2pd >/dev/null || \ | |
|
||
|
||
%changelog | ||
* Fri Nov 09 2018 r4sas <[email protected]> - 2.22.0 | ||
- add support of tunnelsdir option | ||
|
||
* Thu Feb 01 2018 r4sas <[email protected]> - 2.18.0 | ||
- Initial i2pd-git based on i2pd 2.18.0-1 spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: i2pd | ||
Version: 2.21.1 | ||
Version: 2.22.0 | ||
Release: 1%{?dist} | ||
Summary: I2P router written in C++ | ||
Conflicts: i2pd-git | ||
|
@@ -100,6 +100,10 @@ getent passwd i2pd >/dev/null || \ | |
|
||
|
||
%changelog | ||
* Fri Nov 09 2018 r4sas <[email protected]> - 2.22.0 | ||
- update to 2.22.0 | ||
- add support of tunnelsdir option | ||
|
||
* Thu Oct 22 2018 orignal <[email protected]> - 2.21.1 | ||
- update to 2.21.1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
debhelper-build-stamp | ||
files | ||
i2pd-dbg.substvars | ||
i2pd-dbg/ | ||
i2pd.postinst.debhelper | ||
i2pd.postrm.debhelper | ||
i2pd.prerm.debhelper | ||
i2pd.substvars | ||
i2pd/ | ||
|
||
i2pd-dbg/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
i2pd (2.22.0-1) unstable; urgency=medium | ||
|
||
* updated to version 2.22.0/0.9.37 | ||
* update manpage (1) | ||
* update links, install files to support tunnelsdir option | ||
* renamed and updated patch (#1210) | ||
|
||
-- r4sas <[email protected]> Fri, 09 Nov 2018 02:00:00 +0000 | ||
|
||
i2pd (2.21.1-1) unstable; urgency=medium | ||
|
||
* updated to version 2.21.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ Bug: https://github.com/PurpleI2P/i2pd/issues/1210 | |
Reviewed-By: r4sas <[email protected]> | ||
Last-Update: 2018-08-25 | ||
|
||
--- i2pd-2.20.0.orig/contrib/i2pd.service | ||
+++ i2pd-2.20.0/contrib/i2pd.service | ||
--- a/contrib/i2pd.service | ||
+++ b/contrib/i2pd.service | ||
@@ -6,10 +6,10 @@ After=network.target | ||
[Service] | ||
User=i2pd | ||
|
@@ -21,5 +21,5 @@ Last-Update: 2018-08-25 | |
+#LogsDirectory=i2pd | ||
+#LogsDirectoryMode=0700 | ||
Type=forking | ||
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service | ||
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service | ||
ExecReload=/bin/kill -HUP $MAINPID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
01-tune-build-opts.patch | ||
fix-#1210 | ||
02-fix-1210.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
На этот раз вроде бы нормально собирается и запускается.
При сборке намекает на лишнюю зависимось, но это и раньше было, не помню когда появилось.
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/i2pd/usr/sbin/i2pd was not linked against libatomic.so.1 (it uses none of the library's symbols)
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это было добавлено в #1226.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А такая матрёшка tunnels.conf.d/tunnels.d так и задумана?
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Торопимся куда-то, может эту фичу в пакеты добавить в следующем релизе?
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
хм... странная матрешка...
Пускай будет пока что так, как образовательный материал)
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LLE8 всему виной отсутствующий слеш в конце
туннеля. Но вот мне кажется так не удастся скопировать именно содержимое папки... Ща буду пытать.i2pd/debian/i2pd.install
Line 6 in 7792288
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
добавил слеш в debian/i2pd.install
пересобрал, но матрешка не исчезла. Или я что-то неправильно понял?
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я потом сообщение дописал что возможно матрешка так не излечится...
Надо будет посмотеть как именно содержимое папки инсталлить
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Кстати вполне корректно скорее всего инсталить туда только README файл, без примеров.
Переделать так?
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не, примеры пускай будут, и может быть именно в таком виде, с # в начале каждой строчки, в вверху написать типа "уберите при необходимости"
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну так дело в том, что его удалишь, он опять создастся после обновления))))
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Конфиги при обновлениях обычно не портятся, насколько я понимаю?
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, они не портятся, но если отсутствуют, то dpkg опять зальёт файл. т.е. Ilita.conf, Irc2P.conf и README будут пересоздаваться после обновления.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну и пускай пересоздаются, если в них все строчки будут забиты #, то они никому мешать не будут
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Есть вариант положить эти файлы в /usr/share/docs/i2pd/tunnels.d/
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я попробовал так, тупо пофайлово, вроде нормально получилось
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.debian.org/doc/manuals/maint-guide/dother.en.html
5.5 и 5.11
Судя по описанию файл install не подразумевает переименования директорий, в нем пишутся инструкции по тупому копированию того, что слева туда, что справа.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
И еще заметил, что в файлах IRC-Irc2P.conf и README не хватает в конце байта перевода строки 0x0A.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
кажется хороший вариант, но не docs, а doc, у меня так в Stretch
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я по памяти путь написал.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Как то так сделать:
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/etc/i2pd/tunnels.conf.d пускай будет, а в ней пускай лежит README
это лишнее
-etc/i2pd/tunnels.conf.d
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
кстати, в чем смысл всех этих симлинков в /var/lib/i2pd на файлы в /etc/i2pd?
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Оно не нужно, папка создастся сама.
+contrib/tunnels.d/README etc/i2pd/tunnels.conf.d/
В том, что это рабочая папка приложения, и если в случае чего оно будет искать файл там.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В таком случае и папка /etc/i2pd создается сама, т.к.
contrib/i2pd.conf etc/i2pd/
и еще что-нибудь туда же
Пускай лучше не сама, а принудительно
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нет, здесь другой смысл файла dirs.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I am having a problem that i2pd 2.21.1-1 stops working after a few reboots (or if day changes during poweroff?). Would this happen to be fixed on 2.22.0 which isn't in Debian repositories yet?
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please tell us exact scenario and we will check. "Stops working" is too brief.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm...
Can you temporary add read-access rule in apparmor config at
/etc/apparmor.d/usr.sbin.i2pd
file?After that reload profile:
sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.i2pd
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
systemctl restart i2pd
poweroff
my laptop for the night.Main process exited, code=killed, status=6/ABRT
according tosystemctl start i2pd
.After adding this, I don't see a complaint from apparmor-notify, but the situation doesn't change.
Looking at the logs in my Debian bug report, I think the issue is these lines:
which I think to be #828 or #785 (but I haven't Google Translated this yet and I don't speak Russian), but both seem to have fixing commits.
However today I cannot find that part of
journalctl -xe
and instead find this:Does that seem related to this issue?
In case it would be something in my kernel configuration, my differences that I think could be at all related from the Debian defaults:
The first is to enable user sandboxing with Brave Browser to get it launch and the second is as I want listening on
::
to only listen on IPv6 to avoid dotted-decimals.However I don't think anything I said explains why I2pd works until reboot and day changing.
7792288
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apparmour issue should be fixed here 67f60f1
It has been found that openssl silently reads config file since 1.1.0.