Bug 1182785

Summary: Tracker for regular files in /var (incompatible with rpm-ostree)
Product: [Fedora] Fedora Reporter: Colin Walters <walters>
Component: distributionAssignee: Václav Pavlín <vpavlin>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dennis
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: 2016-07-19 12:39:09 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 Colin Walters 2015-01-15 22:08:10 UTC
The way rpm-(OSTree) is designed is that the /var directory is owned by the daemons and system administrator.  Upgrades and rollbacks will never affect it.

Now, many daemons need empty directories in /var.  rpm-ostree contains code to automatically synthesize systemd-tmpfiles snippets for them.  For these packages, a nicer thing to do is to stop shipping the directory (perhaps with a %ghost entry).

However, anything with non-empty regular files will not work.  The best solution here is to modify the code to not depend on one.  For example, glibc ships a /var/db/Makefile.  This could be replaced with a symbolic link to /usr/share/glibc/db/Makefile.  Or alternatively, suggest that administrators do:

make -f /usr/share/glibc/db/Makefile

Comment 1 Jaroslav Reznik 2015-03-03 16:43:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora End Of Life 2016-07-19 12:39:09 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.