[Bug 217751] New: /etc/sysconfig/bootloader IS optional
https://bugzilla.novell.com/show_bug.cgi?id=217751 Summary: /etc/sysconfig/bootloader IS optional Product: openSUSE 10.2 Version: Beta 1 plus Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: jplack@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de /etc/sysconfig/bootloader is installed by yast2-bootloader. but perl-Bootloader barfs if the file is not there. add somthing like if test ! -f /etc/sysconfig/bootloader ; then exit 0 ; then to the perl scripts. 150:kernel-default ########################################### [100%] Setting up /lib/modules/2.6.18.1-14-default Root device: /dev/hda9 (mounted on / as ext3) Module list: pci:v00001106d00000571sv00000000sd00000000bc01sc01i8f (xennet xenblk) Kernel image: /boot/vmlinux-2.6.18.1-14-default Initrd image: /boot/initrd-2.6.18.1-14-default Shared libs: lib/ld-2.5.so lib/libblkid.so.1.0 lib/libc-2.5.so lib/libcom_err.so.2.1 lib/libdl-2.5.so lib/libext2fs.so.2.4 lib/libhistory.so.5.1 lib/libncurses.so. 5.5 lib/libpthread-2.5.so lib/libreadline.so.5.1 lib/librt-2.5.so lib/libutil-2.5.so lib/libuuid.so.1.2 lib/libvolume_id.so.0.73.0 lib/libnss_files-2.5.so lib/libnss_ files.so.2 lib/libgcc_s.so.1 Driver modules: via82cxxx Filesystem modules: Including: initramfs fsck.ext3 11215 blocks You may now have to update your boot loader configuration. sh: /etc/sysconfig/bootloader: No such file or directory Cannot determine the loader type at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 271. sh: /etc/sysconfig/bootloader: No such file or directory Cannot determine the loader type at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 271. error: %post(kernel-default-2.6.18.1-14.ppc) scriptlet failed, exit status 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217751 ------- Comment #1 from olh@novell.com 2006-11-03 08:14 MST ------- simply because an unconfigured file makes zero difference: rpm -Uvh /mounts/dist/kerneltest/ppc/HEAD/kernel-default.ppc.rpm Preparing... ########################################### [100%] 1:kernel-default ########################################### [100%] Setting up /lib/modules/2.6.18.1-20061102142452-default Root device: /dev/hda9 (mounted on / as ext3) Module list: pci:v00001106d00000571sv00000000sd00000000bc01sc01i8f (xennet xenblk) Kernel image: /boot/vmlinux-2.6.18.1-20061102142452-default Initrd image: /boot/initrd-2.6.18.1-20061102142452-default Shared libs: lib/ld-2.5.so lib/libblkid.so.1.0 lib/libc-2.5.so lib/libcom_err.so.2.1 lib/libdl-2.5.so lib/libext2fs.so.2.4 lib/libhistory.so.5.1 lib/libncurses.so.5.5 lib/libpthread-2.5.so lib/libreadline.so.5.1 lib/librt-2.5.so lib/libutil-2.5.so lib/libuuid.so.1.2 lib/libvolume_id.so.0.73.0 lib/libnss_files-2.5.so lib/libnss_files.so.2 lib/libgcc_s.so.1 Driver modules: via82cxxx Filesystem modules: Including: initramfs fsck.ext3 11217 blocks You may now have to update your boot loader configuration. ERROR: Bootloader::Library::SetLoaderType: Initializing for unknown bootloader ERROR: Bootloader::Core::ListFiles: Running generic function, it should never be called ERROR: Bootloader::Core::ParseLines: Running generic function, it should never be called Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 610. ERROR: Bootloader::Library::SetLoaderType: Initializing for unknown bootloader ERROR: Bootloader::Core::ListFiles: Running generic function, it should never be called ERROR: Bootloader::Core::ParseLines: Running generic function, it should never be called ERROR: Bootloader::Library::SetLoaderType: Initializing for unknown bootloader ERROR: Bootloader::Core::ListFiles: Running generic function, it should never be called ERROR: Bootloader::Core::ParseLines: Running generic function, it should never be called Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 610. ERROR: Bootloader::Library::SetLoaderType: Initializing for unknown bootloader ERROR: Bootloader::Core::ListFiles: Running generic function, it should never be called ERROR: Bootloader::Core::ParseLines: Running generic function, it should never be called ERROR: Bootloader::Library::SetLoaderType: Initializing for unknown bootloader ERROR: Bootloader::Core::ListFiles: Running generic function, it should never be called ERROR: Bootloader::Core::ParseLines: Running generic function, it should never be called Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/vendor_perl/5.8.8/Bootloader/Tools.pm line 610. ERROR: Bootloader::Library::SetLoaderType: Initializing for unknown bootloader ERROR: Bootloader::Core::ListFiles: Running generic function, it should never be called ERROR: Bootloader::Core::ParseLines: Running generic function, it should never be called -- 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=217751 jplack@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #2 from jplack@novell.com 2006-11-14 04:59 MST ------- /etc/sysconfig/bootloader is mandatory. If you do not have a working bootloader configured, adding a bootloader entry will never work, nor could it in any way. Starting with 10.2. bootloader_entry will - on request - never return an error and will leave your unbootable system in an unbootable state -- 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=217751 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- 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