The first reason is that our current kernel package seems to have the "block" module built in now, so the udev rule which is meant to set the default in-kernel polling value doesn't work:
ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", ATTR{parameters/events_dfl_poll_msecs}="2000"
This requires a sysctl.d setting now. Will add to udev package.
However, even when I set the polling interval manually, the kernel still doesn't emit an eject_request uevent, even though it claims to:
$ cat /sys/block/sr0/events media_change eject_request
I still need to investigate that.
The first reason is that our current kernel package seems to have the "block" module built in now, so the udev rule which is meant to set the default in-kernel polling value doesn't work:
ACTION=="add", SUBSYSTEM= ="module" , KERNEL=="block", ATTR{parameters /events_ dfl_poll_ msecs}= ="0", ATTR{parameters /events_ dfl_poll_ msecs}= "2000"
This requires a sysctl.d setting now. Will add to udev package.
However, even when I set the polling interval manually, the kernel still doesn't emit an eject_request uevent, even though it claims to:
$ cat /sys/block/ sr0/events
media_change eject_request
I still need to investigate that.