Activity log for bug #1877088

Date Who What changed Old value New value Message
2020-05-06 10:49:25 bugproxy bug added bug
2020-05-06 10:49:27 bugproxy tags architecture-s39064 bugnameltc-185794 severity-high targetmilestone-inin2004
2020-05-06 10:49:29 bugproxy ubuntu: assignee Skipper Bug Screeners (skipper-screen-team)
2020-05-06 10:49:34 bugproxy affects ubuntu linux (Ubuntu)
2020-05-06 10:59:17 Heinz-Werner Seeck summary installkernel script does not symlink /boot/initrd.img which is required with the default zipl.conf [UBUNTU 20.04] installkernel script does not symlink /boot/initrd.img which is required with the default zipl.conf
2020-05-06 11:53:52 Frank Heimes bug task added ubuntu-z-systems
2020-05-06 11:55:08 Frank Heimes linux (Ubuntu): assignee Skipper Bug Screeners (skipper-screen-team) Canonical Kernel Team (canonical-kernel-team)
2020-05-06 11:55:23 Frank Heimes ubuntu-z-systems: assignee Skipper Bug Screeners (skipper-screen-team)
2020-05-06 11:55:35 Frank Heimes ubuntu-z-systems: importance Undecided High
2020-05-06 13:17:18 Dimitri John Ledkov affects linux (Ubuntu) linux-base (Ubuntu)
2020-05-06 18:11:06 Terry Rudd bug added subscriber Terry Rudd
2020-05-11 09:32:32 Frank Heimes ubuntu-z-systems: status New Triaged
2020-05-13 14:43:12 Frank Heimes bug added subscriber Canonical Kernel Team
2020-05-19 18:40:37 Sultan Alsawaf bug added subscriber Sultan Alsawaf
2020-05-22 08:01:00 Frank Heimes ubuntu-z-systems: status Triaged Incomplete
2020-06-02 13:30:03 Dimitri John Ledkov bug task added debianutils (Ubuntu)
2020-06-25 13:12:28 Frank Heimes ubuntu-z-systems: status Incomplete Triaged
2020-12-04 14:54:21 Stefan Bader attachment added Copy to /etc/kernel/postinst.d/xx-update-initrd-links https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1877088/+attachment/5441001/+files/xx-update-initrd-links
2020-12-04 16:48:51 Stefan Bader bug added subscriber Stefan Bader
2020-12-17 14:27:13 Stefan Bader attachment added hirsute-linux-base.debdiff https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1877088/+attachment/5444512/+files/hirsute-linux-base.debdiff
2020-12-17 14:27:32 Stefan Bader linux-base (Ubuntu): importance Undecided Medium
2020-12-17 14:27:32 Stefan Bader linux-base (Ubuntu): status New In Progress
2020-12-17 14:27:32 Stefan Bader linux-base (Ubuntu): assignee Canonical Kernel Team (canonical-kernel-team) Stefan Bader (smb)
2020-12-17 16:33:24 Ubuntu Foundations Team Bug Bot tags architecture-s39064 bugnameltc-185794 severity-high targetmilestone-inin2004 architecture-s39064 bugnameltc-185794 patch severity-high targetmilestone-inin2004
2020-12-17 17:03:01 Frank Heimes ubuntu-z-systems: status Triaged In Progress
2021-02-03 15:14:03 Stefan Bader attachment added Proposed hirsute change (v2) https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1877088/+attachment/5459430/+files/hirsute-linux-base.debdiff
2021-04-14 09:42:39 Krzysztof Kozlowski description When testing development kernels I usually rely on the installkernel script either through the "make install" target of the Kernel source or manually. This used to work great on Ubuntu on Z. On Ubuntu 20.04 (freshly installed up to date) this fails however because /boot/initrd.img is not updated (/boot/vmlinuz is) and thus zipl installs the wrong kernel/initrd combination rendering the system unbootable. (with the correct modules already copied to /usr/lib/modules/5.7.0-rc4-06500-gb67ea026badd/) # sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd update-initramfs: Generating /boot/initrd.img-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. run-parts: executing /etc/kernel/postinst.d/zz-zipl 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. # ls -l /boot total 178364 -rw------- 1 root root 135168 May 6 11:52 bootmap -rw-r--r-- 1 root root 90471 Apr 29 15:34 config-5.4.0-29-generic lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img -> initrd.img-5.4.0-29-generic <====== should point to new version -rw-r--r-- 1 root root 19663996 May 6 11:42 initrd.img-5.4.0-29-generic -rw-r--r-- 1 root root 125339494 May 6 11:52 initrd.img-5.7.0-rc4-06500-gb67ea026badd lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img.old -> initrd.img-5.4.0-29-generic -rw------- 1 root root 3087920 Apr 29 15:34 System.map-5.4.0-29-generic -rw-r--r-- 1 root root 4031691 May 6 11:52 System.map-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 4031691 May 6 11:49 System.map-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 37 May 6 11:52 vmlinuz -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw------- 1 root root 8086072 Apr 29 15:54 vmlinuz-5.4.0-29-generic -rw-r--r-- 1 root root 9080832 May 6 11:52 vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 9080832 May 6 11:49 vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 41 May 6 11:52 vmlinuz.old -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old [Impact] * initrd link is not updated when using installkernel or "make install" from kernel sources. This leads to boot failure after installing a new kernel with mentioned methods because the kernel does not match initrd. * It's a regression because for Focal it was working before. * Issue was reproduced also on Bionic. * The proposed fixed by Stefan Bader adds a hook in /etc/kernel/postinst.d/ so installkernel will relink the initrd. The kernel DEB packages should not be affected. [Test Plan] When testing development kernels I usually rely on the installkernel script either through the "make install" target of the Kernel source or manually. This used to work great on Ubuntu on Z. On Ubuntu 20.04 (freshly installed up to date) this fails however because /boot/initrd.img is not updated (/boot/vmlinuz is) and thus zipl installs the wrong kernel/initrd combination rendering the system unbootable. (with the correct modules already copied to /usr/lib/modules/5.7.0-rc4-06500-gb67ea026badd/) # sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd update-initramfs: Generating /boot/initrd.img-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. run-parts: executing /etc/kernel/postinst.d/zz-zipl 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. # ls -l /boot total 178364 -rw------- 1 root root 135168 May 6 11:52 bootmap -rw-r--r-- 1 root root 90471 Apr 29 15:34 config-5.4.0-29-generic lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img -> initrd.img-5.4.0-29-generic <====== should point to new version -rw-r--r-- 1 root root 19663996 May 6 11:42 initrd.img-5.4.0-29-generic -rw-r--r-- 1 root root 125339494 May 6 11:52 initrd.img-5.7.0-rc4-06500-gb67ea026badd lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img.old -> initrd.img-5.4.0-29-generic -rw------- 1 root root 3087920 Apr 29 15:34 System.map-5.4.0-29-generic -rw-r--r-- 1 root root 4031691 May 6 11:52 System.map-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 4031691 May 6 11:49 System.map-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 37 May 6 11:52 vmlinuz -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw------- 1 root root 8086072 Apr 29 15:54 vmlinuz-5.4.0-29-generic -rw-r--r-- 1 root root 9080832 May 6 11:52 vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 9080832 May 6 11:49 vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 41 May 6 11:52 vmlinuz.old -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old [Where problems could occur] * Installing kernel via: installkernel or "make install", so mostly kernel developer environments
2021-04-14 09:42:55 Krzysztof Kozlowski nominated for series Ubuntu Focal
2021-04-14 09:42:55 Krzysztof Kozlowski bug task added debianutils (Ubuntu Focal)
2021-04-14 09:42:55 Krzysztof Kozlowski bug task added linux-base (Ubuntu Focal)
2021-04-14 09:42:55 Krzysztof Kozlowski nominated for series Ubuntu Hirsute
2021-04-14 09:42:55 Krzysztof Kozlowski bug task added debianutils (Ubuntu Hirsute)
2021-04-14 09:42:55 Krzysztof Kozlowski bug task added linux-base (Ubuntu Hirsute)
2021-04-14 09:42:55 Krzysztof Kozlowski nominated for series Ubuntu Bionic
2021-04-14 09:42:55 Krzysztof Kozlowski bug task added debianutils (Ubuntu Bionic)
2021-04-14 09:42:55 Krzysztof Kozlowski bug task added linux-base (Ubuntu Bionic)
2021-04-14 09:43:24 Krzysztof Kozlowski tags architecture-s39064 bugnameltc-185794 patch severity-high targetmilestone-inin2004 architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004
2021-04-14 09:46:51 Krzysztof Kozlowski description [Impact] * initrd link is not updated when using installkernel or "make install" from kernel sources. This leads to boot failure after installing a new kernel with mentioned methods because the kernel does not match initrd. * It's a regression because for Focal it was working before. * Issue was reproduced also on Bionic. * The proposed fixed by Stefan Bader adds a hook in /etc/kernel/postinst.d/ so installkernel will relink the initrd. The kernel DEB packages should not be affected. [Test Plan] When testing development kernels I usually rely on the installkernel script either through the "make install" target of the Kernel source or manually. This used to work great on Ubuntu on Z. On Ubuntu 20.04 (freshly installed up to date) this fails however because /boot/initrd.img is not updated (/boot/vmlinuz is) and thus zipl installs the wrong kernel/initrd combination rendering the system unbootable. (with the correct modules already copied to /usr/lib/modules/5.7.0-rc4-06500-gb67ea026badd/) # sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd update-initramfs: Generating /boot/initrd.img-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. run-parts: executing /etc/kernel/postinst.d/zz-zipl 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. # ls -l /boot total 178364 -rw------- 1 root root 135168 May 6 11:52 bootmap -rw-r--r-- 1 root root 90471 Apr 29 15:34 config-5.4.0-29-generic lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img -> initrd.img-5.4.0-29-generic <====== should point to new version -rw-r--r-- 1 root root 19663996 May 6 11:42 initrd.img-5.4.0-29-generic -rw-r--r-- 1 root root 125339494 May 6 11:52 initrd.img-5.7.0-rc4-06500-gb67ea026badd lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img.old -> initrd.img-5.4.0-29-generic -rw------- 1 root root 3087920 Apr 29 15:34 System.map-5.4.0-29-generic -rw-r--r-- 1 root root 4031691 May 6 11:52 System.map-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 4031691 May 6 11:49 System.map-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 37 May 6 11:52 vmlinuz -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw------- 1 root root 8086072 Apr 29 15:54 vmlinuz-5.4.0-29-generic -rw-r--r-- 1 root root 9080832 May 6 11:52 vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 9080832 May 6 11:49 vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 41 May 6 11:52 vmlinuz.old -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old [Where problems could occur] * Installing kernel via: installkernel or "make install", so mostly kernel developer environments [Impact] * initrd link is not updated when using installkernel or "make install" from kernel sources. This leads to boot failure after installing a new kernel with mentioned methods because the kernel does not match initrd. * It's a regression because for Focal it was working before. * Issue was reproduced also on Bionic. * The proposed fixed by Stefan Bader adds a hook in /etc/kernel/postinst.d/ so installkernel will relink the initrd. The kernel DEB packages should not be affected. [Test Plan] * Build a kernel * sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot * Check if /boot/initrd or /initrd symlink to the new initrd [Where problems could occur] * Installing kernel via: installkernel or "make install", so mostly kernel developer environments [Other info from developer] When testing development kernels I usually rely on the installkernel script either through the "make install" target of the Kernel source or manually. This used to work great on Ubuntu on Z. On Ubuntu 20.04 (freshly installed up to date) this fails however because /boot/initrd.img is not updated (/boot/vmlinuz is) and thus zipl installs the wrong kernel/initrd combination rendering the system unbootable. (with the correct modules already copied to /usr/lib/modules/5.7.0-rc4-06500-gb67ea026badd/) # sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd update-initramfs: Generating /boot/initrd.img-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. run-parts: executing /etc/kernel/postinst.d/zz-zipl 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. # ls -l /boot total 178364 -rw------- 1 root root 135168 May 6 11:52 bootmap -rw-r--r-- 1 root root 90471 Apr 29 15:34 config-5.4.0-29-generic lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img -> initrd.img-5.4.0-29-generic <====== should point to new version -rw-r--r-- 1 root root 19663996 May 6 11:42 initrd.img-5.4.0-29-generic -rw-r--r-- 1 root root 125339494 May 6 11:52 initrd.img-5.7.0-rc4-06500-gb67ea026badd lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img.old -> initrd.img-5.4.0-29-generic -rw------- 1 root root 3087920 Apr 29 15:34 System.map-5.4.0-29-generic -rw-r--r-- 1 root root 4031691 May 6 11:52 System.map-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 4031691 May 6 11:49 System.map-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 37 May 6 11:52 vmlinuz -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw------- 1 root root 8086072 Apr 29 15:54 vmlinuz-5.4.0-29-generic -rw-r--r-- 1 root root 9080832 May 6 11:52 vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 9080832 May 6 11:49 vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 41 May 6 11:52 vmlinuz.old -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old
2021-04-14 09:49:59 Krzysztof Kozlowski description [Impact] * initrd link is not updated when using installkernel or "make install" from kernel sources. This leads to boot failure after installing a new kernel with mentioned methods because the kernel does not match initrd. * It's a regression because for Focal it was working before. * Issue was reproduced also on Bionic. * The proposed fixed by Stefan Bader adds a hook in /etc/kernel/postinst.d/ so installkernel will relink the initrd. The kernel DEB packages should not be affected. [Test Plan] * Build a kernel * sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot * Check if /boot/initrd or /initrd symlink to the new initrd [Where problems could occur] * Installing kernel via: installkernel or "make install", so mostly kernel developer environments [Other info from developer] When testing development kernels I usually rely on the installkernel script either through the "make install" target of the Kernel source or manually. This used to work great on Ubuntu on Z. On Ubuntu 20.04 (freshly installed up to date) this fails however because /boot/initrd.img is not updated (/boot/vmlinuz is) and thus zipl installs the wrong kernel/initrd combination rendering the system unbootable. (with the correct modules already copied to /usr/lib/modules/5.7.0-rc4-06500-gb67ea026badd/) # sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd update-initramfs: Generating /boot/initrd.img-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. run-parts: executing /etc/kernel/postinst.d/zz-zipl 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. # ls -l /boot total 178364 -rw------- 1 root root 135168 May 6 11:52 bootmap -rw-r--r-- 1 root root 90471 Apr 29 15:34 config-5.4.0-29-generic lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img -> initrd.img-5.4.0-29-generic <====== should point to new version -rw-r--r-- 1 root root 19663996 May 6 11:42 initrd.img-5.4.0-29-generic -rw-r--r-- 1 root root 125339494 May 6 11:52 initrd.img-5.7.0-rc4-06500-gb67ea026badd lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img.old -> initrd.img-5.4.0-29-generic -rw------- 1 root root 3087920 Apr 29 15:34 System.map-5.4.0-29-generic -rw-r--r-- 1 root root 4031691 May 6 11:52 System.map-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 4031691 May 6 11:49 System.map-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 37 May 6 11:52 vmlinuz -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw------- 1 root root 8086072 Apr 29 15:54 vmlinuz-5.4.0-29-generic -rw-r--r-- 1 root root 9080832 May 6 11:52 vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 9080832 May 6 11:49 vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 41 May 6 11:52 vmlinuz.old -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old [Impact] * initrd link is not updated when using installkernel or "make install" from kernel sources. This leads to boot failure after installing a new kernel with mentioned methods because the kernel does not match initrd. * It's a regression because for Focal it was working before. * Issue was reproduced also on Bionic. * The proposed fixed by Stefan Bader adds a hook in /etc/kernel/postinst.d/ so installkernel will relink the initrd. The kernel DEB packages should not be affected. * The solution from Stefan (first patch) was tested by the bug reporter (Niklas.Schnelle@ibm.com). [Test Plan] * Build a kernel * sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot * Check if /boot/initrd or /initrd symlink to the new initrd [Where problems could occur] * Installing kernel via: installkernel or "make install", so mostly kernel developer environments [Other info from developer] When testing development kernels I usually rely on the installkernel script either through the "make install" target of the Kernel source or manually. This used to work great on Ubuntu on Z. On Ubuntu 20.04 (freshly installed up to date) this fails however because /boot/initrd.img is not updated (/boot/vmlinuz is) and thus zipl installs the wrong kernel/initrd combination rendering the system unbootable. (with the correct modules already copied to /usr/lib/modules/5.7.0-rc4-06500-gb67ea026badd/) # sudo installkernel 5.7.0-rc4-06500-gb67ea026badd bzImage System.map /boot run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd update-initramfs: Generating /boot/initrd.img-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. run-parts: executing /etc/kernel/postinst.d/zz-zipl 5.7.0-rc4-06500-gb67ea026badd /boot/vmlinuz-5.7.0-rc4-06500-gb67ea026badd Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu' Adding #1: IPL section 'ubuntu' (default) Adding #2: IPL section 'old' Preparing boot device: dasda (3844). Done. # ls -l /boot total 178364 -rw------- 1 root root 135168 May 6 11:52 bootmap -rw-r--r-- 1 root root 90471 Apr 29 15:34 config-5.4.0-29-generic lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img -> initrd.img-5.4.0-29-generic <====== should point to new version -rw-r--r-- 1 root root 19663996 May 6 11:42 initrd.img-5.4.0-29-generic -rw-r--r-- 1 root root 125339494 May 6 11:52 initrd.img-5.7.0-rc4-06500-gb67ea026badd lrwxrwxrwx 1 root root 27 May 6 11:40 initrd.img.old -> initrd.img-5.4.0-29-generic -rw------- 1 root root 3087920 Apr 29 15:34 System.map-5.4.0-29-generic -rw-r--r-- 1 root root 4031691 May 6 11:52 System.map-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 4031691 May 6 11:49 System.map-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 37 May 6 11:52 vmlinuz -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw------- 1 root root 8086072 Apr 29 15:54 vmlinuz-5.4.0-29-generic -rw-r--r-- 1 root root 9080832 May 6 11:52 vmlinuz-5.7.0-rc4-06500-gb67ea026badd -rw-r--r-- 1 root root 9080832 May 6 11:49 vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old lrwxrwxrwx 1 root root 41 May 6 11:52 vmlinuz.old -> vmlinuz-5.7.0-rc4-06500-gb67ea026badd.old
2021-04-14 11:20:09 Alberto Milone bug added subscriber Ubuntu SRU developers
2021-04-14 13:32:48 Launchpad Janitor linux-base (Ubuntu Hirsute): status In Progress Fix Released
2021-04-14 15:32:51 Frank Heimes bug task deleted debianutils (Ubuntu)
2021-04-14 15:33:02 Frank Heimes bug task deleted debianutils (Ubuntu Hirsute)
2021-04-14 15:33:24 Frank Heimes bug task deleted debianutils (Ubuntu Focal)
2021-04-14 15:33:31 Frank Heimes bug task deleted debianutils (Ubuntu Bionic)
2021-04-23 14:02:50 Timo Aaltonen linux-base (Ubuntu Focal): status New Fix Committed
2021-04-23 14:02:52 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2021-04-23 14:02:54 Timo Aaltonen bug added subscriber SRU Verification
2021-04-23 14:05:17 Timo Aaltonen linux-base (Ubuntu Bionic): status New Fix Committed
2021-04-26 05:03:32 Frank Heimes ubuntu-z-systems: status In Progress Fix Committed
2021-04-28 07:33:17 Frank Heimes tags architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 verification-failed-focal
2021-05-18 08:19:03 Chris Halse Rogers linux-base (Ubuntu Hirsute): status Fix Released Fix Committed
2021-05-18 10:09:59 Frank Heimes tags architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 verification-failed-focal architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004
2021-05-25 11:57:47 Dimitri John Ledkov tags architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 verification-failed-bionic
2021-05-26 10:40:26 Dimitri John Ledkov tags architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 verification-failed-bionic architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 verification-failed-bionic verification-failed-focal verification-failed-hirsute
2021-06-14 18:08:32 Frank Heimes tags architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 verification-failed-bionic verification-failed-focal verification-failed-hirsute architecture-s39064 bionic bugnameltc-185794 focal hirsute installkernel patch severity-high targetmilestone-inin2004 verification-done-bionic verification-done-focal verification-done-hirsute
2021-06-29 08:00:39 Launchpad Janitor linux-base (Ubuntu Hirsute): status Fix Committed Fix Released
2021-06-29 08:00:48 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2021-06-29 08:01:32 Launchpad Janitor linux-base (Ubuntu Focal): status Fix Committed Fix Released
2021-06-29 08:05:39 Launchpad Janitor linux-base (Ubuntu Bionic): status Fix Committed Fix Released
2021-06-29 08:17:18 Frank Heimes ubuntu-z-systems: status Fix Committed Fix Released