Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1101983 - Run %tmpfiles_create in post-installation script
Summary: Run %tmpfiles_create in post-installation script
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-28 09:50 UTC by Pavel Raiskup
Modified: 2014-05-28 10:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-28 10:38:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2014-05-28 09:50:39 UTC
Turns out to be good idea to run %tmpfiles_create in systemd's %post.  It
guarantees that all packages requiring 'systemd' (which should be at least
exactly those packages which are using %{_tmpfilesdir}) have always prepared
common directories like /run/lock (in mock build, yum installroot, etc.).
Thanks msekleta for discussion!

Relevant bz: bug 1052932, bug 1101325, bug 980100 ...

Also, it would be fine if /run/lock directory was %ghost owned by systemd.


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