| Summary: | febootstrap-supermin-helper: ext2fs_mkdir: /var/lock/lvm: Ext2 inode is not a directory | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> | ||||
| Component: | febootstrap | Assignee: | Richard W.M. Jones <rjones> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | mbooth, rjones, virt-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | febootstrap-3.4-2.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-04-25 02:40:48 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Richard W.M. Jones
2011-04-20 07:32:04 UTC
Created attachment 493366 [details]
/usr/lib64/guestfs/supermin.d/hostfiles
The relevant section is: /var/lock /var/lock/lvm /var/lock/subsys [...] /var/run If /var/lock on the host is a symbolic link to /var/run, then when creating the ext2 image we will create /var/lock -> /var/run, then try to populate /var/lock (eg. /var/lock/lvm) but because /var/run doesn't exist yet this operation will fail. The failure would be consistent with the error seen. (In reply to comment #2) > The relevant section is: > > /var/lock > /var/lock/lvm > /var/lock/subsys > [...] > /var/run > > If /var/lock on the host is a symbolic link to /var/run, then > when creating the ext2 image we will create /var/lock -> /var/run, > then try to populate /var/lock (eg. /var/lock/lvm) but because > /var/run doesn't exist yet this operation will fail. The > failure would be consistent with the error seen. This explanation is not quite correct. /var/lock is a symlink to -> /run/lock /run/lock *does* exist. However the febootstrap-supermin-helper ext2 handling code tries to create the lvm object inside /var/lock which is a symlink (not a directory) and ext2 library barfs at this. Verified this bug happens on a brand new F15 beta install. Adding the following patch to febootstrap fixes the problem for me: http://git.annexia.org/?p=febootstrap.git;a=commitdiff;h=b6cce31ec4d8232d6400fe4fe915f53d285a3b4f Also fix was verified by mgoldmann. febootstrap-3.4-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/febootstrap-3.4-2.fc15 Package febootstrap-3.4-2.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing febootstrap-3.4-2.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/febootstrap-3.4-2.fc15 then log in and leave karma (feedback). febootstrap-3.4-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |