Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 825904] New: Kernel Packaging: Update Bootloader if&only if kernel installs OK
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 20 Jun 2013 10:06:12 +0000
  • Message-id: <>

Summary: Kernel Packaging: Update Bootloader if&only if kernel
installs OK
Classification: openSUSE
Product: openSUSE 12.3
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: joschibrauchle@xxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/28.0.1500.52 Safari/537.36

On a system with very limited hard disk space, the following situation occured:

1) Kernel update is installed via zypper, but harddisk is full:

From /var/log/zypp/history:
# 2013-06-20 00:05:07 kernel-desktop-3.7.10-1.16.1.x86_64.rpm installed ok
# Additional rpm output:
# Kernel image: /boot/vmlinuz-3.7.10-1.16-desktop
# Initrd image: /boot/initrd-3.7.10-1.16-desktop
# Root device: /dev/system/slash (mounted on / as ext4)
# /usr device: /dev/system/usr (mounted on /usr as ext4)
# Resume device: /dev/system/swap
# Kernel Modules: thermal_sys thermal processor fan dm-mod dm-snapshot
scsi_dh scsi_dh_hp_sw scsi_dh_rdac scsi_dh_alua scsi_dh_emc xhci-hcd
hid-logitech-dj linear
# Features: acpi dm plymouth block usb lvm2 resume.userspace
# cp: writing '/boot/initrd-3.7.10-1.16-desktop': No space left on device
# cp: failed to extend '/boot/initrd-3.7.10-1.16-desktop': No space left on
# Failed to install initrd
# There was an error generating the initrd (8)
00:05:07|install|kernel-desktop|3.7.10-1.16.1|x86_64||LNT:OpenSUSE12.3 OSS
Update LNT|f8ac7830bb425fbc79ac4b2b5760385c4fa6796d4b4b36dd3106bd78b6458672|

Problem: Why does it say "kernel-desktop-3.7.10-1.16.1.x86_64.rpm installed ok"
when clearly the initrd could not be created?

2) The bootloader is updated to default to the new kernel.
See /boot/grub/menu.lst:
default 0
timeout 2
...<cropped options>

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 12.3 - 3.7.10-1.16
root (hd0,0)
kernel /vmlinuz-3.7.10-1.16-desktop <cropped options>
initrd /initrd-3.7.10-1.16-desktop

Problem: System is unbootable (with this kernel) as initrd not working

Reproducible: Always

Steps to Reproduce:
1. Update kernel with not enough HD space available
2. Reboot

Actual Results:
System tries to boot new kernel although initrd missing

Expected Results:
RPM should notice that mkinitrd failed. Then, bootloader should not be updated
and package installation should fail.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups