[Bug 1405199] [NEW] Using open() on an optical drive with its tray open will close the tray
Launchpad Bug Tracker
1405199 at bugs.launchpad.net
Thu Aug 6 22:27:13 UTC 2020
You have been subscribed to a public bug:
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: systemd (Ubuntu)
Importance: Undecided
Status: New
** Tags: vivid
--
Using open() on an optical drive with its tray open will close the tray
https://bugs.launchpad.net/bugs/1405199
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.
More information about the foundations-bugs
mailing list