Bug 656602
Summary: | Please Update Spec File to use %ghost on files in /var/run and /var/lock | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | iarlyy, jonathan, notting, pebolle, plautrba, rvokal | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | http://lists.fedoraproject.org/pipermail/devel-announce/2010-November/000726.html | ||||||
Whiteboard: | |||||||
Fixed In Version: | initscripts-9.23-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-12-02 19:31:59 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 827166 | ||||||
Attachments: |
|
Description
Lennart Poettering
2010-11-23 23:31:25 UTC
0) This must explain these messages: $ /sbin/ifdown eth0 ./network-functions: line 190: cd: /var/run/netreport: No such file or directory $ /sbin/ifup eth0 ./network-functions: line 190: cd: /var/run/netreport: No such file or directory 1) Further info: $ rpm -qf /var/run/netreport initscripts-9.22-2.fc15.i686 $ rpm -q initscripts -l | grep /var/run/netreport /var/run/netreport 2) Current specfile is: http://pkgs.fedoraproject.org/gitweb/?p=initscripts.git;a=blob;f=initscripts.spec;h=d9647693d5119be5d6ed6251eabdcf440b725eb1;hb=884d2ff0092ff279650e05255cb00276dc31cd37 It uses "%dir" for /var/run/netreport and not "%ghost". (I have no idea what would happen if the specfile did use "%ghost" for /var/run/netreport . But at least a search for the above messages will now lead to this bugreport.) > 2) Current specfile is:
>
> http://pkgs.fedoraproject.org/gitweb/?p=initscripts.git;a=blob;f=initscripts.spec;h=d9647693d5119be5d6ed6251eabdcf440b725eb1;hb=884d2ff0092ff279650e05255cb00276dc31cd37
> It uses "%dir" for /var/run/netreport and not "%ghost".
%ghost is not needed. There is missing tmpfiles.d configuration file.
Created attachment 463722 [details]
add tmpfiles.d configuration file
This patch adds /etc/tmpfiles.d/initscripts.conf.
Files /var/run/utmp, /var/log/wtmp, /var/log/btmp which belongs to initscripts package are already created via /etc/tmpfiles.d/systemd.conf but I think that they should be created here
Added in git, will show up in the next day or two. Thanks! |