Bug 154202 - wrong duplicate labels detection
wrong duplicate labels detection
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: util-linux (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
:
Depends On:
Blocks: 156320 156322
  Show dependency treegraph
 
Reported: 2005-04-08 07:57 EDT by Karel Zak
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: RHBA-2005-669
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-05 12:52:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karel Zak 2005-04-08 07:57:53 EDT
The code for duplicate labels detection in the mount command ignore last
partition in system. It's fixed in distributions >=FC4.

# cat /proc/partitions
major minor  #blocks  name
   3     0   58615704 hda
   3     1   10241406 hda1
   3     2          1 hda2
   3     5   10241406 hda5
   3     6     409626 hda6
   3     7   10241406 hda7
   3     8   27471118 hda8
   3    64   40209120 hdb
   3    65   40194598 hdb1
                     ^^^^^^

#e2label /dev/hda7
store
# e2label /dev/hdb1
store

>=FC4:
  # mount LABEL=store
  mount: error: the label store occurs on both /dev/hda7 and /dev/hdb1

<=RHEL4
  # mount LABEL=store
  # grep hda7 /proc/mounts
  /dev/hda7 /home/store ext3 rw 0 0
Comment 9 Red Hat Bugzilla 2005-09-28 11:53:59 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-626.html
Comment 10 Red Hat Bugzilla 2005-10-05 12:52:00 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-669.html

Note You need to log in before you can comment on or make changes to this bug.