Bug#991382: udev: cdr-drive opens after suspend

Michael Biebl biebl at debian.org
Sat Jul 24 08:17:26 BST 2021


Am 23.07.21 um 13:44 schrieb M G Berberich:
> Am Donnerstag, den 22. Juli schrieb Michael Biebl:
>> Control: tags -1 + moreinfo
>>
>> Am 22.07.21 um 08:53 schrieb M G Berberich:
>>> Package: udev
>>> Version: 247.3-6
>>> Severity: normal
>>>
>>> Dear Maintainer,
>>>
>>> for some days the cdrom-drive opens after the system wakes up from
>>> suspend.  This occured after installing kernel 5.13.X, but this might
>>> be a coincidence.
>>>
>>> The kernel is a stock kernel:
>>> Linux 5.13.4 #3 SMP PREEMPT Tue Jul 20 21:09:45 CEST 2021 x86_64 GNU/Linux
>>>
>>
>> What makes you conclude this is a udev bug?
> 
> This is an assumption, Udev is the subsystem that handles media eject
> button events. The problem can be circumvented by commenting out the
> “media eject button pressed” handling in
> /lib/udev/rules.d/60-cdrom_id.rules.
> 
>    # ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end"
> 
> (which does prove nothing). This might be a problem elsewhere,
> p.e. the kernel issuing a spurious media eject button press event.
> (https://bugzilla.kernel.org/show_bug.cgi?id=213795).

This udev rules *reacts* to such an event, it doesn't generate it. So 
the problem does indeed look like it is elsewhere.
If this started happening after a kernel update, this might indeed be a 
good candidate.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210724/611dd283/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list