Your message dated Sun, 3 May 2020 21:27:36 +0800 with message-id <[email protected]> and subject line done by udev has caused the Debian Bug report #716715, regarding eject -i fails to block eject button with current udev rules to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 716715: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716715 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: eject Version: 2.1.5+deb1+cvs20081104-13 Severity: normal "eject -i on" should lock the hardware eject button of a CD-ROM drive, to prevent the tray from opening if the eject button is pressed. However, this does not work on my system (Thinkpad T43, standard DVD drive): ~# eject -i on CD-Drive may NOT be ejected with device button However, pressing the eject button still opens the tray. This can be fixed by uncommenting the line > ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $tempnode", > GOTO="cdrom_end" in /lib/udev/rules.d/60-cdrom_id.rules (udev version 175-7.2). (Source: http://www.poweradded.net/2009/09/cddvd-tray-lockunlock-under-linux.html ) Apparently, udev and eject somehow conflict. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages eject depends on: ii libc6 2.17-3 Embedded GNU C Library: Shared lib ii libdevmapper1.02.1 2:1.02.48-2 The Linux Kernel Device Mapper use eject recommends no packages. Versions of packages eject suggests: pn cdtool <none> (no description available) pn setcd <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---In Debian 10 stable,udev had already do it. Package: udev Version: 241-7~deb10u3 /lib/udev/rules.d/60-cdrom_id.rules # media eject button pressed ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end" This line is already uncommentted default. -- 肖盛文 Faris Xiao 微信:atzlinux QQ:909868357 铜豌豆 Linux 基于 Debian 的 Linux 中文桌面操作系统:https://www.atzlinux.com
signature.asc
Description: OpenPGP digital signature
--- End Message ---

