tor-0.1.2.19: fails to start after log rotation
After tor log file has been rotated by logrotate utility, tor fails to start.
Steps to Reproduce:
- Start tor daemon
- Wait until log file fill ups and log rotation happens
- See that tor isn't functioning anymore
It happens because logrotate sets default ownership on newly created /var/log/tor.log - root:wheel. tor daemon runs under tor:tor credentials, so it can't open its own log file and fails to start.
Solution: add "create 0640 tor tor" to contrib/tor.logrotate.in.
[Automatically added by flyspray2trac: Operating System: Other Linux]
Trac:
Username: gentoosiast