[Kernel-packages] [Bug 2045586] Re: livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable

2024-02-18 Thread Michael Hudson-Doyle
** Description changed: - In mantic, we migrated livecd-rootfs to use losetup -P instead of - kpartx, with the expectation that this would give us a reliable, race- - free way of loop-mounting partitions from a disk image during image - build. + [impact] + In mantic, we migrated livecd-rootfs to u

[Kernel-packages] [Bug 2045586] Re: livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable

2024-02-18 Thread Michael Hudson-Doyle
Here is a backport of the partial fix to jammy https://code.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd- rootfs/+merge/460729 I'm not sure I am best placed to update this bug description to match the SRU template though -- I'm not sure which builds are being affected in practice and so shoul

[Kernel-packages] [Bug 2045586] Re: livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable

2024-01-30 Thread Michael Hudson-Doyle
Oh wait, we've been through something very like this before https://bugs.launchpad.net/cloud-initramfs-tools/+bug/1834875. I suspect a judicious application of flock may be the most correct solution available. -- You received this bug notification because you are a member of Kernel Packages, whic

[Kernel-packages] [Bug 2045586] Re: livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable

2024-01-24 Thread Michael Hudson-Doyle
Here's my workaround then https://code.launchpad.net/~mwhudson/livecd- rootfs/+git/livecd-rootfs/+merge/459380 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2045586 Title: livecd-rootfs

[Kernel-packages] [Bug 2045586] Re: livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable

2024-01-23 Thread Michael Hudson-Doyle
Amazing debugging Dann. Until we can get a kernel fix, what's the way forward here? Run losetup without -P, run udevadm settle, run partprobe on the device (then maybe run udevadm settle again??) -- You received this bug notification because you are a member of Kernel Packages, which is subscribe

Re: [Kernel-packages] [Bug 2045586] Re: livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable in noble

2023-12-11 Thread Michael Hudson-Doyle
> Is only asking kernel to scan the device; to then generate "kernel udev" > events; for then udev to wakeup and process/emit "udev udev" events; and > create the required device nodes. > It's not udev that creates nodes like /dev/loop1p1 though is it? That's devtmpfs surely. -- You received thi

[Kernel-packages] [Bug 2037417] Re: mantic images after 20230917 are failing to deploy with failure to mount root and kernel filesystems

2023-10-04 Thread Michael Hudson-Doyle
Ah no it's a bit simpler than that https://github.com/util-linux/util- linux/issues/2528. --disable-libmount-mountfd-support looking better tbh. ** Bug watch added: github.com/util-linux/util-linux/issues #2528 https://github.com/util-linux/util-linux/issues/2528 -- You received this bug not

[Kernel-packages] [Bug 2037417] Re: mantic images after 20230917 are failing to deploy with failure to mount root and kernel filesystems

2023-10-04 Thread Michael Hudson-Doyle
So the cause of this, I am fairly sure, is the new "libmount-mountfd" support in util-linux which seems to have the consequence that "mount -o remount $mountpoint" fails for an overlay that references paths no longer available in the current mount namespace. You can see the discussion of a similar

[Kernel-packages] [Bug 2037417] Re: mantic images after 20230917 are failing to deploy with failure to mount root and kernel filesystems

2023-10-04 Thread Michael Hudson-Doyle
** Also affects: util-linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2037417 Title: mantic images after 20230917 are failing to

[Kernel-packages] [Bug 2037417] Re: mantic images after 20230917 are failing to deploy with failure to mount root and kernel filesystems

2023-10-04 Thread Michael Hudson-Doyle
** Tags added: foundaitions-todo ** Tags removed: foundaitions-todo ** Tags added: foundations-todo -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2037417 Title: mantic images after 202

[Kernel-packages] [Bug 2002427] Re: Subiquity segfault in ARM64 with -64k Kernel

2023-01-10 Thread Michael Hudson-Doyle
** No longer affects: linux (Ubuntu) ** Also affects: snapcraft Importance: Undecided Status: New ** Summary changed: - Subiquity segfault in ARM64 with -64k Kernel + classic snaps do not work on ARM64 kernel configured to use 64k pages -- You received this bug notification because y

[Kernel-packages] [Bug 1998308] Re: copy_file_range fails with EXDEV on copy to or from tmpfs

2022-11-30 Thread Michael Hudson-Doyle
Digging a bit suggests this is a result of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.18.y&id=b9cabd2ec2ff6f452bd5744326cc5c5f503448c6? At any rate, not a glibc issue. ** Package changed: glibc (Ubuntu) => linux (Ubuntu) -- You received this bug notificati

[Kernel-packages] [Bug 1996474] Re: Subiquity installer crashes after the custom partitioning is created

2022-11-13 Thread Michael Hudson-Doyle
By reading the LVM source I found that unpartitioned CDL formatted DASDs cannot be included in a LVM volume group. So I guess we should update the interface to prohibit their use! I would expect that if you add a single partition to dasdb and put that in the VG instead things will work. -- You re

[Kernel-packages] [Bug 1992468] Re: segfault in ld-linux-x86-64.so

2022-11-10 Thread Michael Hudson-Doyle
The change to omit DT_HASH was only in 2.36 and so was only present in kinetic/22.10, and then only briefly as we patched it before release. I doubt it's that. Have you reported this upstream at https://sourceware.org/bugzilla/ ? Have you tried building glibc 2.35 from source? (would be interestin

[Kernel-packages] [Bug 1990964] Re: FTBFS on kinetic

2022-10-16 Thread Michael Hudson-Doyle
https://github.com/strace/strace/commit/aeb29a3238ef3cc7f191f98743678d3b4ec949b9 and https://github.com/strace/strace/commit/a30e5defe41b5b806c223865e92b20d8c9b08f4b look relevant. In general, does strace get a release for each kernel release? Should it be updated in parallel? ** Tags added: foun

[Kernel-packages] [Bug 1985956] Re: linux-libc-dev and libc6-dev do not agree who owns fsconfig_command

2022-08-14 Thread Michael Hudson-Doyle
I think https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=774058d72942249f71d74e7f2b639f77184160a6 might help here. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1985956 Title: linux-

[Kernel-packages] [Bug 1960392] Re: Ubuntu server 22.04 installation crash with intel VROC sata raid

2022-02-10 Thread Michael Hudson-Doyle
So the reason this doesn't work is that the udev data for the container, /dev/md/imsm0, does not contain the keys we look for to work out which devices are part of it. We expect to find keys called things like MD_DEVICE_dev_sda_DEV but they are not there. There is UDISKS_MD_DEVICE_dev_sda_DEV thoug

[Kernel-packages] [Bug 1929889] Re: [TGL][ADL] Enable CET(Control-flow Enforcement Technology)

2021-11-16 Thread Michael Hudson-Doyle
I had a poke at this, and although the cet-backport.diff file is present in the source package, it is not actually applied and hasn't been since some time in Groovy's development cycle afaict. This makes sense because also afaict, this all went upstream in glibc 2.32, which was the version in groov

[Kernel-packages] [Bug 1940860] Re: Mellanox NIC interface names change between 5.4 and 5.8

2021-09-26 Thread Michael Hudson-Doyle
I should say here that I don't really know what changes to subiquity are desirable here. I don't really like the idea of subiquity always using set-name, that just feels wrong, but I can see the problem here too. -- You received this bug notification because you are a member of Kernel Packages, w

[Kernel-packages] [Bug 1876011] Re: Kernel Panic when dasd-fba device is selected for install

2020-12-08 Thread Michael Hudson-Doyle
** Changed in: subiquity Status: New => In Progress -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1876011 Title: Kernel Panic when dasd-fba device is selected for install Status

[Kernel-packages] [Bug 1890884] Re: kernel trace of 18.04.5 daily image (20200806.1) on Hisilicon D06 arm64 arch

2020-08-12 Thread Michael Hudson-Doyle
Err. Just to check, you are booting with the right initramfs? Can you share your pxe(linux emulation) config? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1890884 Title: kernel trace o

[Kernel-packages] [Bug 1534162] Re: symlinks managed by kernel postinst are different from zipl-installer and livefs-rootfs

2020-05-07 Thread Michael Hudson-Doyle
** Changed in: subiquity Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1534162 Title: symlinks managed by kernel postinst are different from zip

[Kernel-packages] [Bug 1866319] Re: reboot crash in qla2x00_shutdown()

2020-05-07 Thread Michael Hudson-Doyle
I don't think this was ever a bug in subiquity. ** Changed in: subiquity Status: New => Fix Released ** Changed in: subiquity Status: Fix Released => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1871611] Re: multipath nvme, failed to install with multipath disabled install failed crashed with CalledProcessError

2020-05-07 Thread Michael Hudson-Doyle
I'm not sure of the status of this bug now. Was it all fixed by release? ** Changed in: subiquity Status: New => Incomplete -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1871611 T

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-04-08 Thread Michael Hudson-Doyle
** No longer affects: linux-azure (Ubuntu) ** No longer affects: systemd (Ubuntu) ** Also affects: cloud-utils (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: cloud-initramfs-tools (Ubuntu Eoan) Importance: Undecided Status: New -- You received this bug not

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-04-08 Thread Michael Hudson-Doyle
Great, thanks for confirming. I wonder if we should SRU this. You see it on Eoan I presume? The bug is theoretically present in Bionic too aiui but if it never crops up I don't know if it's worth it. -- You received this bug notification because you are a member of Kernel Packages, which is subs

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-03-06 Thread Michael Hudson-Doyle
Can someone from CPC confirm that this has fixed the issues in the Azure tests? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1834875 Title: cloud-init growpart race with udev St

[Kernel-packages] [Bug 1856045] Re: capabilities set with setcap are not honoured

2020-02-10 Thread Michael Hudson-Doyle
Talking about this more, the Ubuntu solution for this sort of thing is to configure sudo appropriately, so we'll close the bug here. ** Changed in: iproute2 (Ubuntu) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Kernel Packages, which is su

[Kernel-packages] [Bug 1856045] Re: capabilities set with setcap are not honoured

2020-02-09 Thread Michael Hudson-Doyle
Well this is a consequence of this upstream change in iproute2: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?h=v4.16.0&id=ba2fc55b99f8363c80ce36681bc1ec97690b66f5. Upstream discussion, such as it is, of the patch appears to be here: https://lore.kernel.org/netdev/20180327162

[Kernel-packages] [Bug 1856045] Re: capabilities set with setcap are not honoured

2020-02-09 Thread Michael Hudson-Doyle
** Package changed: libcap2 (Ubuntu) => iproute2 (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to iproute2 in Ubuntu. Matching subscriptions: iproute2 https://bugs.launchpad.net/bugs/1856045 Title: capabilities set with setcap a

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-02-09 Thread Michael Hudson-Doyle
> Ah, no I think this might be along right lines: udev is calling blkid > on the _partition_ of course, so it can probe for filesystem etc without > looking at the partition table. After it's done that, it does look for > the partition table so it can read the ID_PART_ENTRY_* values from it, > but

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-02-03 Thread Michael Hudson-Doyle
On another tangent, I wonder if the change that brought this to light was the switch to booting without initrd. The timing is about right, and fits with the fact that it doesn't occur with the generic kernel (which cannot boot without initrd in Azure). So if someone has an excess of time to test ,

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-02-02 Thread Michael Hudson-Doyle
Hi, could someone prepare an image with https://paste.ubuntu.com/p/HYGv6m8gCc/ at /etc/systemd/system/systemd- udevd.service.d/udevd-debugging.conf, boot it on azure until it fails and put the journalctl output (probably a few megs) somewhere I can read it? Output from a successful boot would also

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-01-30 Thread Michael Hudson-Doyle
Oh yeah and one other thing I don't understand: why udev is processing the partition while sgdisk is still running. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1834875 Title: cl

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-01-30 Thread Michael Hudson-Doyle
Ah, no I think this might be along right lines: udev is calling blkid on the _partition_ of course, so it can probe for filesystem etc without looking at the partition table. After it's done that, it does look for the partition table so it can read the ID_PART_ENTRY_* values from it, but if it fail

[Kernel-packages] [Bug 1834875] Re: cloud-init growpart race with udev

2020-01-29 Thread Michael Hudson-Doyle
So I've been handed the job of moving this bug forward this iteration. Having just re-read all the comments again and read some source code while listening to loud techno music my observations/questions are these: 1) this is a doozy 2) I would really like to see complete udevadm monitor and inot

[Kernel-packages] [Bug 1845044] Re: [Kernel 5.3.0-10] Kernel panic - not syncing: Attempting to kill init! exitcode=0x00000009

2019-09-29 Thread Michael Hudson-Doyle
*** This bug is a duplicate of bug 1845454 *** https://bugs.launchpad.net/bugs/1845454 ** This bug is no longer a duplicate of bug 1844101 5.3.0-10 crashes immediately in init_tis -> ... -> tpm_init -> ... -> tpm_tis_core_init.cold -> ... (never boots) ** This bug has been marked a duplica

[Kernel-packages] [Bug 1844101] Re: 5.3.0-10 crashes immediately in init_tis -> ... -> tpm_init -> ... -> tpm_tis_core_init.cold -> ... (never boots)

2019-09-29 Thread Michael Hudson-Doyle
*** This bug is a duplicate of bug 1845454 *** https://bugs.launchpad.net/bugs/1845454 Bug 1845454 was filed later but has more useful comments, so I'm going to mark this a duplicate of that. ** This bug has been marked a duplicate of bug 1845454 Kernel panic with 19.10 beta image -- You

[Kernel-packages] [Bug 1843860] Re: 5.3.0-10 doesn't boot on my t480s with secure boot enabled

2019-09-29 Thread Michael Hudson-Doyle
*** This bug is a duplicate of bug 1845454 *** https://bugs.launchpad.net/bugs/1845454 ** This bug is no longer a duplicate of bug 1844101 5.3.0-10 crashes immediately in init_tis -> ... -> tpm_init -> ... -> tpm_tis_core_init.cold -> ... (never boots) ** This bug has been marked a duplica

[Kernel-packages] [Bug 1845454] Re: Kernel panic with 19.10 beta image

2019-09-26 Thread Michael Hudson-Doyle
This is the same bug as bug 1844101 I think? If it is, it doesn't reproduce with secure boot off and we'll need a signed kernel to test. I'm happy to enrol whatever key in my firmware to test a self-signed kernel... -- You received this bug notification because you are a member of Kernel Packages

[Kernel-packages] [Bug 1843860] Re: 5.3.0-10 doesn't boot on my t480s with secure boot enabled

2019-09-17 Thread Michael Hudson-Doyle
*** This bug is a duplicate of bug 1844101 *** https://bugs.launchpad.net/bugs/1844101 Yes, I assume it's the same bug. Julian and I were actually sitting next to each other yesterday trying to diagnose things. As the other bug has logs, let's mark this a duplicate of the other. ** This bug h

[Kernel-packages] [Bug 1843860] Re: 5.3.0-10 doesn't boot on my t480s with secure boot enabled

2019-09-16 Thread Michael Hudson-Doyle
Update: disabling TPM is enough to allow boot. >From dmidecode: Handle 0x000C, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 20L8S7X100 Version: ThinkPad T480s Serial Number: xxx UUID: xxx Wake-up Type: Power Switch

[Kernel-packages] [Bug 1843860] Re: 5.3.0-10 doesn't boot on my t480s with secure boot enabled

2019-09-12 Thread Michael Hudson-Doyle
mwhudson@anduril:~$ apport-collect 1843860 dpkg-query: no packages found matching linux ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.la

[Kernel-packages] [Bug 1843860] [NEW] 5.3.0-10 doesn't boot on my t480s with secure boot enabled

2019-09-12 Thread Michael Hudson-Doyle
Public bug reported: I have no further information, sadly. The boot stops at the message "EFI stub: UEFI Secure Boot is enabled". Disabling secure boot or selecting an older kernel both work fine. ** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete -- You received

[Kernel-packages] [Bug 1840122] Re: System fails to reboot from live session or ubiquity-dm - squashfs_read_data failed to read block

2019-08-14 Thread Michael Hudson-Doyle
I had a look at this and got pretty confused! Feels more like a kernel problem than a casper one, somehow. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1840122 Title: System fails to r

[Kernel-packages] [Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-07-13 Thread Michael Hudson-Doyle
I've verified the fix in the way I suspected I'd have to, with one extra wrinkle. 1) In a trusty VM, I verified that the C test case from the gist failed. (It did). 2) I launched a xenial lxd container on the VM and built the Go test case with version 1.6.2-0ubuntu5~16.04.2 of golang-1.6-go. 3)

[Kernel-packages] [Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-07-02 Thread Michael Hudson-Doyle
** Changed in: golang-1.6 (Ubuntu Xenial) Status: New => In Progress -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1672819 Title: exec'ing a setuid binary from a threaded program

[Kernel-packages] [Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-07-02 Thread Michael Hudson-Doyle
** Description changed: + == SRU template for golang-1.6 == + + [Impact] + The kernel bug reported below means that occasionally (maybe 1 in 1000 times) the snapd -> snap-confine exec that is part of a snap execution fails to take the setuid bit on the snap-confine binary into account which mea

[Kernel-packages] [Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-07-02 Thread Michael Hudson-Doyle
; Invalid ** Changed in: golang-1.6 (Ubuntu Xenial) Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson) ** Changed in: golang-1.6 (Ubuntu Xenial) Importance: Undecided => High -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

Re: [Kernel-packages] [Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-05-07 Thread Michael Hudson-Doyle
On 8 May 2017 at 10:32, Colin Ian King <1672...@bugs.launchpad.net> wrote: > exec'ing from a thread is an interesting problem; the semantics of exec > should be to terminal all the threads before the exec occurs according > to http://maxim.int.ru/bookshelf/PthreadsProgram/htm/r_44.html > > The nor

[Kernel-packages] [Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-03-14 Thread Michael Hudson-Doyle
I had a bit of a stare at the kernel source and suspected that the downgrade of uid is happening here: https://github.com/torvalds/linux/blob/v4.4/security/commoncap.c#L547-L548 I added a "WARN(1, "downgrading in subprocess %d %d\n", bprm->unsafe, (int)capable(CAP_SETUID))" which revealed that bpr

[Kernel-packages] [Bug 1584456] Re: apparmor denial using ptmx char device

2016-09-20 Thread Michael Hudson-Doyle
** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: snap-confine (Ubuntu Xenial) Importance: Undecided Status: New ** No longer affects: linux (Ubuntu Xenial) ** Changed in: snap-confine (Ubuntu Xenial) Status: New => In Progress

[Kernel-packages] [Bug 1584456] Re: apparmor denial using ptmx char device

2016-09-20 Thread Michael Hudson-Doyle
** Also affects: snap-confine (Ubuntu) Importance: Undecided Status: New ** Changed in: snap-confine (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launc

[Kernel-packages] [Bug 1526113] [NEW] needs s390x support

2015-12-14 Thread Michael Hudson-Doyle
Public bug reported: cpu-checker / kvm-ok is not available on s390x. I'm not sure what it should do, otherwise I'd attach a patch :-) ** Affects: cpu-checker Importance: Undecided Status: New ** Affects: cpu-checker (Ubuntu) Importance: Undecided Status: New ** Also

[Kernel-packages] [Bug 982738] Re: Kernel Oops - BUG: unable to handle kernel paging request at fffffffffffffb88; RIP: 0010:[] [] ieee80211_stop_tx_ba_cb_irqsafe+0x

2013-08-25 Thread Michael Hudson-Doyle
I haven't had this problem in a long time indeed. Don't see the point in keeping it open. ** Changed in: linux (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.la