Description of problem: We are using lsblk --output PKNAME and that appears to have stopped working properly in fedora 31+. Here is the output: on F30 it works and properly shows `/dev/vda` ``` [vagrant@vanilla-f30 ~]$ lsblk --output PTUUID,PKNAME --pairs --paths --nodeps /dev/vda1 PTUUID="3175bbb3" PKNAME="/dev/vda" [vagrant@vanilla-f30 ~]$ rpm -q kernel-core util-linux kernel-core-5.0.9-301.fc30.x86_64 kernel-core-5.2.11-200.fc30.x86_64 util-linux-2.33.2-2.fc30.x86_64 ``` on F31 PKNAME is blank: [vagrant@vanilla-f31 ~]$ lsblk --output PTUUID,PKNAME --pairs --paths --nodeps /dev/vda1 PTUUID="539f29b0" PKNAME="" [vagrant@vanilla-f31 ~]$ rpm -q kernel-core util-linux kernel-core-5.3.0-0.rc6.git0.1.fc31.x86_64 util-linux-2.34-2.fc31.x86_64 ``` on rawhide (F32) PKNAME is blank: ``` [vagrant@vanilla-rawhide ~]$ lsblk --output PTUUID,PKNAME --pairs --paths --nodeps /dev/vda1 PTUUID="f6214eaa" PKNAME="" [vagrant@vanilla-rawhide ~]$ rpm -q kernel-core util-linux kernel-core-5.3.0-0.rc8.git0.1.fc32.x86_64 util-linux-2.34-4.fc32.x86_64 ``` Version-Release number of selected component (if applicable): util-linux-2.34-2.fc31.x86_64 util-linux-2.34-4.fc32.x86_64 How reproducible: Always Steps to Reproduce: 1. boot machine (can use a cloud image if you like) 2. run `lsblk --output PTUUID,PKNAME --pairs --paths --nodeps /dev/vda1` Actual results: PKNAME result empty Expected results: PKNAME result populated
This is already fixed in upstream tree, commit: http://github.com/karelzak/util-linux/commit/e3bb9bfb76c17b1d05814436ced62c05c4011f48 I'll backport it to f31+
FEDORA-2019-05938d7bcb has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-05938d7bcb
util-linux-2.34-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-05938d7bcb
thanks Karel!
After upgrading all of my packages on the system that are provided by the util-linux rpm... ``` Upgrading: libblkid x86_64 2.34-3.fc31 libfdisk x86_64 2.34-3.fc31 libmount x86_64 2.34-3.fc31 libsmartcols x86_64 2.34-3.fc31 libuuid x86_64 2.34-3.fc31 util-linux x86_64 2.34-3.fc31 ``` It all seems to work! ``` [vagrant@vanilla-f31 tmp]$ lsblk --output PTUUID,PKNAME --pairs --paths --nodeps /dev/vda1 PTUUID="7ba0e2fb" PKNAME="/dev/vda" ```
util-linux-2.34-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.