Status: New
Owner: ----
New issue 789 by [email protected]: sample logrotate conf does not
reflect split-user
http://code.google.com/p/ganeti/issues/detail?id=789
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.5) 2.9.5
$ gnt-cluster version
Software version: 2.9.5
Internode protocol: 2090000
Configuration format: 2090000
OS api version: 20
Export interface: 0
VCS version: v2.9.5
$ hspace --version
hspace (ganeti) version v2.9.5
compiled with ghc 7.6
running on linux x86_64
What distribution are you using?
$ cat /etc/*-release
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
What steps will reproduce the problem?
1. build ganeti with a split-user setup (--with-user-prefix=
--with-group-prefix=)
2. install sample doc/examples/ganeti.logrotate
3. run logrotate
What is the expected output? What do you see instead?
Expected is that logfiles have proper owner/group/permissions. Instead new
created logfiles are owned by root:root with mode 0640 -> Ganeti daemons
are unable to log.
Please provide any additional information below.
Attached is a "works for me" logrotate conf. Probably this can be
parameterized for the correct user/group names.
Thanks, Sascha.
Attachments:
logrotate.conf 1.6 KB
--
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