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

Bug #1405199 reported by Removed by request
2
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Won't Fix
Undecided
Unassigned

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.

Tags: vivid
tags: added: vivid
summary: - 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
affects: udev (Ubuntu) → systemd (Ubuntu)
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.