Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2116252

Summary: Ensure that the daemon log and run dir have correct permissions
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn22.06Assignee: Ales Musil <amusil>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: FDP 22.ECC: ctrautma, jiji, ralongi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn22.06-22.06.0-33.el9fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-11 13:02:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OVN Bot 2022-08-08 04:07:33 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2113855

Comment 3 Jianlin Shi 2022-09-21 07:23:01 UTC
Verified on ovn22.06-22.06.0-57.el9:

[root@dell-per740-66 bz2113855]# rpm -qa | grep -E "openvswitch2.17|ovn22.06"                         
openvswitch2.17-2.17.0-43.el9fdp.x86_64                                                               
ovn22.06-22.06.0-57.el9fdp.x86_64                                                                     
ovn22.06-central-22.06.0-57.el9fdp.x86_64                                                             
ovn22.06-host-22.06.0-57.el9fdp.x86_64 

[root@dell-per740-66 bz2113855]# bash -x rep.sh                                                       
+ rm -rf /var/log/ovn                                                                                 
+ mkdir /var/log/ovn                                                                                  
+ ls -ld /var/log/ovn                                                                                 
drwx------. 2 root root 6 Sep 21 03:22 /var/log/ovn                                                   
+ /usr/share/ovn/scripts/ovn-ctl --ovn-user=openvswitch start_controller                              
Starting ovn-controller.                                                                              
+ ls -ld /var/log/ovn                                                                                 
drwx------. 2 openvswitch openvswitch 32 Sep 21 03:22 /var/log/ovn

<=== owner is openvswitch

Comment 5 errata-xmlrpc 2022-10-11 13:02:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ovn22.06 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:6880