[Bug 435538] New: Starting YOU in a linux32 environment corrupts installation of x86-64 system
https://bugzilla.novell.com/show_bug.cgi?id=435538 Summary: Starting YOU in a linux32 environment corrupts installation of x86-64 system Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Critical Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andreas@schweigstill.de QAContact: jsrain@novell.com Found By: Community User I accidentally started YOU (Yast Online Update) in a linux32 environment which had been inherited by the root shell. It showed that no online updates were available for the current installation. When closing YOU it said that there were lots of updates which have been selected automatically. I acknowledged this and YOU tries to replace the 64bit programs with 32bit programs. After some time YOU crashed because it could not find /bin/bash anymore. A reboot also isn't possible because init can't find some libraries. After a hard reset the system is completely unusable. The behaviour mentioned above can be reproduced on another computer with openSUSE 11.0. With best regards Andreas Schweigstill -- 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=435538 User mseben@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=435538#c1 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mseben@novell.com Status|NEW |NEEDINFO Info Provider| |andreas@schweigstill.de --- Comment #1 from Michal Seben <mseben@novell.com> 2008-10-15 02:41:38 MDT --- Please attach y2logs. If you are in doubt follow: http://en.opensuse.org/Bugs/YaST Thanks! -- 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=435538 User andreas@schweigstill.de added comment https://bugzilla.novell.com/show_bug.cgi?id=435538#c2 Andreas Schweigstill <andreas@schweigstill.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andreas@schweigstill.de | --- Comment #2 from Andreas Schweigstill <andreas@schweigstill.de> 2008-10-16 07:09:42 MDT --- Created an attachment (id=245970) --> (https://bugzilla.novell.com/attachment.cgi?id=245970) Output file generated by save_y2logs, from defective 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=435538 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |jsuchome@novell.com -- 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=435538 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |zypp-maintainers@forge.provo.novell.com Component|YaST2 |libzypp QAContact|jsrain@novell.com |qa@suse.de -- 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=435538 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=435538#c3 --- Comment #3 from Michael Schröder <mls@novell.com> 2008-10-20 04:51:51 MDT --- Maybe we should complain if personality(0xffffffff) doesn't return PER_LINUX. (Yes, the kernel really tests for 0xffffffff and not (unsigned long)-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=435538 User andreas@schweigstill.de added comment https://bugzilla.novell.com/show_bug.cgi?id=435538#c4 --- Comment #4 from Andreas Schweigstill <andreas@schweigstill.de> 2008-10-21 03:35:59 MDT ---
(Yes, the kernel really tests for 0xffffffff and not (unsigned long)-1)
And it's even worse: the parameter of personality() has to be an unsigned long but personality() returns only a (signed...) int. This is really awful, especially because a long has different sizes on 32/64bit environment. So a "safe" implementation of personality() should check against 0xffffffff and 0xffffffffffffffff, or it should consider only the lowest 32bit regardless of the parameter length. But such API changes should be discussed on a kernel mailing list and not here... -- 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=435538 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=435538#c8 --- Comment #8 from Michael Schröder <mls@novell.com> 2008-11-04 09:39:22 MST --- Hmm, there might be some use cases where installing with some personality should work, i.e. if zypper is used in a chroot environment. A personality test needs to check for that. -- 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