Bug 17900
Summary: | problem mounting a partition via it's label | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <daniel_frazier> | ||||
Component: | anaconda | Assignee: | Erik Troan <ewt> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | CC: | cuongnv2001, daniel_frazier, eseed, marc, okurzweg | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-10-09 22:10:28 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Need Real Name
2000-09-27 00:09:23 UTC
Same prob with me. I can't boot without changing the labels manually... to a shorter version. I'm wondering how this went unoticed through the beta tests (mounting /var/spool/mqueue on a separate partition is not that uncommon!). Since ext2 doesn't support unlimited length labels, there's nothing we can do about it in mount... Assigning to anaconda so we can make sure we don't try to generate too long labels. *** Bug 18263 has been marked as a duplicate of this bug. *** internal tests show label handling is done more gracefully ... Here is an example fstab w/truncated labels: LABEL=/ / ext2 defaults 1 1 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 LABEL=/mnt/thequickbr /mnt/thequickbrownfoxjumped ext2 defaults 1 2 LABEL=/mnt/thequickb1 /mnt/thequickbrownfoxjumpedoverthe ext2 defaults 1 2 LABEL=/mnt/thequickb2 /mnt/thequickbrownfoxjumpedoverthebrassy ext2 defaults 1 2 LABEL=/mnt/thequickb3 /mnt/thequickbrownfoxjumpedovertheclassy ext2 defaults 1 2 LABEL=/mnt/thequickb4 /mnt/thequickbrownfoxjumpedoverthesnazzy ext2 defaults 1 2 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda5 swap swap defaults 0 0 the testing above is referring to a proposed fix being tested internally ... This is a bug in e2fsprogs and mount. New packages are in testing, and the patches have been fed to the software maintainers. We're also working on an install updates disk which will not use labels longer then 15 characters to help workaround this problem for 7.0. These updates should be available soon. In the meantime, changing the labels to be 15 characters with e2label and updating the fstab will let your system operate properly. It seems that the pratical limit is 14 characters instead of 15: # e2label /dev/hda5 /var/spool/squid ==> 15 characters-label Edit /etc/fstab and put LABEL=/var/spool/squid /var/spool/squid .... # mount /var/spool/squid mount: no such partition found # Now, let's try 14 characters instead # e2label /dev/hda5 /var/spool/squi ==> 14 characters-label Edit /etc/fstab and put LABEL=/var/spool/squi /var/spool/squid .... # mount /var/spool/squid # ==> mount succeeded Fixed in errata RHBA-2000:084-02. Traceback (innermost last): File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", line 20, in run rc = self.todo.doInstall () File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1472, in doInstall self.fstab.mountFilesystems (self.instPath) File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/fstab.py", line 713, in mountFilesystems raise SystemError, (errno, msg) SystemError: (22, 'Invalid argument') Local variables in innermost frame: size: 56227 fsystem: ext2 self: <fstab.GuiFstab instance at 8497fe8> msg: Invalid argument doFormat: 0 errno: 22 device: hda3 instPath: /mnt/sysimage mntpoint: /boot ToDo object: (itodo ToDo p1 (dp2 S'method' p3 (iimage CdromInstallMethod p4 (dp5 S'progressWindow' p6 <failed> Created attachment 23267 [details]
installing error
|