Bug 975864
Summary: | yum should not create $installroot/var/run | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Harald Hoyer <harald> |
Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | admiller, ffesti, firas.alkafri, james.antill, jzeleny, kay, lpoetter, npmccallum, ovasik, packaging-team-maint, snnw, tim.lauridsen, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | yum-3.4.3-137.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-28 18:29:50 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
Harald Hoyer
2013-06-19 13:30:39 UTC
Note: Things in general must be *very* careful when creating anything in the empty and fresh root directory. The filesystem.rpm sets up a couple of symlinks to directories, blindly creating real directories instead of symlinks here will break setups. *** Bug 982276 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20 *** Bug 1053983 has been marked as a duplicate of this bug. *** Is there anything preventing patch from https://bugzilla.redhat.com/attachment.cgi?id=850861&action=diff (essentially the same as Comment #1) from being applied? IMO it's okay.. When /var/run is a symlink (the common case), this change is a no-op. User cachedir locking is not an issue too, as we use only basename(lockfile). James, do you know of a use case this might break? Patch isn't terrible as is (just change path to /run/yum.pid) ... it might be better to not call makedirs() in _lock, and just give up (don't create lock file, or create it in cachedir, and carry on). yum-3.4.3-135.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-135.fc20 yum-3.4.3-135.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/yum-3.4.3-135.fc19 Package yum-3.4.3-135.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-3.4.3-135.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2482/yum-3.4.3-135.fc20 then log in and leave karma (feedback). yum-3.4.3-137.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. yum-3.4.3-137.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |