Bug 953426
Summary: | dracut creates non working initramfs if /var/tmp mounted noexec | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | GV <rhel> | ||||
Component: | dracut | Assignee: | dracut-maint | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | dracut-maint, harald, jonathan | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-04-23 03:38:00 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: | |||||||
Attachments: |
|
Description
GV
2013-04-18 08:05:34 UTC
Created attachment 737196 [details]
Screenshot
It seems that the problem occurs only if /var/tmp is bind mounted to /tmp. Since this configuration works in F18 it would be nice to also work in F19. List of files in initramfs (/usr/lib64 directory only): usr/lib64/libc.so.6 usr/lib64/libc-2.17.so usr/lib64/libnss_files.so.2 usr/lib64/libnss_files-2.17.so usr/lib64/libtinfo.so.5.9 usr/lib64/libdl.so.2 usr/lib64/ld-2.17.so usr/lib64/ld-linux-x86-64.so.2 usr/lib64/libdl-2.17.so usr/lib64/libtinfo.so.5 I was wrong. Is not because of bind mount but because /tmp (and /var/tmp) being mounted noexec (also nosuid and nodev). Still, this works fine in F18. OK, it's not dracut fault but ldd. Maybe you should print an error/warning message if tmpdir directory is mounted noexec. I'm going to fill a bugreport for glibc. Still, ldd has the same behaviour in F18. I cannot understand this... No need to file a bugreport for glibc. dracut-027-36.git20130418.fc19 > No need to file a bugreport for glibc. Yes, ldd will refuse to print dependencies if partition is mounted noexec. I don't know why I had the impression that it still prints something. Anyway... > dracut-027-36.git20130418.fc19 Works fine now. Thank you. dracut-027-36.git20130418.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dracut-027-36.git20130418.fc19 Package dracut-027-36.git20130418.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dracut-027-36.git20130418.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-6011/dracut-027-36.git20130418.fc19 then log in and leave karma (feedback). dracut-027-36.git20130418.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |