[Bug 1862846] Re: Crash and failure installing focal

2020-09-22 Thread Mauricio Faria de Oliveira
** Tags removed: sts-sponsor-mfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug go to:

[Bug 1862846] Re: Crash and failure installing focal

2020-05-07 Thread Michael Hudson-Doyle
** Changed in: subiquity Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug

[Bug 1862846] Re: Crash and failure installing focal

2020-05-04 Thread Bug Watch Updater
** Changed in: util-linux (Debian) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications

[Bug 1862846] Re: Crash and failure installing focal

2020-04-22 Thread Bug Watch Updater
** Changed in: util-linux (Debian) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about

[Bug 1862846] Re: Crash and failure installing focal

2020-03-09 Thread Launchpad Bug Tracker
This bug was fixed in the package util-linux - 2.34-0.1ubuntu2.3 --- util-linux (2.34-0.1ubuntu2.3) eoan; urgency=medium * d/p/lsblk-force-to-print-PKNAME-for-partition.patch: fix regression that lsblk doesn't print PKNAME column for partitions (LP: #1862846) -- Mauricio

[Bug 1862846] Re: Crash and failure installing focal

2020-03-02 Thread Mauricio Faria de Oliveira
Hi Lukasz, thanks! Sure thing, I'll add it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug go to:

[Bug 1862846] Re: Crash and failure installing focal

2020-03-02 Thread Mauricio Faria de Oliveira
$ lsb_release -cs eoan Test device: partition (sdb1) in removable / USB flash disk (sdb) $ ls -1d /sys/block/sdb/sdb1 /sys/block/sdb/sdb1 $ cat /sys/block/sdb/removable 1 eoan-proposed: --- - PKNAME shows partition's parent/wholedisk. - RM shows 1 for removable disk's partition. $ dpkg -s

[Bug 1862846] Re: Crash and failure installing focal

2020-03-02 Thread Ɓukasz Zemczak
Hey! The package looks good so I'll accept it. In the impact you have mentioned that currently lsblk -no RM also doesn't work correctly, so maybe we should add it to the test case? ** Changed in: util-linux (Ubuntu Eoan) Status: In Progress => Fix Committed -- You received this bug

[Bug 1862846] Re: Crash and failure installing focal

2020-02-21 Thread Launchpad Bug Tracker
This bug was fixed in the package util-linux - 2.34-0.1ubuntu7 --- util-linux (2.34-0.1ubuntu7) focal; urgency=medium * d/p/lsblk-force-to-print-PKNAME-for-partition.patch: fix regression that lsblk doesn't print PKNAME column for partitions (LP: #1862846) -- Mauricio Faria

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Mauricio Faria de Oliveira
@slashd, thanks for uploading util-linux to Focal. I've added the SRU template and uploaded to Eoan. ** Description changed: + [Impact] + + * lsblk no longer prints a partition's parent +kernel device name (the wholedisk). +(i.e., 'lsblk -no PKNAME /dev/partition') + + * Another

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Eric Desrochers
util-linux uploaded in focal. Thanks Mauricio ! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug go to:

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Brian Murray
** Tags removed: champagne -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug go to:

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug go to:

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Mauricio Faria de Oliveira
** Tags added: sts-sponsor-mfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug go to:

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Mauricio Faria de Oliveira
** Patch added: "lp1862846_eoan_util-linux.debdiff" https://bugs.launchpad.net/subiquity/+bug/1862846/+attachment/5329791/+files/lp1862846_eoan_util-linux.debdiff ** Changed in: util-linux (Ubuntu Eoan) Status: New => In Progress ** Changed in: util-linux (Ubuntu Eoan) Importance:

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Mauricio Faria de Oliveira
** Patch added: "lp1862846_focal_util-linux.debdiff" https://bugs.launchpad.net/subiquity/+bug/1862846/+attachment/5329790/+files/lp1862846_focal_util-linux.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Mauricio Faria de Oliveira
util-linux / test steps === Bionic --- No regression: parent kernel device name $ dpkg -s util-linux | grep ^Version: Version: 2.31.1-0.4ubuntu3.5 $ lsblk -no pkname /dev/vda1 vda Eoan --- Before: empty string $ dpkg -s util-linux | grep ^Version: Version: 2.34-0.1ubuntu2.2 $ lsblk -no

[Bug 1862846] Re: Crash and failure installing focal

2020-02-20 Thread Mauricio Faria de Oliveira
@ltrager, Indeed, I see the refactor in curtin. :) Absolutely agree w/ you, it's a regression in util-linux, and after following up with you on IRC yesterday that it is OK for me to submit the fix to Ubuntu, I worked on it. I've tested the patch today, and it's currently building on all

[Bug 1862846] Re: Crash and failure installing focal

2020-02-19 Thread Lee Trager
Ryan has updated Curtin to no longer require that util-linux feature. I do think it would be good to carry that patch in Ubuntu as it other users will be effected by that regression. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1862846] Re: Crash and failure installing focal

