[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-29 Thread Launchpad Bug Tracker
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-29 Thread Launchpad Bug Tracker
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-29 Thread Launchpad Bug Tracker
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-23 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-23 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-23 Thread Fabien Malfoy
@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.

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-23 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-23 Thread Dimitri John Ledkov
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 ->

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-23 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-23 Thread Dimitri John Ledkov
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 ->

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-22 Thread Dimitri John Ledkov
@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.

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-08 Thread Fabien Malfoy
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-04 Thread Timo Aaltonen
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-04 Thread Timo Aaltonen
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-04 Thread Timo Aaltonen
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-02 Thread Mathew Hodson
** 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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-06-01 Thread Launchpad Bug Tracker
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-28 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-28 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-27 Thread Dimitri John Ledkov
** 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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-27 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-27 Thread Dimitri John Ledkov
# 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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-27 Thread Dimitri John Ledkov
** 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 ->

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-27 Thread Dimitri John Ledkov
** 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 ->

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-27 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-26 Thread Dimitri John Ledkov
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:

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-26 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-26 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Fabien Malfoy
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Krzysztof Kozlowski
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Dimitri John Ledkov
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Fabien Malfoy
** 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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Dimitri John Ledkov
** 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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Launchpad Bug Tracker
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.

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Louis Bouchard
** 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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-25 Thread Fabien Malfoy
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

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-24 Thread Launchpad Bug Tracker
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.

[Kernel-packages] [Bug 1929255] Re: update-initrd-links creates incorrect symlinks

2021-05-21 Thread Ubuntu Foundations Team Bug Bot
** 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