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

Nick Rosbrook 1405199 at bugs.launchpad.net
Thu Jun 22 20:36:06 UTC 2023


** Changed in: systemd (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd 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 systemd package in Ubuntu:
  Won't Fix

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/systemd/+bug/1405199/+subscriptions




More information about the foundations-bugs mailing list