eject -i 1 fails to lock drive eject button

Bug #926925 reported by Eric Price
This bug report is a duplicate of:  Bug #885051: eject -i no longer works. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eject (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running `eject -i 1` is supposed to lock the cd drive so it can't be ejected:

$ eject -i 1
CD-Drive may NOT be ejected with device button

Until a few weeks ago, this worked properly: after this command, neither running `eject` nor pressing the device eject button would open the drive. However, recently the device eject button has been able to eject the drive:

$ eject -i 1
CD-Drive may NOT be ejected with device button
$ eject
eject: unable to eject, last error: Inappropriate ioctl for device
$ #press eject button: now the device _ejects_, which is incorrect. After closing the drive:
$ eject
$ #The drive now opens.

This is running Ubuntu 11.10, eject 2.1.5+deb1+cvs20081104-8, and kernel 3.0.0-15.26 generic x86_64.

Revision history for this message
Eric Price (ecprice) wrote :

I just realized that this isn't a recent regression: it was a regression in 11.10. I had previously worked around it via the udev edit described in http://ubuntuforums.org/archive/index.php/t-1852013.html ; my workaround was clobbered in an update.

So this is a duplicate of bug 854814.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.