Bug 1033089

Summary: Don't install radvd.conf into /etc/tmpfiles.d/
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: radvdAssignee: Pavel Šimerda (pavlix) <psimerda>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpopelka, psimerda
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 15:19:29 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:
Attachments:
Description Flags
sugested patch none

Description Jiri Popelka 2013-11-21 14:24:25 UTC
Created attachment 827233 [details]
sugested patch

1) radvd installs radvd.conf into /etc/tmpfiles.d/

according to tmpfiles.d(5):
"Packages should install their configuration files in /usr/lib/. Files in /etc/
 are reserved for the local administrator, who may use this logic to override
 the configuration files installed by vendor packages."

You can use %{_tmpfilesdir} macro for that.

2) radvd owns /var/run/radvd/

according to
https://lists.fedoraproject.org/pipermail/devel-announce/2010-November/000726.html
"Many .spec files currently own subdirs of /var/run. These need to be
 updated to %ghost those dirs only, so that the automatic removal of
 these files/dirs on boot doesnt cause rpm to complain."

Comment 1 Jiri Popelka 2013-11-27 19:01:01 UTC
(In reply to Jiri Popelka from comment #0)
> 2) radvd owns /var/run/radvd/
> 
> according to
> https://lists.fedoraproject.org/pipermail/devel-announce/2010-November/
> 000726.html
> "Many .spec files currently own subdirs of /var/run. These need to be
>  updated to %ghost those dirs only, so that the automatic removal of
>  these files/dirs on boot doesnt cause rpm to complain."

You can scratch this because according to
https://fedorahosted.org/fesco/ticket/525
it's actually better not to %ghost the directory

Comment 2 Pavel Šimerda (pavlix) 2014-01-06 15:19:29 UTC

*** This bug has been marked as a duplicate of bug 984330 ***