So, according to the upstream discussion David Zeuthen recommended to just not lock CD-ROM trays by default. Kernel/userspace already handles prematurely removed USB storage devices reasonably, and with read-only devices like CD-ROMs it is even less of an issue. So we should just set /proc/sys/dev/cdrom/lock to 0 by default.
From my POV, I'd just change procps to ship a new file /etc/sysctl.d/10-cdrom-tray-lock.conf with this setting. Scott, do you have an opinion whether this is reasonable?
So, according to the upstream discussion David Zeuthen recommended to just not lock CD-ROM trays by default. Kernel/userspace already handles prematurely removed USB storage devices reasonably, and with read-only devices like CD-ROMs it is even less of an issue. So we should just set /proc/sys/ dev/cdrom/ lock to 0 by default.
From my POV, I'd just change procps to ship a new file /etc/sysctl. d/10-cdrom- tray-lock. conf with this setting. Scott, do you have an opinion whether this is reasonable?