Bug#789060: udev 220 regression: no uevent when block devices change
Martin Pitt
mpitt at debian.org
Wed Jun 17 14:13:51 BST 2015
Package: udev
Version: 220-1
Severity: serious
With udev 220, there is no change event any more for block devices
when programs like "mkfs" or "e2label" open and change them. This
causes e. g. udisks2 to break.
Simple reproducer:
$ sudo modprobe scsi_debug
$ udevadm monitor
Then run this in another terminal: sudo sh -c '> /dev/sdb'
(Replace "sdb" with the actual scsi_debug drive. This ought to be a
harmless command, but don't take chances in destroying your hard
disk!)
Up to udev 219 you get
KERNEL[40.913525] change /devices/pseudo_0/adapter0/host2/target2:0:0/2:0:0:0/block/sdb (block)
UDEV [41.021205] change /devices/pseudo_0/adapter0/host2/target2:0:0/2:0:0:0/block/sdb (block)
With 220 there is no uevent.
This was originally filed as https://launchpad.net/bugs/1466081, but
as that is quite a serious regression I want to block 220 from
testing.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150617/0b33a551/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list