[Bug 206368] New: mkinitrd-userspace-swsusp.diff breaks systems not configured for userspace swsusp
https://bugzilla.novell.com/show_bug.cgi?id=206368 Summary: mkinitrd-userspace-swsusp.diff breaks systems not configured for userspace swsusp Product: openSUSE 10.2 Version: Alpha 4 Platform: All OS/Version: SuSE Other Status: NEW Severity: Blocker Priority: P5 - None Component: Basesystem AssignedTo: seife@novell.com ReportedBy: rschiele@gmail.com QAContact: qa@suse.de CC: cthiel@novell.com mkinitrd-userspace-swsusp.diff has some missing double quotes that make systems crash (kernel oops) that have not configured userspace swsusp. This makes up at least some cases in bug #202079, maybe all of them. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 ------- Comment #1 from rschiele@gmail.com 2006-09-16 11:29 MST ------- Created an attachment (id=98878) --> (https://bugzilla.novell.com/attachment.cgi?id=98878&action=view) fixed version of mkinitrd-userspace-swsusp.diff This is a fixed version of /pub/mkinitrd-userspace-swsusp.diff. It also fixes broken major/minor numbers vor /dev/random and /dev/urandom not related to this bug. The differences are: --- mkinitrd-userspace-swsusp.diff 2006-09-16 19:17:14.000000000 +0200 +++ mkinitrd-userspace-swsusp.diff 2006-09-16 19:18:13.000000000 +0200 @@ -17,8 +17,8 @@ |mknod -m 0666 /dev/null c 1 3 |mknod -m 0600 /dev/kmsg c 1 11 + |mknod -m 0660 /dev/snapshot c 10 231 -+ |mknod -m 0666 /dev/random c 10 231 -+ |mknod -m 0644 /dev/urandom c 10 231 ++ |mknod -m 0666 /dev/random c 1 8 ++ |mknod -m 0644 /dev/urandom c 1 9 |mkdir -m 0755 /dev/pts |mkdir -m 1777 /dev/shm |ln -s /proc/self/fd /dev/fd @@ -27,7 +27,7 @@ |fi | + |# Verify userspace resume mode -+ |uresumedev=$(grep -i 'resume device' /etc/suspend.conf | sed -e 's/.*=[ \t]*//') ++ |uresumedev="$(grep -i 'resume device' /etc/suspend.conf | sed -e 's/.*=[ \t]*//')" + |if [ "\$resume_mode" != "off" -a -n "\$uresumedev" ]; then + | if [ -x /sbin/resume ]; then + | echo "Trying userspace resume from \$uresumedev" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 ------- Comment #2 from rschiele@gmail.com 2006-09-16 11:57 MST ------- Further inspections revealed that only my problem described in bug #202079 are related to this bug. The other descriptions there are unrelated to this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 rschiele@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-tux@gmx.de ------- Comment #3 from rschiele@gmail.com 2006-09-16 16:33 MST ------- *** Bug 206372 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 ------- Comment #5 from seife@novell.com 2006-09-17 15:13 MST ------- Robert, thanks for the report and the fix. This bug is really embarrassing for me :-) I submitted a fixed package and hope it will show up on factory soon. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Fixed in Milestone|--- |Alpha 3 plus -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 rschiele@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #6 from rschiele@gmail.com 2006-09-21 13:44 MST ------- Fixed now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pavel@novell.com ------- Comment #7 from seife@novell.com 2006-09-23 00:42 MST ------- JFTR: it is even fixed more correctly with Hannes' help - we now simply use the already established resume= parameter for uswsusp also and do not need the config file at all in the initrd. I should have had this idea myself :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206368 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com