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

Sworddragon 1405199 at bugs.launchpad.net
Tue Dec 23 14:57:24 UTC 2014


Public bug reported:

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.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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 run in 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