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:
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.
Can't reproduce here either. Please see if running 'umount /dev/cdrom' directly does anything different...
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.
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.