Changed lsblk behavior: Now showing ALL mount points
Heads up, everybody: It appears that the 'lsblk' command now shows ALL mount points of a filesystem. It used to show only the primary / first one. That means that for Btrfs you will now not only get "/" for the root filesystem, but also all its subvolumes. This is already breaking a ton of OpenQA tests; but it might appear in other areas as well. It does not affect libstorage-ng, though: It doesn't use 'lsblk'. See also https://bugzilla.suse.com/show_bug.cgi?id=1192972 Sample output: https://bugzilla.suse.com/attachment.cgi?id=853954 (PNG screenshot, sorry) Kind regards -- Stefan Hundhammer <shundhammer@suse.de> YaST Developer SUSE Software Solutions Germany GmbH GF: Ivo Totev; HRB 36809, AG Nürnberg
El mar, 23-11-2021 a las 12:12 +0100, shundhammer escribió:
Heads up, everybody:
It appears that the 'lsblk' command now shows ALL mount points of a filesystem. It used to show only the primary / first one.
That means that for Btrfs you will now not only get "/" for the root filesystem, but also all its subvolumes.
This is already breaking a ton of OpenQA tests; but it might appear in other areas as well. It does not affect libstorage-ng, though: It doesn't use 'lsblk'.
See also
https://bugzilla.suse.com/show_bug.cgi?id=1192972
Sample output:
https://bugzilla.suse.com/attachment.cgi?id=853954 (PNG screenshot, sorry)
Thanks for the heads up! We use lsblk in yast2-users, so I need to check whether we are affected or not: https://github.com/yast/yast-users/blob/0e361ce62ebaf4bac1e0bb6f44a19f9c8c93... Regards, Imo -- Imobach González Sosa YaST Team at SUSE LLC https://imobachgs.github.io/
On 2021-11-23 12:12, shundhammer wrote:
It appears that the 'lsblk' command now shows ALL mount points of a filesystem. It used to show only the primary / first one.
I split off a separate bug for this: https://bugzilla.suse.com/show_bug.cgi?id=1192996 I fear we have to expect a number of duplicates not only from our own QA team, but also from partners who use their own OpenQA setup, and from customers who are using this for their own scripts. Imo already pointed out at least one place in the new yast-users where 'lsblk' is used; please check if that works with Btrfs and its subvolumes. Kind regards -- Stefan Hundhammer <shundhammer@suse.de> YaST Developer SUSE Software Solutions Germany GmbH GF: Ivo Totev; HRB 36809, AG Nürnberg
El mar, 23-11-2021 a las 16:04 +0100, shundhammer escribió: [..]
I split off a separate bug for this:
Thanks for taking care.
I fear we have to expect a number of duplicates not only from our own QA team, but also from partners who use their own OpenQA setup, and from customers who are using this for their own scripts.
Imo already pointed out at least one place in the new yast-users where 'lsblk' is used; please check if that works with Btrfs and its subvolumes.
I have checked that it works just fine (using util-linux-systemd-2.37). In that case, we are not interested in the mount point at all. Regards, Imo -- Imobach González Sosa YaST Team at SUSE LLC https://imobachgs.github.io/
participants (2)
-
Imobach Gonzalez Sosa
-
shundhammer