Summary: | Tor does not start after update to Core132 | ||
---|---|---|---|
Product: | IPFire | Reporter: | Erik Kapfer <ummeegge> |
Component: | --- | Assignee: | Peter Müller <peter.mueller> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Crash | ||
Priority: | - Unknown - | CC: | arne.fitzenreiter, info, michael.tremer |
Version: | 2 | ||
Hardware: | unspecified | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 11778 |
Description
Erik Kapfer
2019-05-25 05:42:58 UTC
Can you provide logs? It must complain about something not being right (probably file ownerships). Only by using the tor WUI there is nothing findable in messages nor in error_log. If i use torctrl restart (service is already stopped) i get an May 27 17:48:43 ipfire Tor[16027]: Received reload signal (hup). Reloading config and resetting internal state. May 27 17:48:43 ipfire Tor[16027]: Read configuration file "/usr/share/tor/defaults-torrc". May 27 17:48:43 ipfire Tor[16027]: Read configuration file "/etc/tor/torrc". May 27 17:48:43 ipfire Tor[16027]: ControlPort is open, but no authentication method has been configured. This means that any program on your computer can reconfigure your Tor. That's bad! You should upgrade your Tor controller as soon as possible. May 27 17:48:43 ipfire Tor[16027]: Failed to parse/validate config: While Tor is running, changing User is not allowed May 27 17:48:43 ipfire Tor[16027]: Reading config failed--see warnings above. For usage, try -h. May 27 17:48:43 ipfire Tor[16027]: Restart failed (config error?). Exiting. Best, Erik Hi, first: Thanks for reporting. I did not get it: Does this happen with or without libseccomp? Thanks, and best regards, Peter Müller Forget my last comment. This is another permission issue. :-/ chown tor:tor /var/lib/tor solves the problem for any setup I can reproduce here tonight. Please let me know if this helps. Hi Peter, (In reply to Peter Müller from comment #3) > first: Thanks for reporting. your welcome. (In reply to Peter Müller from comment #4) > Forget my last comment. This is another permission issue. :-/ OK and yes you are right. > > chown tor:tor /var/lib/tor Doesn´t it need a '-R' (the 'keys' folder) ? Best, Erik That's right, it's a permission problem. chown -r tor:tor /var/lib/tor fixes it. (In reply to Marco Paland from comment #6) > > chown -r tor:tor /var/lib/tor > > fixes it. Typo: Of course: chown -R ... Hi all, it seems that the update.sh misses the appropriate fix for the permissions in Core 132 --> https://forum.ipfire.org/viewtopic.php?f=52&t=22905 . Best, Erik Can someone please send a patch - ideally today - so that we can close the core update? Hi Michael, --> https://patchwork.ipfire.org/patch/2292/ . Best, Erik Actually, "install.sh" _contains_ statements to create Tor user and group if necessary, and updates file permissions afterwards. It works for freshly installed Tor instances, but not for updated ones, although "update.sh" is calling the "install.sh" at some point. Weird. This is fixed by now. |