Bug 60867 - Unusual error message from eject
Summary: Unusual error message from eject
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-08 01:22 UTC by Derek Tattersall
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-03-11 16:14:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Derek Tattersall 2002-03-08 01:22:22 UTC
Description of Problem:  Ejecting /dev/cdrom with CD-1 of Hampton, the following message
is seen, then the CD ejected..
cannot open /etc/mtab.tmp (Invalid argument) - mtab not updated

Occurrs as user or root.  User is member of Wheel group.


Version-Release number of selected component (if applicable):
eject-2.0.12-4

How Reproducible:
Happens every time

Steps to Reproduce:
1. Mount a data CD (Cd 1 works)
2.  type "eject" at command prompt
3.  Observe odd output

Actual Results:


Expected Results: Probably should not umount and eject as a regular user


Additional Information:

Comment 1 Than Ngo 2002-03-11 14:41:28 UTC
eject just uses mount and umount in util-linux. It'a bug in util-linux.  
I cannot reproduce it on my machine with eject-2.0.12-4 and mount-2.11n-7.  
  


Comment 2 Elliot Lee 2002-03-11 16:11:58 UTC
Can't reproduce here either. Please see if running 'umount /dev/cdrom' directly
does anything different...

Comment 3 Elliot Lee 2002-03-11 16:14:07 UTC
Oh, and "Expected Results: Probably should not umount and eject as a regular
user" is an incorrect assumption, since the console user is specifically
supposed to be able to do things like this (and a bug was recently fixed that
allowed other users to do the umount...). If that is all the bug is, I can close it.

Comment 4 Derek Tattersall 2002-03-11 23:43:31 UTC
Since reinstalling the system several times, the odd message no longer appears.  
Therefor, I'll close the bug as WORKSFORME and go hide my head in shame.


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