Bug 1045704
Summary: | 99-resume.rules is generating a udev error | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sitsofe Wheeler <sitsofe> | ||||||
Component: | dracut | Assignee: | dracut-maint-list | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 20 | CC: | chris, collura, didierg-divers, dracut-maint-list, igeorgex, jcarpenter, jonathan, jorgeml, keramidasceid, maxantispam, michael.monreal, red, sergio.pasra, shpnft, stevea12345, vg.aetera, vskcode, watanabe.yu, wolfgang.rupprecht, zbyszek | ||||||
Target Milestone: | --- | Keywords: | Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | dracut-037-10.git20140402.fc20 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-04-06 02:36:41 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
Sitsofe Wheeler
2013-12-21 11:02:58 UTC
I forgot to say, there is also a little weirdness in /dev : $ ls -l /dev/dev/resume lrwxrwxrwx. 1 root root 10 Dec 21 10:33 /dev/dev/resume -> ../../sda3 The symlink is broken because /sda3 doesn't exist. Created attachment 841248 [details]
fix
This patch fix the bug.
The command: printf -- "%s" " RUN+=\"/sbin/initqueue --finished --unique --name 00resume echo %%M:%%m > /sys/power/resume\"\n" localized in line 62 of /usr/lib/dracut/modules.d/95resume/parse-resume.sh print: RUN+="/sbin/initqueue --finished --unique --name 00resume echo %%M:%%m > /sys/power/resume"\n with \n instead of a newline character. The patch change the command to: printf -- "%s\n" " RUN+=\"/sbin/initqueue --finished --unique --name 00resume echo %%M:%%m > /sys/power/resume\"" that print: RUN+="/sbin/initqueue --finished --unique --name 00resume echo %%M:%%m > /sys/power/resume" with a newline character after the ". The unknown key '\nSYMLINK' is due the \n of the unpatched code. Sorry, english is not my preferred language... I arrive on this bug because running rkhunter I get following warning: [23:35:07] Checking for GasKit Rootkit... [23:35:07] Checking for file '/dev/dev/gaskit/sshd/sshdd' [ Not found ] [23:35:07] Checking for directory '/dev/dev' [ Found ] [23:35:07] Checking for directory '/dev/dev/gaskit' [ Not found ] [23:35:08] Checking for directory '/dev/dev/gaskit/sshd' [ Not found ] [23:35:08] Warning: GasKit Rootkit [ Warning ] [23:35:08] Directory '/dev/dev' found I assume this warning from rkhunter is a side effect of comment 1 (In reply to Didier G from comment #4) > I arrive on this bug because running rkhunter I get following warning: > > [23:35:07] Checking for GasKit Rootkit... > [23:35:07] Checking for file '/dev/dev/gaskit/sshd/sshdd' [ Not found ] > [23:35:07] Checking for directory '/dev/dev' [ Found ] > [23:35:07] Checking for directory '/dev/dev/gaskit' [ Not found ] > [23:35:08] Checking for directory '/dev/dev/gaskit/sshd' [ Not found ] > [23:35:08] Warning: GasKit Rootkit [ Warning ] > [23:35:08] Directory '/dev/dev' found > > I assume this warning from rkhunter is a side effect of comment 1 The /dev/dev/resume symbolic link bug (bug 1045116) is corrected upstream http://git.kernel.org/cgit/boot/dracut/dracut.git/commit?id=bb1ba3a1ca9dd6284f6319eb197de4a757a7f99d and is not related to error message about 99-resume.rules seen in journalctl -b. Can you paste your comment in the bug 1045116? Thanks in advance Created attachment 848296 [details]
patch for modules.d/95resume/parse-resume.sh
This patch actually fixes the problem, not just the warning.
I confirm this patch works as intended. Hi there, isn't this a duplicate of bug #1045116 ? Moreover, it seems to have been fixed upstream, yesterday. So could you please apply upstream patch? (In reply to MaxiPunkt from comment #8) > isn't this a duplicate of bug #1045116 ? No, it's a separate bug. *** Bug 1063838 has been marked as a duplicate of this bug. *** I found and tried an update build of dracut at koji. http://koji.fedoraproject.org/koji/buildinfo?buildID=492985 The updated package seems to be work well. Why this update have not pushed to the update-testing repository? I downloaded and tested the packages from koji too and they work for me as well. dracut-034-64.git20131205.fc20.1.x86_64 still seems to be the latest official release? dracut-037-10.git20140402.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dracut-037-10.git20140402.fc20 Package dracut-037-10.git20140402.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 dracut-037-10.git20140402.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4704/dracut-037-10.git20140402.fc20 then log in and leave karma (feedback). dracut-037-10.git20140402.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |