Description of problem: Lshw reports trailing garbage on ext4 lastmountpoint attribute. Version-Release number of selected component (if applicable): lshw-B.02.14 How reproducible: 100% of the time with ext4 file systems. Steps to Reproduce: 1. lshw | grep lastmountpoint 2. 3. Actual results: [root@edge ~]# tune2fs -l LABEL=F12-/ | grep 'Last mounted on' Last mounted on: / [root@edge ~]# tune2fs -l LABEL=F12-/boot | grep 'Last mounted on' Last mounted on: /boot [root@edge ~]# lshw | grep lastmountpoint configuration: created=2010-01-03 13:20:45 filesystem=ext4 label=F12-/boot lastmountpoint=/boot�~���������`�����C�M�ܡ���`�@���_��@����������������� modified=2010-07-13 19:07:44 mount.fstype=ext4 mount.options=rw,seclabel,relatime,barrier=1,data=ordered mounted=2010-07-13 19:07:44 state=mounted configuration: created=2010-01-03 13:20:47 filesystem=ext4 label=F12-/ lastmountpoint=/�S������H%L�����C�M�pJ�H%L�p�D����p�D�����̞����M��� modified=2010-07-05 17:29:03 mount.fstype=ext4 mount.options=rw,seclabel,relatime,barrier=1,data=ordered mounted=2010-07-13 19:07:43 state=mounted Expected results: No trailing garbage characters at the end of the lastmountpoint attribute. Additional info: This bug is known and fixed up stream, but not yet included in a release. * bug - http://ezix.org/project/ticket/498 * fix - http://ezix.org/project/changeset/2144 Attaching patch (exactly upstream changeset 2144). Tested patch with released lshw-B.02.14 successfully. Generated patch with: svn diff http://ezix.org/source/packages/lshw/development@2143 http://ezix.org/source/packages/lshw/development@2144 > lshw-B.02.14-lastmountpoint.patch
Created attachment 431602 [details] Upstream fix, changeset 2144
Thanks for the report, will push a updated package soon.
lshw-B.02.14-5.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/lshw-B.02.14-5.fc13
lshw-B.02.14-5.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/lshw-B.02.14-5.fc12
lshw-B.02.14-5.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/lshw-B.02.14-5.fc14
lshw-B.02.14-5.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update lshw'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/lshw-B.02.14-5.fc14
lshw-B.02.14-5.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
lshw-B.02.14-5.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
lshw-B.02.14-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.