[Bug 1405199] Re: Using open() on an optical drive with its tray open will run in the tray

Brian Murray brian at ubuntu.com
Mon Jan 5 21:51:24 UTC 2015


** Tags added: vivid

** Summary changed:

- Using open() on an optical drive with its tray open will run in the tray
+ Using open() on an optical drive with its tray open will close the tray

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1405199

Title:
  Using open() on an optical drive with its tray open will close the
  tray

Status in udev package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 15.04 dev with udev 218-2ubuntu3 and if the tray of
  an optical drive is open and open() will then be used on the device
  file the tray will be closed. Here is an example code (compiled with
  "gcc -Wall -pedantic -o test test.c"):

  #include <fcntl.h>

  int main()
  {
  	open("/dev/sr0", O_EXCL);
  	return 0;
  }

  
  Normally I would expect that the tray doesn't get closed so I'm assuming an udev rule causes this behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1405199/+subscriptions



More information about the foundations-bugs mailing list