[ovs-git] [openvswitch/ovs] 7e089f: rhel: fix log directory permissions
GitHub
noreply at github.com
Wed Oct 18 19:29:25 UTC 2017
Branch: refs/heads/branch-2.8
Home: https://github.com/openvswitch/ovs
Commit: 7e089f62150be78b1c97d95e1591119c78d5051b
https://github.com/openvswitch/ovs/commit/7e089f62150be78b1c97d95e1591119c78d5051b
Author: Aaron Conole <aconole at redhat.com>
Date: 2017-10-18 (Wed, 18 Oct 2017)
Changed paths:
M rhel/openvswitch-fedora.spec.in
Log Message:
-----------
rhel: fix log directory permissions
When the logrotate script runs, and Open vSwitch is running as a non-root
user, the /var/log/openvswitch directory doesn't have other rx bits set.
This means the reopen attempt will fail with "permission denied", even though
the default logrotate configuration creates a new log file with the
appropriate attributes.
This change sets the r/x bits for other on /var/log/openvswitch
Signed-off-by: Aaron Conole <aconole at redhat.com>
Tested-by: Jean Hsiao <jhsiao at redhat.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Acked-by: Markos Chandras <mchandras at suse.de>
Acked-by: Timothy Redaelli <tredaelli at redhat.com>
Signed-off-by: Russell Bryant <russell at ovn.org>
More information about the git
mailing list