[ovs-dev] [PATCH] rhel: fix log directory permissions

Flavio Leitner fbl at sysclose.org
Tue Sep 26 16:58:20 UTC 2017


On Mon, 25 Sep 2017 14:42:48 -0400
Aaron Conole <aconole at redhat.com> wrote:

> Flavio Leitner <fbl at sysclose.org> writes:
> 
> > On Fri, 22 Sep 2017 09:44:18 -0400
> > 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  
> >
> > /var/log/openvswitch? :-)  
> 
> D'oh!  Let's blame it on the problem between the keyboard and chair.

Old habits die hard

-- 
Flavio



More information about the dev mailing list