2020-02-14 Thread Mauricio Faria de Oliveira
@ltrager I'd be happy to handle the patch for util-linux on Ubuntu E/F if that helps; just let me know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing

[Bug 1862846] Re: Crash and failure installing focal

2020-02-14 Thread Launchpad Bug Tracker
This bug was fixed in the package curtin - 19.3-26-g82f23e3d-0ubuntu1 --- curtin (19.3-26-g82f23e3d-0ubuntu1) focal; urgency=medium * New upstream snapshot. - install-grub: refactor uefi partition/disk searching (LP: #1862846) - doc: update Canonical contributors URL [Paul

[Bug 1862846] Re: Crash and failure installing focal

2020-02-13 Thread Server Team CI bot
This bug is fixed with commit 82f23e3d to curtin on branch master. To view that commit see the following URL: https://git.launchpad.net/curtin/commit/?id=82f23e3d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1862846] Re: Crash and failure installing focal

2020-02-13 Thread Brian Murray
** Tags removed: rls-ff-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug go to:

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Ryan Harper
** Changed in: curtin (Ubuntu Focal) Status: Triaged => In Progress ** Changed in: curtin (Ubuntu Focal) Assignee: (unassigned) => Ryan Harper (raharper) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Bug Watch Updater
** Changed in: util-linux (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Ryan Harper
** Merge proposal linked: https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/379024 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Lee Trager
** Bug watch added: Debian Bug tracker #951217 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951217 ** Also affects: util-linux (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951217 Importance: Unknown Status: Unknown -- You received this bug notification

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Ryan Harper
@Lee Thanks for tracking down the util-linux bug. Since this is broken in 2.34 (eoan/focal); I'm thinking we should use sysfs to find the parent via device name walking; Given a kname (nvme0n1p1) of the target partition # look up sysfs path from kname % realpath /sys/class/block/nvme0n1p1

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Ryan Harper
@Alberto > I thought the installer would work similarly to what the desktop installer > does with btrfs, where it creates subvolumes for / and /home in the root > partition (as @ and @home). > > On my desktop, when I upgrade I just move @ out of the way (by renaming it) > and the installer

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Ryan Harper
** Also affects: util-linux (Ubuntu) Importance: Undecided Status: New ** Tags added: rls-ff-incoming ** Also affects: util-linux (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: curtin (Ubuntu Focal) Importance: High Status: Triaged ** Also

[Bug 1862846] Re: Crash and failure installing focal

2020-02-12 Thread Alberto Donato
@Ryan FWIW the reason the install doesn't mark anything as modified is that I was trying to keep the btrfs root partition (/dev/sda3) and just install there. I thought the installer would work similarly to what the desktop installer does with btrfs, where it creates subvolumes for / and /home in

[Bug 1862846] Re: Crash and failure installing focal

2020-02-11 Thread Lee Trager
Upstream util-linux has fixed this in 2.34.1+ https://github.com/karelzak/util-linux/issues/813 ** Bug watch added: github.com/karelzak/util-linux/issues #813 https://github.com/karelzak/util-linux/issues/813 -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1862846] Re: Crash and failure installing focal

2020-02-11 Thread Lee Trager
I agree a -b or -e should be used instead of -f. However pkname is a valid column in lsblk. From lsblk --help: KNAME internal kernel device name PKNAME internal parent kernel device name pkname not working is a regression which was introduced in util- linux-2.34[1]. Upstream has fixed this[2].

[Bug 1862846] Re: Crash and failure installing focal

2020-02-11 Thread Ryan Harper
OK, I think I've found the bug; there are two issues; if [ "${#grubdevs_new[@]}" -eq 1 ] && [ -f "${grubdevs_new[0]}" ]; then # Currently UEFI can only be pointed to one system partition. If # for some reason multiple install locations are given only use the # first.

[Bug 1862846] Re: Crash and failure installing focal

2020-02-11 Thread Ryan Harper
** Changed in: curtin (Ubuntu) Importance: Undecided => High ** Changed in: curtin (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and

[Bug 1862846] Re: Crash and failure installing focal

2020-02-11 Thread Ryan Harper
We only see this failure on shim/secure-boot enabled setups. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862846 Title: Crash and failure installing focal To manage notifications about this bug

[Bug 1862846] Re: Crash and failure installing focal

2020-02-11 Thread Ryan Harper
Hrm, this is a strange install. The storage config has some strange settings..., first nothing is modified at all, all disks and partitions are marked preserve = true, as well as all filesystems. There is this strange mount: { "device": "format-0", "id": "mount-0", "path": "",

[Bug 1862846] Re: Crash and failure installing focal

2020-02-11 Thread Ryan Harper
@Lee The efi_dev parsing code from the centos8 branch isn't happy: Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '--os-family=debian', '/target', '/dev/sda1'] Exit code: 1 Reason: - Stdout: carryover command line params '' setting