[Bug 810840] New: After upgrade of opensuse 12.2 to 12.3 system is unable to find dmraid root partition (underscore changed to minus)
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c0 Summary: After upgrade of opensuse 12.2 to 12.3 system is unable to find dmraid root partition (underscore changed to minus) Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: alexander.haensch@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 Somewhere between opensuse 12.2 and 12.3 the naming scheme of dmraid partitions was changed. In our case the initial scheme was xxx_yyyy_part1 Now it is xxx_yyyy-part1 neither the fstab nor the grub/menu.lst was patched acordingly! The consequence is a unbootable system. Reproducible: Always Steps to Reproduce: 1. upgrade to 12.3 2. reboot 3. system boot stops Actual Results: unbootable system Expected Results: bootable system -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c1 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fehr@suse.com --- Comment #1 from Jiri Srain <jsrain@suse.com> 2013-03-22 07:20:42 UTC --- Thomas, since you are familiar with DMraid, was this rename intentional, or is it some sort of a bug? I fear that this will be spread over openSUSE quite heavily and there will be a lot of packages which need to update their scripts, since one cannot rely on YaST for 'zypper dup'... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c2 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aschnell@suse.com InfoProvider|fehr@suse.com |nfbrown@suse.com --- Comment #2 from Arvin Schnell <aschnell@suse.com> 2013-03-22 09:09:44 UTC --- I can also see the change in the names of the device mapper tables for Intel Software RAID. Neil should know the reason. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c3 Thomas Fehr <fehr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fehr@suse.com --- Comment #3 from Thomas Fehr <fehr@suse.com> 2013-03-22 09:50:40 UTC --- Problem could be caused by difference in /etc/udev/rules.d/70-kpartx.rules between 12.2 and 12.3 See the following diff: ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="DMRAID-*|dmraid-*", \ - RUN+="/sbin/kpartx -u -p _part /dev/$kernel" + RUN+="/sbin/kpartx -u -p -part /dev/$kernel" No idea when this rule is triggered you need to ask udev and dmraid maintainer if this could be really cause for the trouble but I would bet on it. Fund no other references to "_part" in libstorage, yast2-storage, udev and dmraid. Workaround would be to replace _part with -part in /etc/fstab and (if resent) /etc/crypttab before update. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c4 --- Comment #4 from Alexander Haensch <alexander.haensch@gmail.com> 2013-03-22 10:09:06 UTC --- my workaround was to edit /boot/grub/menu.lst and /etc/fstab to the new naming scheme. Now the machine boots fine. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c5 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nfbrown@suse.com InfoProvider|nfbrown@suse.com |hare@suse.com --- Comment #5 from Neil Brown <nfbrown@suse.com> 2013-03-25 07:00:11 UTC --- This change is part of the "multipath-tools" package that Hannes maintains. I thought he was doing something about it, but I might have misunderstood and don't recall the details. Hannes - do that change "_part" to "-part" in the kpartx udev rule ring any bells? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c7 Hannes Reinecke <hare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |hare@suse.com InfoProvider|hare@suse.com | --- Comment #7 from Hannes Reinecke <hare@suse.com> 2013-10-02 08:32:51 UTC --- This is _actually_ an issue with libstorage. libstorage is using the '_' as a separator for the partitions, whereas upstream is using a '-'. This requires us to _always_ carry around a non-standard patch converting minus to underscore, which will never go upstream at all. So I would _very much_ have it fixed in libstorage, as then we can just use the upstream version without any SUSE-specific patches. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c8 Hannes Reinecke <hare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hasecomp@yahoo.com --- Comment #8 from Hannes Reinecke <hare@suse.com> 2013-10-02 08:34:14 UTC --- *** Bug 812316 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=812316 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c10 --- Comment #10 from Arvin Schnell <aschnell@suse.com> 2013-10-07 07:48:08 UTC --- I can adjust libstorage/yast2-storage to the changed naming schema but I cannot do anything to fix the update since YaST might not even be run during an update. Fixing fstab et.al. should be done by some post-install script, e.g. in the RPM one including the udev rule. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c11 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|aschnell@suse.com |hare@suse.com --- Comment #11 from Arvin Schnell <aschnell@suse.com> 2013-10-11 12:43:01 UTC --- I have adapted libstorage/yast2-storage to the device name change. A new installation seems to work (I have no real hardware but created a BIOS RAID inside VirtualBox). Update should still be broken but that's not fixable in libstorage. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-25 15:00:15 CEST --- This is an autogenerated message for OBS integration: This bug (810840) was mentioned in https://build.opensuse.org/request/show/204799 13.1 / libstorage https://build.opensuse.org/request/show/204800 13.1 / yast2-storage -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c13 --- Comment #13 from Hannes Reinecke <hare@suse.com> 2014-01-07 09:01:58 UTC --- Created an attachment (id=573444) --> (http://bugzilla.novell.com/attachment.cgi?id=573444) kpartx-compability-rules.patch Add compability links for older installations. Please copy the rules file to /etc/udev/rules.d/71-kpartx-compat.rules. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c14 Hannes Reinecke <hare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #14 from Hannes Reinecke <hare@suse.com> 2014-01-07 09:06:09 UTC --- With the above rules file both type of links will be created (with underscore and with minus), so older installations will continue to work. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c15 --- Comment #15 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-01-07 11:00:09 CET --- This is an autogenerated message for OBS integration: This bug (810840) was mentioned in https://build.opensuse.org/request/show/212985 12.3 / multipath-tools -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c16 Hannes Reinecke <hare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #16 from Hannes Reinecke <hare@suse.com> 2014-01-07 10:06:49 UTC --- Updated multipath-tools rpm submitted for 12.3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c17 Hannes Reinecke <hare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josua.m@t-online.de --- Comment #17 from Hannes Reinecke <hare@suse.com> 2014-01-07 12:12:48 UTC --- *** Bug 768859 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=768859 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c18 --- Comment #18 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-01-07 14:00:13 CET --- This is an autogenerated message for OBS integration: This bug (810840) was mentioned in https://build.opensuse.org/request/show/213008 13.1 / multipath-tools -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c19 --- Comment #19 from Swamp Workflow Management <swamp@suse.de> 2014-01-14 12:04:23 UTC --- openSUSE-RU-2014:0053-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 810840 CVE References: Sources used: openSUSE 13.1 (src): multipath-tools-0.4.9-11.4.1 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=810840 https://bugzilla.novell.com/show_bug.cgi?id=810840#c20 --- Comment #20 from Swamp Workflow Management <swamp@suse.de> 2014-01-14 12:05:16 UTC --- openSUSE-RU-2014:0057-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 810840 CVE References: Sources used: openSUSE 12.3 (src): multipath-tools-0.4.9-7.5.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com