eject -i 1 fails to lock drive eject button
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+
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.