Bug 37436 - mount fails to find labelled partition[s] during mount -a
mount fails to find labelled partition[s] during mount -a
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-04-24 11:35 EDT by j. alan eldridge
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-01-22 07:42:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to use 16k buffer for /proc/partitions (487 bytes, patch)
2001-04-24 22:54 EDT, j. alan eldridge
no flags Details | Diff
spec file patch (1.04 KB, patch)
2001-04-24 22:54 EDT, j. alan eldridge
no flags Details | Diff

  None (edit)
Description j. alan eldridge 2001-04-24 11:35:41 EDT
See bug 38663 against RH7.1/e2fsprogs, or 35980 against RH-

Mount has to read /proc/partitions in one gulp. It doesn't. Failed for me 
after a hard powerdown (oops) and the resulting fsck-the-world frenzy on 
startup, before the mount -a. Falure cause is identical (getting out of 
sync with the text at the 1K boundary), but failure mode not quite so 
drastic as it doesn't bail out like fsck does.

I'll attach a patch tonight when I get the time to put one together. This 
sucks, but we knew it was coming....
Comment 1 j. alan eldridge 2001-04-24 22:54:03 EDT
Created attachment 16325 [details]
patch to use 16k buffer for /proc/partitions
Comment 2 j. alan eldridge 2001-04-24 22:54:46 EDT
Created attachment 16326 [details]
spec file patch
Comment 3 j. alan eldridge 2001-04-24 23:00:17 EDT
This problem also exists (in theory) in fdisk.c in util-linux-2.10r. Fdisk has 
another problem, too, that a quick glance at the source reveals: it never 
closes the FILE* it got to read /proc/paritions with. I'll submit that as a 
patch to util-linux with a note to see this bug or the e2fsprogs bug for 

I've left these as normal priority/severity. They may want to be escalated. 
It's a low frequency occurence bug, but the failure mode can be quite dramatic 
depending on the circumstances and the partition layout of the individual 
system affected.

Comment 4 Bernhard Rosenkraenzer 2002-01-22 07:42:30 EST
Assigning to util-linux, where mount lives nowadays.
Comment 5 Elliot Lee 2002-01-29 16:55:51 EST
Fixed in util-linux-2.11n-3

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