Hello folks,
Tor is not starting after start of the jail although tor_enable="YES" is set in jails /etc/rc.conf. I am able to start tor from the command line without error.
Some points:
Alex
/var/log/messages
/etc/rc.conf (jail)
Tor is not starting after start of the jail although tor_enable="YES" is set in jails /etc/rc.conf. I am able to start tor from the command line without error.
Some points:
- I am using tor in a jail on 12.0-RELEASE-p10,
- Tor has been installed with pkg,
- /usr/local/etc/rc.d/tor is standard,
- /usr/local/etc/tor/torrc is standard,
- _tor user and group has been added by pkg install tor.
Alex
/var/log/messages
Code:
Oct 31 17:33:12 <kern.info> tor syslogd: kernel boot file is /boot/kernel/kernel
Oct 31 17:33:12 <auth.err> tor su[2613]: in openpam_check_error_code(): pam_sm_acct_mgmt(): unexpected return value 12
Oct 31 17:33:12 <auth.err> tor su[2613]: pam_acct_mgmt: Authentication information is unavailable
Oct 31 17:33:12 <user.notice> tor alex[2774]: /etc/rc: WARNING: failed to start tor
Code:
# enable tor and polipo
tor_enable="YES"
polipo_enable="YES"
Code:
(pts/1)[root@tor:/]# getent passwd
...
_tor:*:256:256:Tor anonymizing router:/var/db/tor:/usr/sbin/nologin
...
(pts/1)[root@tor:/]#
Code:
(pts/1)[root@bepserv1:/home/alex]# jexec tor tcsh
(pts/1)[root@tor:/]# service tor status
tor is not running.
(pts/1)[root@tor:/]# service tor start
Starting tor.
Oct 31 17:33:24.135 [notice] Tor 0.4.1.6 running on FreeBSD with Libevent 2.1.11-stable, OpenSSL 1.1.1a-freebsd, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.4.3.
Oct 31 17:33:24.136 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Oct 31 17:33:24.136 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Oct 31 17:33:24.150 [notice] Opening Socks listener on 127.0.0.1:9050
Oct 31 17:33:24.150 [notice] Opened Socks listener on 127.0.0.1:9050
(pts/1)[root@tor:/]#