Hello OpenBSD gurus, have run tor on Linux ans Solaris, I am now trying to get tor running on OpenBSH in a chroot environment. Everything should run but: /root# chroot -u tor -g tor $CHROOT /bin/tor -f /etc/tor/torrc cannot find atexit, destructors will not be run! Jul 11 18:29:40.393 [notice] Tor v0.2.3.25 running on OpenBSD. Jul 11 18:29:40.413 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Jul 11 18:29:40.430 [notice] Read configuration file "/etc/tor/torrc". Jul 11 18:29:40.477 [notice] Initialized libevent version 2.0.21-stable using method kqueue. Good. Jul 11 18:29:40.480 [notice] Opening Socks listener on 127.0.0.1:9050 <thats all, no more output on tty> In debug.log: Jul 11 18:29:40.000 [notice] Tor 0.2.3.25 opening new log file. Jul 11 18:29:40.000 [debug] tor_disable_debugger_attach(): Attemping to disable debugger attachment to Tor for unprivileged users. Jul 11 18:29:40.000 [info] tor_lockfile_lock(): Locking "//var/lib/tor/lock" Jul 11 18:29:40.000 [debug] parse_dir_server_line(): Trusted 100 dirserver at 128.31.0.39:9131 (9695) ... ... Jul 11 18:29:40.000 [debug] parse_dir_server_line(): Trusted 100 dirserver at 154.35.32.5:80 (CF6D) Jul 11 18:29:40.000 [info] or_state_load(): Loaded state from "//var/lib/tor/state" Jul 11 18:29:40.000 [debug] circuit_build_times_disabled(): CircuitBuildTime learning is not disabled. Consensus=0, Config=0, AuthDir=0, StateFile=0 Jul 11 18:29:40.000 [debug] circuit_build_times_disabled(): CircuitBuildTime learning is not disabled. Consensus=0, Config=0, AuthDir=0, StateFile=0 Jul 11 18:29:40.000 [info] circuit_build_times_parse_state(): Adding 0 timeouts. Jul 11 18:29:40.000 [info] circuit_build_times_parse_state(): Loaded 0/0 values from 0 lines in circuit time histogram Jul 11 18:29:40.000 [debug] circuit_build_times_disabled(): CircuitBuildTime learning is not disabled. Consensus=0, Config=0, AuthDir=0, StateFile=0 Jul 11 18:29:40.000 [info] read_file_to_str(): Could not open "//var/lib/tor/router-stability": No such file or directory Jul 11 18:29:40.000 [err] /dev/null can't be opened. Exiting. So I check my /dev/null: /chroot/tor/log# ls -l /dev/null $CHROOT/dev/null crw-rw-rw- 1 root wheel 2, 2 Jul 10 20:45 /chroot/tor/dev/null crw-rw-rw- 1 root wheel 2, 2 Jul 11 17:57 /dev/null drwxr-xr-x 3 root wheel 512 Jul 8 21:40 /chroot drwxr-x--- 9 root tor 512 Jul 10 21:07 /chroot/tor drwxr-xr-x 2 root wheel 512 Jul 10 20:45 /chroot/tor/dev This is my configure string: CFLAGS=-static ./configure --prefix=/ --enable-static-tor --with-openssl-dir=/usr/lib --with-libevent-dir=/usr/lib --with-zlib-dir=/usr/lib --disable-asciidoc 2>&1 | tee configure.log So whats wrong here? How to debug? How to fix? Wrong configure options? Any help is recommended. Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ tor-talk mailing list tor-talk@xxxxxxxxxxxxxxxxxxxx https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk