[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-06-25 Thread Dimitri John Ledkov
lvm2 is buggy, but we're just gonna tip toe around it. probert/curtin/subiquity are fixed, and lvm2 can keep it's trap open for the next software to walk into it. ** Changed in: lvm2 (Ubuntu Groovy) Status: Fix Committed => Won't Fix ** Changed in: ubuntu-z-systems Status: Fix

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-05-21 Thread Brian Murray
** Also affects: lvm2 (Ubuntu Groovy) Importance: Undecided Status: Fix Committed ** Tags removed: rls-gg-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu.

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-05-05 Thread Frank Heimes
Based on the PR/MP in comment #8 and the IRC chat about this bug, I'm updating the status to Fix Committed. ** Changed in: lvm2 (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: ubuntu-z-systems Status: New => Fix Committed -- You received this bug notification because

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-29 Thread Ryan Harper
Probert PR to drop --mknodes: https://github.com/canonical/probert/pull/88 Curtin MP to drop --mknodes https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/383141 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Ryan Harper
I don't think this is the right fix. We need to test that it doesn't prevent vgscan from finding and creating /dev/vg/lv device files outside of of multipath. The real fix involves: 1) omitting the call to vgmknodes if there are no volume groups present 2) if vgnodes are present,

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Michael Hudson-Doyle
FWIW I reported this upstream at https://bugzilla.redhat.com/show_bug.cgi?id=1828617, you might want to attach the patch there too? ** Bug watch added: Red Hat Bugzilla #1828617 https://bugzilla.redhat.com/show_bug.cgi?id=1828617 -- You received this bug notification because you are a member

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/1874501 Title: vgscan --mknodes creates block device multipath nodes in /dev/mapper Status in Ubuntu on

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Ryan Harper
This patch configures the dm_task to use the DM_UDEV_DISABLE_LIBRARY_FALLBACK udev flag to prevent calls to dm_mknodes() from using the library fallback code. Another possible fix would be to obtain a different return code from vgscan.c where it does not detect any VGs and then calls the mknode

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Ryan Harper
Note, the whitespace damage in the patch is not needed, just my text client cleaning up trailing whitespace. With this patch applied, vgscan --mknodes no longer creates block devices in /dev/mapper root@ubuntu:/dev/mapper# ls -al total 0 drwxr-xr-x 2 root root 120 Apr 28 16:31 . drwxr-xr-x

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lvm2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu.

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-27 Thread Frank Heimes
** Tags added: installer ** Also affects: ubuntu-z-systems Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/1874501 Title: vgscan