Bug 854440

Summary: Group of /var/run/openvpn inconsistent between rpm entry and tmpfiles.d config file
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: openvpnAssignee: Steven Pritchard <steve>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: davids, gwync, huzaifas, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-17 17:53:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mamoru TASAKA 2012-09-05 04:26:13 UTC
Description of problem:
After reboot, rpm -V openvpn says:
......G..    /var/run/openvpn
i.e. group of /var/run/openvpn is not right.

$ ls -lad /var/run/openvpn
drwx--x---. 2 root openvpn 40 Sep  5 10:21 /var/run/openvpn
$ rpm -qlv openvpn | grep /var/run/
drwx--x---    2 root    root   0 Feb 14  2012 /var/run/openvpn

Actually the above 2 does not match.

openvpn.spec has the entry
%dir %{_localstatedir}/run/%{name}/
On the other hand, /etc/tmpfiles.d/openvpn.conf contains:
D /var/run/openvpn 0710 root openvpn -
Here group specification does not match.

Version-Release number of selected component (if applicable):
openvpn-2.2.2-4.fc17

How reproducible:
100%

Steps to Reproduce:
1. yum install openvpn
2. reboot
3. rpm -V openvpn
  
Actual results:
......G..    /var/run/openvpn

Expected results:
No rpm -V error


Additional info:
For the location of tmpfiles.d conf file, also see bug 840188 .

Comment 1 Fedora Update System 2012-09-05 13:52:10 UTC
openvpn-2.2.2-7.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openvpn-2.2.2-7.fc18

Comment 2 Fedora Update System 2012-09-05 13:52:25 UTC
openvpn-2.2.2-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/openvpn-2.2.2-7.fc17

Comment 3 Mamoru TASAKA 2012-09-05 14:12:04 UTC
Oh... changing summary

Comment 4 Gwyn Ciesla 2012-09-05 14:37:38 UTC
I assumed it was cloned. :)

Comment 5 Mamoru TASAKA 2012-09-06 03:50:48 UTC
(In reply to comment #2)
> openvpn-2.2.2-7.fc17 has been submitted as an update for Fedora 17.
> https://admin.fedoraproject.org/updates/openvpn-2.2.2-7.fc17

Seems to work, thank you. Note that
https://fedoraproject.org/wiki/Packaging:Tmpfiles.d
says that tmpfiles.d config file is NOT marked as %config,
however I think this is minor issue.

Comment 6 Gwyn Ciesla 2012-09-06 10:46:49 UTC
Fixed in rawhide.

Comment 7 Fedora Update System 2012-09-07 11:36:37 UTC
Package openvpn-2.2.2-7.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openvpn-2.2.2-7.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13484/openvpn-2.2.2-7.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-09-17 17:53:56 UTC
openvpn-2.2.2-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-09-17 21:58:44 UTC
openvpn-2.2.2-7.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.