Bug 1223467
| Summary: | Suppress subvolume creation from tmpfiles when doing installroots | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Colin Walters <walters> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | johannbg, jsynacek, lnykryn, msekleta, s, suckfish, systemd-maint, zbyszek |
| 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-02-10 14:19:18 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-05-20 15:03:11 UTC
(The actual problem that breaks rpm-ostree is it tries to clean up its chroot afterwards and a normal recursive removal fails with a read-only subvolume /var/tmp/chroot/var/lib/machines) Mock has already been patched to deal with this, see https://bugzilla.redhat.com/show_bug.cgi?id=1205564. Also, see my original post regarding tmpfiles to the systemd-devel: http://lists.freedesktop.org/archives/systemd-devel/2015-April/030036.html Cleaning them up afterwards helps but they should not be created in the first place. I followed upon the thread http://lists.freedesktop.org/archives/systemd-devel/2015-May/032140.html Well, I simply disagree. Either prohibit them in your build environment (using seccomp), or learn to clean them up. Is there any chance that the /var/lib/machines sub vol only be created when it is actually used? For me it is just a useless unused annoyance. I don't know how other people feel about the machines they admin, but my attitude to btrfs sub vols is similar to real-on-disk-filesystems - I want to be in control of these, and having some OS package attempting to enforce its ideas about these on everyone, is quite unwelcome. This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 Quite some time ago tmpfiles has been changed to create new subvols only if the root dir is a subvol too. THis should fix your issue. |