Bug 74907 - Stale entryes in /etc/mtab after system runlevel change
Stale entryes in /etc/mtab after system runlevel change
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-10-02 14:46 EDT by Need Real Name
Modified: 2007-04-18 12:47 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-14 12:52:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-10-02 14:46:04 EDT
Description of Problem:
I mount several iso images (iso9660 fs) via loop devices. If I change system
runlevel from 3 to 1, initscripts unmount loop-mounted iso images (according
/proc/mounts), but appropriate entryes don't removed from /etc/mtab.

Version-Release number of selected component (if applicable):
kernel-2.4.19 (self-made, with xfs patch from sgi), glibc-2.2.5-39,
mount-2.11n-12.7.3, initscripts-6.67-1

How Reproducible:

Steps to Reproduce:
1. mount some iso-image via loop device (write this info in /etc/fstab)
2. change runlevel from 3 to 1 (init 1)
3. cat /proc/mounts
4. cat /etc/mtab

Actual Results:
image not mounted, but entryes in mtab exists

Expected Results:
no appropriate entryes in mtab

Additional Information:
Comment 1 Elliot Lee 2003-01-14 12:52:47 EST
Thanks for the concise instructions. I can't reproduce the problem here on a rawhide-ish 
system, so I'm assuming the problem was fixed before 2.11y-1

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