This bug was fixed in the package linux-base - 4.5ubuntu3.5
---
linux-base (4.5ubuntu3.5) focal; urgency=medium
* Rewrite xx-update-initrd-links to use linux-update-symlinks. This will
now make installkernel behaviour match the linux-image-*.postinst
behaviour exactly with
This bug was fixed in the package linux-base - 4.5ubuntu1.6
---
linux-base (4.5ubuntu1.6) bionic; urgency=medium
* Rewrite xx-update-initrd-links to use linux-update-symlinks. This will
now make installkernel behaviour match the linux-image-*.postinst
behaviour exactly with
This bug was fixed in the package linux-base - 4.5ubuntu5.2
---
linux-base (4.5ubuntu5.2) hirsute; urgency=medium
* Rewrite xx-update-initrd-links to use linux-update-symlinks. This will
now make installkernel behaviour match the linux-image-*.postinst
behaviour exactly
bionic:
link_in_boot = no
# dpkg-query -W linux-base
linux-base 4.5ubuntu1.6
# Two regular flavours
# ls -latr / | grep -- '->' | grep boot | sort
lrwxrwxrwx 1 root root 31 Jun 23 14:18 vmlinuz.old ->
boot/vmlinuz-4.15.0-147-generic
lrwxrwxrwx 1 root root 34 Jun 23 14:18
bionic:
link_in_boot = yes
# dpkg-query -W linux-base
linux-base 4.5ubuntu1.6
# Two regular flavours
# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root 26 Jun 23 14:08 vmlinuz.old ->
vmlinuz-4.15.0-147-generic
lrwxrwxrwx 1 root root 29 Jun 23 14:08 initrd.img.old
@xnox
I see that the status for Bionic is still _Fix Committed_ but not _Fix
Released_. Am I not understanding this well enough ?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
focal:
link_in_boot = no
# dpkg-query -W linux-base
linux-base 4.5ubuntu3.5
# Two regular flavours
# ls -latr / | grep -- '->' | grep boot | sort
lrwxrwxrwx 1 root root 29 Jun 23 13:40 vmlinuz.old ->
boot/vmlinuz-5.4.0-78-generic
lrwxrwxrwx 1 root root 32 Jun 23 13:40
Focal:
link_in_boot = yes
# dpkg-query -W linux-base
linux-base 4.5ubuntu3.5
# Two regular flavours
# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root 24 Jun 23 11:18 vmlinuz.old ->
vmlinuz-5.4.0-78-generic
lrwxrwxrwx 1 root root 27 Jun 23 11:18 initrd.img.old ->
Hirsute:
link_in_boot = no
# dpkg-query -W linux-base
linux-base 4.5ubuntu5.2
# Two regular flavours
# ls -latr / | grep -- '->' | grep boot | sort
lrwxrwxrwx 1 root root 30 Jun 23 10:58 vmlinuz.old ->
boot/vmlinuz-5.11.0-23-generic
lrwxrwxrwx 1 root root 33 Jun 23 10:58
Hirsute:
link_in_boot = yes
# dpkg-query -W linux-base
linux-base 4.5ubuntu5.2
# Two regular flavours
# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root 25 Jun 23 10:46 vmlinuz.old ->
vmlinuz-5.11.0-23-generic
lrwxrwxrwx 1 root root 28 Jun 23 10:46 vmlinuz ->
@fmalfoy it was fixed with the 06-04 round of sru updates.
Does the new linux-base from proposed not resolve the reported
regressions for you?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
Is something going to be done to fix the regressions reported for Bionic
and Focal ?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates
Hello Fabien, or anyone else affected,
Accepted linux-base into hirsute-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/linux-
base/4.5ubuntu5.2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
Hello Fabien, or anyone else affected,
Accepted linux-base into focal-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/linux-
base/4.5ubuntu3.5 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
Hello Fabien, or anyone else affected,
Accepted linux-base into bionic-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/linux-
base/4.5ubuntu1.6 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
** Tags removed: regression-update
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates incorrect symlinks
Status in linux-base package in
This bug was fixed in the package linux-base - 4.5ubuntu8
---
linux-base (4.5ubuntu8) impish; urgency=medium
* Rewrite xx-update-initrd-links to use linux-update-symlinks. This will
now make installkernel behaviour match the linux-image-*.postinst
behaviour exactly with
Testing again, but without initramfs-tools installed, and with kernel-
img.conf set to do_initrd = yes and link_in_boot = no
End result is this:
# ls -l /vmlinu* /initrd.img* /boot/initrd.img*
ls: cannot access '/boot/initrd.img*': No such file or directory
lrwxrwxrwx 1 root root 53 May 28 10:30
Redid the test case with initramfs-tools installed and the updated
linux-base patch.
Installed generic, links pointed at generic.
Installed lowlatency, old pointed at generic and the current links pointed at
lowlatency.
Installed a kernel using installkernel script to /boot, old points at
** Patch added: "lp1929255.patch"
https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1929255/+attachment/5500691/+files/lp1929255.patch
** Patch removed: "lp1929255.patch"
https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1929255/+attachment/5500663/+files/lp1929255.patch
aha, my xx-update-initrd-links lost executable bit again. need to fix that up
in my packaging.
But also invalidates my previous test a bit.
# installkernel 5.13.0-051300rc3daily20210526-generic
./linux/boot/vmlinuz-5.13.0-051300rc3daily20210526-generic
# dpkg-query -W initramfs-tools linux-base
initramfs-tools 0.140ubuntu4
linux-base 4.5ubuntu8
# cat /etc/kernel-img.conf
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
# ls -latr / | grep '> boot'
# apt install linux-generic
# ls -l / | grep '> boot'
lrwxrwxrwx 1
** Description changed:
[Impact]
## Problem description
Executing the `/etc/kernel/postinst.d/xx-update-initrd-links` script
incorrectly detects symbolic links targets and then creates malformed
(hence broken) ones instead:
/initrd.img ->
** Description changed:
+ [Impact]
+
## Problem description
Executing the `/etc/kernel/postinst.d/xx-update-initrd-links` script
incorrectly detects symbolic links targets and then creates malformed
(hence broken) ones instead:
/initrd.img ->
Untested yet, but here is a proposed patch which hopefully will fix
installkernel in all link_in_boot modes, without regressing anything.
** Patch added: "lp1929255.patch"
https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1929255/+attachment/5500663/+files/lp1929255.patch
--
You
But we do call linux-update-symlinks in the maintainer scripts.
why doesn't installkernel call that, horum.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
On a given system we can have the following symlinks
/vmlinuz.old -> boot/vmlinuz-4.15.0-144-lowlatency
/vmlinuz -> boot/vmlinuz-4.15.0-144-generic
/boot/vmlinuz.old -> vmlinuz-4.15.0-144-lowlatency
/boot/vmlinuz -> vmlinuz-4.15.0-144-generic
which is controlled by /etc/kernel-img.conf setting
linux-update-symlinks install 4.15.0-144-generic
/boot/vmlinuz-4.15.0-144-generic => generates correct symlinks for
vmlinuz{.old} with both link_in_boot and without link_in_boot.
I am confused how come Debian kernels call linux-update-symlinks and
Ubuntu kernels (and upstream) do not.
--
You
Sure, I proposed the patch as a quick fix that would allow users to get
things running back again shortly. But if there are more academic ways
to workaround this, feel free to give me pointers.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed
Proposed patch looks good to me.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates incorrect symlinks
Status in linux-base package in
I'm also not sure why that script exists at all in the current form.
I would have thought we could switch to linux package themselves to call
linux-update-symlinks like it is done in debian.
Or at least not reimplement the wheel and just call linux-update-
symlinks directly.
--
You received
** Tags removed: regresion-proposed
** Tags added: regression-proposed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates incorrect symlinks
** Tags added: regresion-proposed regression-update
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates incorrect symlinks
Status in
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: linux-base (Ubuntu Bionic)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
** Also affects: linux-base (Ubuntu Bionic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates
Related to https://bugs.launchpad.net/ubuntu/+source/linux-
base/+bug/1877088
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates incorrect
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: linux-base (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
** Tags added: patch
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-base in Ubuntu.
https://bugs.launchpad.net/bugs/1929255
Title:
update-initrd-links creates incorrect symlinks
Status in linux-base package in Ubuntu:
New
38 matches
Mail list logo