Bug 1033089 - Don't install radvd.conf into /etc/tmpfiles.d/
Summary: Don't install radvd.conf into /etc/tmpfiles.d/
Keywords:
Status: CLOSED DUPLICATE of bug 984330
Alias: None
Product: Fedora
Classification: Fedora
Component: radvd
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Pavel Šimerda (pavlix)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 14:24 UTC by Jiri Popelka
Modified: 2014-01-06 15:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-06 15:19:29 UTC
Type: Bug


Attachments (Terms of Use)
sugested patch (1.04 KB, patch)
2013-11-21 14:24 UTC, Jiri Popelka
no flags Details | Diff

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 ***


Note You need to log in before you can comment on or make changes to this bug.