[Bug 512251] Re: [Lucid Xubuntu] lshw corrupt lastmountpoint

Bug Watch Updater 512251 at bugs.launchpad.net
Fri Oct 27 10:22:16 UTC 2017


Launchpad has imported 10 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=614218.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-07-13T21:33:29+00:00 Mike wrote:

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 at edge ~]# tune2fs -l LABEL=F12-/ | grep 'Last mounted on'
Last mounted on:          /
[root at edge ~]# tune2fs -l LABEL=F12-/boot | grep 'Last mounted on'
Last mounted on:          /boot
[root at 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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/5

------------------------------------------------------------------------
On 2010-07-13T21:38:16+00:00 Mike wrote:

Created attachment 431602
Upstream fix, changeset 2144

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/6

------------------------------------------------------------------------
On 2010-07-16T08:02:00+00:00 Terje wrote:

Thanks for the report, will push a updated package soon.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/7

------------------------------------------------------------------------
On 2010-09-05T18:11:30+00:00 Fedora wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/8

------------------------------------------------------------------------
On 2010-09-05T18:11:35+00:00 Fedora wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/9

------------------------------------------------------------------------
On 2010-09-05T18:11:40+00:00 Fedora wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/10

------------------------------------------------------------------------
On 2010-09-06T05:14:34+00:00 Fedora wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/11

------------------------------------------------------------------------
On 2010-09-15T22:29:15+00:00 Fedora wrote:

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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/14

------------------------------------------------------------------------
On 2010-09-15T22:35:17+00:00 Fedora wrote:

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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/15

------------------------------------------------------------------------
On 2010-09-25T05:39:31+00:00 Fedora wrote:

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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/512251/comments/16


** Changed in: lshw (Fedora)
       Status: Unknown => Fix Released

** Changed in: lshw (Fedora)
   Importance: Unknown => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lshw in Ubuntu.
https://bugs.launchpad.net/bugs/512251

Title:
  [Lucid Xubuntu] lshw corrupt lastmountpoint

Status in lshw:
  Fix Released
Status in lshw package in Ubuntu:
  Fix Released
Status in lshw source package in Natty:
  Fix Released
Status in lshw package in Fedora:
  Fix Released

Bug description:
  Binary package hint: lshw

  I'm experiencing some weird behavior in lshw on my newly installed Xubuntu Lucid.
  I noticed the other day that specificly the lastmountpoint value of my disk volumes are corrupted:

                *-volume:1
                     description: EXT4 volume
                     vendor: Linux
                     physical id: 2
                     bus info: scsi at 0:0.0.0,2
                     logical name: /dev/sda2
                     logical name: /
                     version: 1.0
                     serial: 61537e63-b69b-4628-b222-6cd38facc856
                     size: 74GiB
                     capacity: 74GiB
                     capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                     configuration: created=2010-01-24 20:48:59 filesystem=ext4 lastmountpoint=/���jߜ�8E���\���ݲ��[�a��a��ߜ��ݲ��ݲ�5^�ߜ�0�%�� modified=2010-01-24 20:49:43 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,barrier=1,data=ordered mounted=2010-01-25 08:55:42 state=mounted


  Further more - in a possibly unrelated bug - I experience running the command caused the screen to go funny. When printing out the list of entries the screen would suddenly change colors to look very strange. However simply switching to another tty and back would solve the problem, and the screen image was back to normal.
  I've recently installed a possibly bugged device driver which might have been the cause of this, since after removing it yesterday I can't replicate this step this morning.
  But I'll keep this info here just in case..

To manage notifications about this bug go to:
https://bugs.launchpad.net/lshw/+bug/512251/+subscriptions



More information about the foundations-bugs mailing list