Bug#998681: tor: fails to start on boot, needs manual restart later
Il giorno ven 18 nov 2022 alle ore 09:51 Peter Palfrader ha scritto: > On Wed, 16 Nov 2022, Domenico Cufalo wrote: > > > Package: tor > > Version: 0.4.7.11-1~bpo11+1 > > Followup-For: Bug #998681 > > > > Dear Maintainer, > > > > this bug still persists. > > > > As far it seems, tor service needs to be launched AFTER networking. (1) > > I think think should be fixed in git. If you want, you could try the > nightly builds on deb.torproject.org. > > > https://gitlab.torproject.org/tpo/core/debian/tor/-/commit/46e6de4646204a8b81d15a30d2f7045dfa38b8a8 > > Obviously with this patch it works . Many thanks, Domenico
Bug#998681: tor: fails to start on boot, needs manual restart later
On Wed, 16 Nov 2022, Domenico Cufalo wrote: > Package: tor > Version: 0.4.7.11-1~bpo11+1 > Followup-For: Bug #998681 > > Dear Maintainer, > > this bug still persists. > > As far it seems, tor service needs to be launched AFTER networking. (1) I think think should be fixed in git. If you want, you could try the nightly builds on deb.torproject.org. https://gitlab.torproject.org/tpo/core/debian/tor/-/commit/46e6de4646204a8b81d15a30d2f7045dfa38b8a8 Cheers, -- | .''`. ** Debian ** Peter Palfrader | : :' : The universal https://www.palfrader.org/ | `. `' Operating System | `-https://www.debian.org/
Bug#998681: tor: fails to start on boot, needs manual restart later
Package: tor Version: 0.4.7.11-1~bpo11+1 Followup-For: Bug #998681 Dear Maintainer, this bug still persists. As far it seems, tor service needs to be launched AFTER networking. (1) I solved the problem by modifying in file /usr/lib/systemd/system/tor@default.service After=network.target nss-lookup.target into After=network.target network-online.target nss-lookup.target I hope this can be useful. Many thanks in advance, Domenico NOTES (1) https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ -- System Information: Debian Release: 11.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.19.0-0.deb11.2-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages tor depends on: ii adduser 3.118 ii libc6 2.31-13+deb11u5 ii libcap2 1:2.44-1 ii libevent-2.1-7 2.1.12-stable-1 ii liblzma55.2.5-2.1~deb11u1 ii libseccomp2 2.5.1-1+deb11u1 ii libssl1.1 1.1.1n-0+deb11u3 ii libsystemd0 251.3-1~bpo11+1 ii libzstd11.4.8+dfsg-2.1 ii lsb-base11.1.0 ii runit-helper2.10.3 ii zlib1g 1:1.2.11.dfsg-2+deb11u2 Versions of packages tor recommends: ii logrotate3.18.0-2+deb11u1 ii tor-geoipdb 0.4.7.11-1~bpo11+1 ii torsocks 2.3.0-3 Versions of packages tor suggests: ii apparmor-utils 2.13.6-10 pn mixmaster pn nyx pn obfs4proxy pn socat ii torbrowser-launcher 0.3.3-6
Bug#998681: tor: fails to start on boot, needs manual restart later
Package: tor Version: 0.3.5.16-1 Severity: normal Dear Maintainer, The Tor service fails when started while the machine boots: [FAILED] Failed to start Anonymizing overlay network for TCP. After a manual restart later, everything works. -- System Information: Debian Release: 10.11 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-18-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages tor depends on: ii adduser 3.118 ii libc6 2.28-10 ii libcap2 1:2.25-2 ii libevent-2.1-6 2.1.8-stable-4 ii liblzma55.2.4-1 ii libseccomp2 2.3.3-4 ii libssl1.1 1.1.1d-0+deb10u7 ii libsystemd0 241-7~deb10u8 ii libzstd11.3.8+dfsg-3+deb10u2 ii lsb-base10.2019051400 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages tor recommends: ii logrotate3.14.0-4 ii tor-geoipdb 0.3.5.16-1 ii torsocks 2.3.0-2 Versions of packages tor suggests: pn apparmor-utils pn mixmaster pn obfs4proxy ii socat1.7.3.2-2 pn tor-arm pn torbrowser-launcher -- Configuration Files: /etc/tor/torrc changed: SocksPort 9050 # Default: Bind to localhost:9050 for local connections. SocksPort 10.8.0.1:9050 # Bind to this address:port too. SocksPolicy accept 127.0.0.1/32 SocksPolicy accept 192.168.0.0/16 SocksPolicy accept 10.8.0.0/16 SocksPolicy reject * Log notice file /var/log/tor/notices.log ExitPolicy reject *:* # no exits allowed -- no debconf information