Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1149761
Summary: | root login in emergency mode shows errors | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Zbigniew Jędrzejewski-Szmek <zbyszek> | ||||
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 21 | CC: | admiller, johannbg, jsynacek, kdudka, kzak, lnykryn, msekleta, ooprala, ovasik, p, s, systemd-maint, twaugh, vpavlin, zbyszek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | coreutils-8.21-22.fc20 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-11-01 16:21:48 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
Zbigniew Jędrzejewski-Szmek
2014-10-06 14:57:21 UTC
I wonder... Does this mean that systemd should remount / as rw before running emergency.service? No, we shouldn't remount anything for the sake of some broken script. Sorry for the terseness of this bug report, it was more of a note to self while debugging a different issue. I think we should investigate what scripts give those warnings and file bugs in appropriate places. The thing with $TMP looks like a bash programming error, and the other thing can probably be fixed with a redirect do /dev/null. The culprit is /etc/profile.d/colorls.sh, line 35 and 38. Ok, can be done better way - although ro /tmp will likely cause other things to fail as well... Created attachment 946731 [details]
patch
(In reply to Ondrej Vasik from comment #4) > Ok, can be done better way - although ro /tmp will likely cause other things > to fail as well... Yes, bash completion barfs errors everytime TAB is pressed. Zbyszek, shouldn't emergency mode mount /tmp? coreutils-8.22-19.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/coreutils-8.22-19.fc21 In normal setup, /tmp is tmpfs, and mounting it is fine. But /tmp could be a real filesystem, and than mounting it could hold down a partition and interfere with the tasks that one does in emergency mode. Yet another issue is that if / is mounted rw, and /tmp is *not* mounted, various scripts will scribble in the /tmp dir anyway. So maybe we should mount it, since otherwise people will get warnings about mounting over a non-empty directory. I'm not sure. Package coreutils-8.22-19.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing coreutils-8.22-19.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12937/coreutils-8.22-19.fc21 then log in and leave karma (feedback). coreutils-8.22-19.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. coreutils-8.21-22.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/coreutils-8.21-22.fc20 coreutils-8.21-22.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |