[Bug 544361] New: lvm2-2.02.45-9.1.x86_64 brokes mkinitrd
http://bugzilla.novell.com/show_bug.cgi?id=544361 Summary: lvm2-2.02.45-9.1.x86_64 brokes mkinitrd Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: 64bit OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: paca@sci.fi QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.3) Gecko/20090909 SUSE/3.5.3-1.4 Firefox/3.5.3 I find that lvm2-2.02.45-9.1.x86_64 contains buggy script (lib/mkinitrd/scripts/setup-lvm2.sh) that copies /etc/sysconfig/vlm to file named $tmp_mnt/etc/sysconfig. It does not create directory first. After I added "mkdir $tmp_mnt/etc/sysconfig" before line 40: "cp -a /etc/sysconfig/lvm $tmp_mnt/etc/sysconfig" I was able to create initrd and boot. Theres lot of mkinitrd related bugs in tracker . Hope this is root cause for at least some of them. As following (setup-clock.sh setup-dm.sh ) mkinitrd/scripts are refering to $tmp_mnt/etc/sysconfig those problems could be could be related to this. Reproducible: Always Steps to Reproduce: 1.Updated from milestone 7 to milestone8 with (zypper dup) 2. see errors on console, find that initrd is not creted.tried to run mkinitrd by hand 3. edited ib/mkinitrd/scripts/setup-lvm2.sh 4. run mkinitrd -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544361
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=544361
User jplack@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544361#c1
--- Comment #1 from Joachim Plack
http://bugzilla.novell.com/show_bug.cgi?id=544361
User jplack@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544361#c2
Joachim Plack
http://bugzilla.novell.com/show_bug.cgi?id=544361
Joachim Plack
http://bugzilla.novell.com/show_bug.cgi?id=544361
User rodolfo_mv@libero.it added comment
http://bugzilla.novell.com/show_bug.cgi?id=544361#c3
Rodolfo Boer
This is most likely a duplicate of #525237 which happened in milestone 4!
I dont't think it's related to that bug. I've got this problem as well with root on a luks encrypted partition, no raid. I solved it just as the reporter did. setup-clock.sh and setup-dm.sh do a mkdir -p before writing the config. The lvm script does not and when it cats its config to $tmp_mnt/etc/sysconfig, if it hasn't already been created as a directory by an early script, sysconfig gets created as a file. This makes later script fail and the ramdisk is not created, making the system unbootable. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544361
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544361#c4
Stephan Kulow
participants (1)
-
bugzilla_noreply@novell.com