Opened 9 months ago

Last modified 45 hours ago

#28944 needs_information defect

Debian logrotate misses line "su"

Reported by: Ilka Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.3.4.9
Severity: Normal Keywords: 041-deferred-20190530, 042-deferred-20190918
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The freshly installed Tor Relay on Debian 9.6 creates a /etc/logrotate.d/tor that seems to miss a line. Without the option "su", logrotate produces this output:

/etc/cron.daily/logrotate:
error: skipping "/var/log/tor/debug.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/tor/notices.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
run-parts: /etc/cron.daily/logrotate exited with return code 1

Child Tickets

Change History (4)

comment:1 Changed 6 months ago by nickm

Component: - Select a componentCore Tor/Tor
Milestone: Tor: 0.4.1.x-final
Status: newneeds_information

Does debian ship the logrotate script from Tor, or does it ship its own?

comment:2 Changed 4 months ago by nickm

Keywords: 041-deferred-20190530 added

Marking these tickets as deferred from 041.

comment:3 Changed 4 months ago by nickm

Milestone: Tor: 0.4.1.x-finalTor: 0.4.2.x-final

comment:4 Changed 45 hours ago by nickm

Keywords: 042-deferred-20190918 added
Milestone: Tor: 0.4.2.x-finalTor: unspecified

Deferring various tickets from 0.4.2 to Unspecified.

Note: See TracTickets for help on using tickets.