Status: New
Owner: ----
New issue 631 by
simon.de...@gmail.com: logrotate unknown option 'su'
http://code.google.com/p/ganeti/issues/detail?id=631
* What software version are you running? Please provide the output of "gnt-
cluster --version", "gnt-cluster version", and "hspace --version".
# gnt-cluster --version
gnt-cluster (ganeti v2.9.1) 2.9.1
# gnt-cluster version
Software version: 2.9.1
Internode protocol: 2090000
Configuration format: 2090000
OS api version: 20
Export interface: 0
VCS version: v2.9.1
# hspace --version
hspace (ganeti) version v2.9.1
compiled with ghc 7.4
running on linux x86_64
* What distribution are you using?
Ubuntu using your Ganeti PPA package.
# lsb_release -rd
Description: Ubuntu 12.04.3 LTS
Release: 12.04
# uname -m
x86_64
* What steps will reproduce the problem?
1. Install the package "ganeti" from Ganeti team PPA
2. Wait for the daily logrotate
3. Check cron emails
* What is the expected output? What do you see instead?
No cron emails should be sent but I got this error:
/etc/cron.daily/logrotate:
error: ganeti:10 unknown option 'su' -- ignoring line
error: ganeti:10 unexpected text
* Please provide any additional information below.
The logrotate job is like this:
# cat /etc/logrotate.d/ganeti
/var/log/ganeti/*.log {
weekly
missingok
rotate 52
notifempty
compress
delaycompress
create 640
sharedscripts
su root root
postrotate
/usr/lib/ganeti/daemon-util rotate-all-logs
endscript
}
I think the "su root root" part should be dropped and use "create 640 root
root" instead.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings