[ovs-dev] [PATCH] rhel: fix log directory permissions
russell at ovn.org
Wed Oct 18 19:30:11 UTC 2017
On Fri, Sep 22, 2017 at 9:44 AM, Aaron Conole <aconole at redhat.com> wrote:
> 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/messages
> Signed-off-by: Aaron Conole <aconole at redhat.com>
> Tested-by: Jean Hsiao <jhsiao at redhat.com>
> rhel/openvswitch-fedora.spec.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for the patch! I applied this to master and branch-2.8.
More information about the dev