<HTML><BODY><div><div>Package: udev<br>Version: 252.4-1<br>Severity: important</div><div>I have encountered an issue with `udev` after upgrade from the latest Ubuntu<br>Impish (the issue was not experienced on it). A symlink defined in the rules<br>for device is not visible. The investigation has shown that it was created and<br>then deleted by `udev`.</div><div>When the rule of the form `ATTR{idVendor}=="VID", ATTR{idProduct}=="PID",<br>SYMLINK+="symlink_name-%n", MODE="0666"` is used, the following records apper<br>in the log</div><div>```<br>Successfully created symlink '/dev/symlink_name-2' to '/dev/bus/usb/XXX/YYY'<br>...<br>Removing/updating old device symlink '/dev/symlink_name-2', which is no longer<br>belonging to this device.<br>No reference left for '/dev/symlink_name-2', removing<br>```</div><div>Notice the number 2. Why is it using 2, where is 1, there is no ` /dev/symlink_name-1` ? Only one physical device of the same type is connected to the PC.</div><div>The problem has encountered with a USB device emulating a serial port (I haven't investigated which chip is used internally), but since you likely have no such device, I have rewritten the rule to be used<br>against any widespread trash-tier flash drive with the identifier abcd:1234 most of you surely have access to.</div><div>The issue reproduces on both udev 252.4-1 from testing/unstable and on the one<br>from stable 247.3-7+deb11u1</div><div><br>In order to test if the issue is caused by kernel, I have tried udev version 252.4-1 on the 9 kernel images (and the corresponding 6 initrds).<br>From Debian:<br>```<br>linux-image-5.10.0-20-amd64/stable,now 5.10.158-2 amd64 [installed]<br>linux-image-5.18.0-0.deb11.4-amd64/bullseye-backports,now 5.18.16-1~bpo11+1 amd64 [installed]<br>linux-image-5.19.0-0.deb11.2-amd64/bullseye-backports,now 5.19.11-1~bpo11+1 amd64 [installed]<br>linux-image-6.0.0-6-amd64/testing,now 6.0.12-1 amd64 [installed]<br>```</div><div> </div><div>from Ubuntu:<br>```<br>linux-image-5.13.0-35-generic/now 5.13.0-35.40~20.04.1 amd64 [installed,local]<br>linux-image-5.14.0-1055-oem/now 5.14.0-1055.62 amd64 [installed,local]<br>linux-image-5.15.0-57-generic/now 5.15.0-57.63 amd64 [installed,local]<br>linux-image-5.17.0-1003-oem/now 5.17.0-1003.3 amd64 [installed,local]<br>linux-image-5.19.0-21-generic/now 5.19.0-21.21 amd64 [installed,local]<br>```</div><div><br>The issue reproduces on all of them (including the ones there was no issue on when I used to be using Ubuntu).<br>So it is likely that the issue is in udev or in some of its rules and<br>not in the hardware or kernel.</div><div>1. Here is the udev rule (abcd:1234 are the real IDs exposed by some flash drives)</div><div>```</div><div>SUBSYSTEM!="usb_device", ACTION!="add", GOTO="test_rules_end"<br>ATTR{idVendor}=="abcd", ATTR{idProduct}=="1234", SYMLINK+="test_device-%n", MODE="0666"<br>LABEL="test_rules_end"</div><div>```</div><div>2. here are the commands used to reproduce<br>```<br>udevadm control --log-priority=debug<br>journalctl -f | grep systemd-udevd<br>```</div><div>After typing them the flash drive has been attached, then ctrl+c was hit. Here<br>is the relevant piece of the log (sensitive info was replaces with `censored`,<br>irrelevant info, like date and time (except seconds), removed).</div><div>```<br>20: 1-1.2: Device is queued (SEQNUM=2845, ACTION=add)<br>20: 1-1.2: Device ready for processing (SEQNUM=2845, ACTION=add)<br>20: Successfully forked off 'n/a' as PID 3710.<br>20: 1-1.2: Worker [3710] is forked for processing SEQNUM=2845.<br>20: 1-1.2: Device is queued (SEQNUM=2846, ACTION=bind)<br>20: 1-1.2: SEQNUM=2846 blocked by SEQNUM=2845<br>20: 1-1.2: Processing device (SEQNUM=2845, ACTION=add)<br>20: 1-c.e:n.s: Device is queued (SEQNUM=2847, ACTION=add)<br>20: 1-c.e:n.s: SEQNUM=2847 blocked by SEQNUM=2845<br>20: 1-1.2: Removing watch handle -1.<br>20: scsi_tmf_2: Device is queued (SEQNUM=2848, ACTION=add)<br>20: scsi_tmf_2: Device ready for processing (SEQNUM=2848, ACTION=add)<br>20: 1-1.2: /usr/lib/udev/rules.d/10-test.rules:13 MODE 0666<br>20: 1-1.2: /usr/lib/udev/rules.d/10-test.rules:13 LINK 'test_device'<br>20: Successfully forked off 'n/a' as PID 3711.<br>20: scsi_tmf_2: Worker [3711] is forked for processing SEQNUM=2848.<br>20: 1-1.2: /usr/lib/udev/rules.d/50-udev-default.rules:17 Importing properties from results of builtin command 'usb_id'<br>20: host2: Device is queued (SEQNUM=2849, ACTION=add)<br>20: host2: SEQNUM=2849 blocked by SEQNUM=2845<br>20: host2: Device is queued (SEQNUM=2850, ACTION=add)<br>20: host2: SEQNUM=2850 blocked by SEQNUM=2845<br>20: 1-1.2: /usr/lib/udev/rules.d/50-udev-default.rules:17 Importing properties from results of builtin command 'hwdb --subsystem=usb'<br>20: 1-1.2: hwdb modalias key: "usb:vABCDp1234:UDisk "<br>20: 1-c.e:n.s: Device is queued (SEQNUM=2851, ACTION=bind)<br>20: scsi_tmf_2: Processing device (SEQNUM=2848, ACTION=add)<br>20: 1-1.2: /usr/lib/udev/rules.d/50-udev-default.rules:55 MODE 0664<br>20: 1-c.e:n.s: SEQNUM=2851 blocked by SEQNUM=2845<br>20: 1-1.2: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id'<br>20: 1-1.2: /usr/lib/udev/rules.d/60-virtualbox.rules:2 RUN 'VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers'<br>20: 1-1.2: /usr/lib/udev/rules.d/90-libiio0.rules:1 Running PROGRAM '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234''<br>20: 1-1.2: Starting '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234''<br>20: scsi_tmf_2: Device processed (SEQNUM=2848, ACTION=add)<br>20: scsi_tmf_2: sd-device-monitor(worker): Passed 180 byte to netlink monitor.<br>20: Successfully forked off '(spawn)' as PID 3712.<br>20: 1-1.2: '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234''(err) '/bin/sh: 1: /usr/bin/iio_info: not found'<br>20: 1-1.2: Process '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234'' failed with exit code 1.<br>20: 1-1.2: /usr/lib/udev/rules.d/90-libiio0.rules:1 Command "/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234'" returned 1 (error)<br>20: 1-1.2: Setting permissions /dev/bus/usb/001/008, uid=0, gid=0, mode=0664<br>20: 1-1.2: Successfully created symlink '/dev/test_device-2' to '/dev/bus/usb/001/008'<br>20: 1-1.2: Successfully created symlink '/dev/char/189:7' to '/dev/bus/usb/001/008'<br>20: 1-1.2: sd-device: Created db file '/run/udev/data/c189:7' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2'<br>20: 1-1.2: Running command "VBoxCreateUSBNode.sh 189 7 00 vboxusers"<br>20: 1-1.2: Starting 'VBoxCreateUSBNode.sh 189 7 00 vboxusers'<br>20: Successfully forked off '(spawn)' as PID 3715.<br>20: 1-1.2: Process 'VBoxCreateUSBNode.sh 189 7 00 vboxusers' succeeded.<br>20: 1-1.2: Device processed (SEQNUM=2845, ACTION=add)<br>20: 1-1.2: sd-device-monitor(worker): Passed 1031 byte to netlink monitor.<br>20: 1-1.2: Device ready for processing (SEQNUM=2846, ACTION=bind)<br>20: 1-1.2: sd-device-monitor(manager): Passed 317 byte to netlink monitor.<br>20: 1-c.e:n.s: SEQNUM=2847 blocked by SEQNUM=2846<br>20: host2: SEQNUM=2849 blocked by SEQNUM=2846<br>20: host2: SEQNUM=2850 blocked by SEQNUM=2846<br>20: 1-c.e:n.s: SEQNUM=2851 blocked by SEQNUM=2846<br>20: 1-1.2: Processing device (SEQNUM=2846, ACTION=bind)<br>20: 1-1.2: Removing watch handle -1.<br>20: 1-1.2: /usr/lib/udev/rules.d/50-udev-default.rules:17 Importing properties from results of builtin command 'usb_id'<br>20: 1-1.2: /usr/lib/udev/rules.d/50-udev-default.rules:17 Importing properties from results of builtin command 'hwdb --subsystem=usb'<br>20: 1-1.2: hwdb modalias key: "usb:vABCDp1234:UDisk "<br>20: 1-1.2: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id'<br>20: 1-1.2: /usr/lib/udev/rules.d/90-libiio0.rules:1 Running PROGRAM '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234''<br>20: 1-1.2: Starting '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234''<br>20: Successfully forked off '(spawn)' as PID 3727.<br>20: 1-1.2: '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234''(err) '/bin/sh: 1: /usr/bin/iio_info: not found'<br>20: 1-1.2: Process '/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234'' failed with exit code 1.<br>20: 1-1.2: /usr/lib/udev/rules.d/90-libiio0.rules:1 Command "/bin/sh -c '/usr/bin/iio_info -S usb=abcd:1234 | grep abcd:1234'" returned 1 (error)<br>20: 1-1.2: Removing/updating old device symlink '/dev/test_device-2', which is no longer belonging to this device.<br>20: 1-1.2: No reference left for '/dev/test_device-2', removing<br>20: 1-1.2: Successfully created symlink '/dev/char/189:7' to '/dev/bus/usb/001/008'<br>20: 1-1.2: sd-device: Created db file '/run/udev/data/c189:7' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2'<br>20: 1-1.2: Device processed (SEQNUM=2846, ACTION=bind)<br>20: 1-1.2: sd-device-monitor(worker): Passed 1006 byte to netlink monitor.<br>20: 1-c.e:n.s: Device ready for processing (SEQNUM=2847, ACTION=add)<br>20: 1-c.e:n.s: sd-device-monitor(manager): Passed 325 byte to netlink monitor.<br>20: host2: SEQNUM=2849 blocked by SEQNUM=2847<br>20: host2: SEQNUM=2850 blocked by SEQNUM=2847<br>20: 1-c.e:n.s: SEQNUM=2851 blocked by SEQNUM=2847<br>20: 1-c.e:n.s: Processing device (SEQNUM=2847, ACTION=add)<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/50-udev-default.rules:18 Importing properties from results of builtin command 'hwdb --subsystem=usb'<br>20: 1-c.e:n.s: hwdb modalias key: "usb:censored"<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id'<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/60-libgphoto2-6.rules:9 Importing properties from results of builtin command 'usb_id'<br>20: 1-c.e:n.s: Failed to access usb_interface: No such file or directory<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/60-libgphoto2-6.rules:9 Failed to run builtin 'usb_id': No such file or directory<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/80-drivers.rules:5 RUN 'kmod load'<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/90-libiio0.rules:1 Running PROGRAM '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :''<br>20: 1-c.e:n.s: Starting '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :''<br>20: Successfully forked off '(spawn)' as PID 3733.<br>20: 1-c.e:n.s: '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :''(err) '/bin/sh: 1: /usr/bin/iio_info: not found'<br>20: 1-c.e:n.s: Process '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :'' failed with exit code 1.<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/90-libiio0.rules:1 Command "/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :'" returned 1 (error)<br>20: 1-c.e:n.s: sd-device: Created db file '/run/udev/data/+usb:1-c.e:n.s' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2/1-c.e:n.s'<br>20: 1-c.e:n.s: Running built-in command "kmod load"<br>20: Loading module: usb:censored<br>20: Module 'uas' is already loaded<br>20: Module 'usb_storage' is already loaded<br>20: 1-c.e:n.s: Device processed (SEQNUM=2847, ACTION=add)<br>20: 1-c.e:n.s: sd-device-monitor(worker): Passed 500 byte to netlink monitor.<br>20: host2: Device ready for processing (SEQNUM=2849, ACTION=add)<br>20: host2: sd-device-monitor(manager): Passed 219 byte to netlink monitor.<br>20: host2: SEQNUM=2850 blocked by SEQNUM=2849<br>20: 1-c.e:n.s: SEQNUM=2851 blocked by SEQNUM=2849<br>20: host2: Processing device (SEQNUM=2849, ACTION=add)<br>20: host2: Device processed (SEQNUM=2849, ACTION=add)<br>20: host2: sd-device-monitor(worker): Passed 219 byte to netlink monitor.<br>20: host2: Device ready for processing (SEQNUM=2850, ACTION=add)<br>20: host2: sd-device-monitor(manager): Passed 222 byte to netlink monitor.<br>20: 1-c.e:n.s: SEQNUM=2851 blocked by SEQNUM=2850<br>20: host2: Processing device (SEQNUM=2850, ACTION=add)<br>20: host2: Device processed (SEQNUM=2850, ACTION=add)<br>20: host2: sd-device-monitor(worker): Passed 222 byte to netlink monitor.<br>20: 1-c.e:n.s: Device ready for processing (SEQNUM=2851, ACTION=bind)<br>20: 1-c.e:n.s: sd-device-monitor(manager): Passed 345 byte to netlink monitor.<br>20: 1-c.e:n.s: Processing device (SEQNUM=2851, ACTION=bind)<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/50-udev-default.rules:18 Importing properties from results of builtin command 'hwdb --subsystem=usb'<br>20: 1-c.e:n.s: hwdb modalias key: "usb:censored"<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id'<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/60-libgphoto2-6.rules:9 Importing properties from results of builtin command 'usb_id'<br>20: 1-c.e:n.s: Failed to access usb_interface: No such file or directory<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/60-libgphoto2-6.rules:9 Failed to run builtin 'usb_id': No such file or directory<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/90-libiio0.rules:1 Running PROGRAM '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :''<br>20: 1-c.e:n.s: Starting '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :''<br>20: Successfully forked off '(spawn)' as PID 3737.<br>20: 1-c.e:n.s: '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :''(err) '/bin/sh: 1: /usr/bin/iio_info: not found'<br>20: 1-c.e:n.s: Process '/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :'' failed with exit code 1.<br>20: 1-c.e:n.s: /usr/lib/udev/rules.d/90-libiio0.rules:1 Command "/bin/sh -c '/usr/bin/iio_info -S usb=: | grep :'" returned 1 (error)<br>20: 1-c.e:n.s: sd-device: Created db file '/run/udev/data/+usb:1-c.e:n.s' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2/1-c.e:n.s'<br>20: 1-c.e:n.s: Device processed (SEQNUM=2851, ACTION=bind)<br>20: 1-c.e:n.s: sd-device-monitor(worker): Passed 501 byte to netlink monitor.<br>20: No events are queued, removing /run/udev/queue.<br>21: target2:0:0: Device is queued (SEQNUM=2852, ACTION=add)<br>21: target2:0:0: Device ready for processing (SEQNUM=2852, ACTION=add)<br>21: target2:0:0: sd-device-monitor(manager): Passed 233 byte to netlink monitor.<br>21: 2:0:0:0: Device is queued (SEQNUM=2853, ACTION=add)<br>21: target2:0:0: Processing device (SEQNUM=2852, ACTION=add)<br>21: 2:0:0:0: SEQNUM=2853 blocked by SEQNUM=2852<br>21: 2:0:0:0: Device is queued (SEQNUM=2854, ACTION=add)<br>21: 2:0:0:0: SEQNUM=2854 blocked by SEQNUM=2852<br>21: sg2: Device is queued (SEQNUM=2855, ACTION=add)<br>21: sg2: SEQNUM=2855 blocked by SEQNUM=2852<br>21: 2:0:0:0: Device is queued (SEQNUM=2856, ACTION=add)<br>21: 2:0:0:0: SEQNUM=2856 blocked by SEQNUM=2852<br>21: 2:0:0:0: Device is queued (SEQNUM=2857, ACTION=add)<br>21: 2:0:0:0: SEQNUM=2857 blocked by SEQNUM=2852<br>21: 8:16: Device is queued (SEQNUM=2858, ACTION=add)<br>21: 8:16: Device ready for processing (SEQNUM=2858, ACTION=add)<br>21: 8:16: sd-device-monitor(manager): Passed 162 byte to netlink monitor.<br>21: 8:16: Processing device (SEQNUM=2858, ACTION=add)<br>21: target2:0:0: Device processed (SEQNUM=2852, ACTION=add)<br>21: 8:16: Device processed (SEQNUM=2858, ACTION=add)<br>21: target2:0:0: sd-device-monitor(worker): Passed 233 byte to netlink monitor.<br>21: 8:16: sd-device-monitor(worker): Passed 162 byte to netlink monitor.<br>21: 2:0:0:0: Device ready for processing (SEQNUM=2853, ACTION=add)<br>21: 2:0:0:0: sd-device-monitor(manager): Passed 262 byte to netlink monitor.<br>21: 2:0:0:0: SEQNUM=2854 blocked by SEQNUM=2853<br>21: sg2: SEQNUM=2855 blocked by SEQNUM=2853<br>21: 2:0:0:0: SEQNUM=2856 blocked by SEQNUM=2853<br>21: 2:0:0:0: SEQNUM=2857 blocked by SEQNUM=2853<br>21: 2:0:0:0: Processing device (SEQNUM=2853, ACTION=add)<br>21: 2:0:0:0: /usr/lib/udev/rules.d/50-udev-default.rules:18 Importing properties from results of builtin command 'hwdb --subsystem=scsi'<br>21: 2:0:0:0: hwdb modalias key: "scsi:t-0x00"<br>21: 2:0:0:0: No entry found from hwdb.<br>21: 2:0:0:0: /usr/lib/udev/rules.d/50-udev-default.rules:18 Failed to run builtin 'hwdb --subsystem=scsi': No data available<br>21: path '[module/sg]' is '/sys/module/sg'<br>21: 2:0:0:0: /usr/lib/udev/rules.d/80-drivers.rules:5 RUN 'kmod load'<br>21: 2:0:0:0: Running built-in command "kmod load"<br>21: Loading module: scsi:t-0x00<br>21: Module 'sd_mod' is already loaded<br>21: 2:0:0:0: Device processed (SEQNUM=2853, ACTION=add)<br>21: 2:0:0:0: sd-device-monitor(worker): Passed 272 byte to netlink monitor.<br>21: 2:0:0:0: Device ready for processing (SEQNUM=2854, ACTION=add)<br>21: 2:0:0:0: sd-device-monitor(manager): Passed 248 byte to netlink monitor.<br>21: sg2: Device ready for processing (SEQNUM=2855, ACTION=add)<br>21: sg2: sd-device-monitor(manager): Passed 280 byte to netlink monitor.<br>21: 2:0:0:0: Processing device (SEQNUM=2854, ACTION=add)<br>21: 2:0:0:0: Device ready for processing (SEQNUM=2856, ACTION=add)<br>21: Successfully forked off 'n/a' as PID 3742.<br>21: 2:0:0:0: Worker [3742] is forked for processing SEQNUM=2856.<br>21: 2:0:0:0: Device ready for processing (SEQNUM=2857, ACTION=add)<br>21: Successfully forked off 'n/a' as PID 3743.<br>21: 2:0:0:0: Worker [3743] is forked for processing SEQNUM=2857.<br>21: sg2: Processing device (SEQNUM=2855, ACTION=add)<br>21: sg2: Removing watch handle -1.<br>21: sg2: /usr/lib/udev/rules.d/50-udev-default.rules:82 GROUP 6<br>21: sdb: Device is queued (SEQNUM=2859, ACTION=add)<br>21: sdb: Device ready for processing (SEQNUM=2859, ACTION=add)<br>21: Successfully forked off 'n/a' as PID 3744.<br>21: sdb: Worker [3744] is forked for processing SEQNUM=2859.<br>21: sdb1: Device is queued (SEQNUM=2860, ACTION=add)<br>21: sdb1: SEQNUM=2860 blocked by SEQNUM=2859<br>21: 2:0:0:0: Device is queued (SEQNUM=2861, ACTION=bind)<br>21: 2:0:0:0: SEQNUM=2861 blocked by SEQNUM=2854<br>21: 2:0:0:0: Processing device (SEQNUM=2856, ACTION=add)<br>21: sg2: Setting permissions /dev/sg2, uid=0, gid=6, mode=0660<br>21: sg2: Successfully created symlink '/dev/char/21:2' to '/dev/sg2'<br>21: sg2: sd-device: Created empty file '/run/udev/data/cen:s' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2/1-c.e:n.s/host2/target2:0:0/2:0:0:0/scsi_generic/sg2'<br>21: sg2: Device processed (SEQNUM=2855, ACTION=add)<br>21: sg2: sd-device-monitor(worker): Passed 280 byte to netlink monitor.<br>21: 2:0:0:0: Processing device (SEQNUM=2857, ACTION=add)<br>21: 2:0:0:0: Removing watch handle -1.<br>21: 2:0:0:0: Device processed (SEQNUM=2854, ACTION=add)<br>21: 2:0:0:0: sd-device-monitor(worker): Passed 248 byte to netlink monitor.<br>21: 2:0:0:0: SEQNUM=2861 blocked by SEQNUM=2856<br>21: sdb: Processing device (SEQNUM=2859, ACTION=add)<br>21: sdb: Removing watch handle -1.<br>21: sdb: /usr/lib/udev/rules.d/50-udev-default.rules:74 GROUP 6<br>21: 2:0:0:0: Preserve permissions of /dev/bsg/2:0:0:0, uid=0, gid=0, mode=0600<br>21: 2:0:0:0: Successfully created symlink '/dev/char/250:2' to '/dev/bsg/2:0:0:0'<br>21: 2:0:0:0: sd-device: Created empty file '/run/udev/data/c250:2' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2/1-c.e:n.s/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0'<br>21: 2:0:0:0: Device processed (SEQNUM=2857, ACTION=add)<br>21: 2:0:0:0: sd-device-monitor(worker): Passed 275 byte to netlink monitor.<br>21: sdb: /usr/lib/udev/rules.d/60-persistent-storage.rules:63 Importing properties from results of builtin command 'usb_id'<br>21: 2:0:0:0: Device processed (SEQNUM=2856, ACTION=add)<br>21: 2:0:0:0: sd-device-monitor(worker): Passed 244 byte to netlink monitor.<br>21: 1-c.e:n.s: if_class:8 protocol:6<br>21: 2:0:0:0: SEQNUM=2861 blocked by SEQNUM=2859<br>21: sdb: /usr/lib/udev/rules.d/60-persistent-storage.rules:68 LINK 'disk/by-id/usb-General_UDisk-0:0'<br>21: sdb: /usr/lib/udev/rules.d/60-persistent-storage.rules:74 LINK 'disk/by-id/usb-General_UDisk-0:0'<br>21: sdb: /usr/lib/udev/rules.d/60-persistent-storage.rules:96 Importing properties from results of builtin command 'path_id'<br>21: sdb: /usr/lib/udev/rules.d/60-persistent-storage.rules:99 LINK 'disk/by-path/pci-0000:00:12.0-usb-0:c.e:n.s-scsi-0:0:0:0'<br>21: sdb: /usr/lib/udev/rules.d/60-persistent-storage.rules:120 Importing properties from results of builtin command 'blkid'<br>21: sdb: Probe /dev/sdb with raid and offset=0<br>21: sdb: /usr/lib/udev/rules.d/60-persistent-storage.rules:139 LINK 'disk/by-diskseq/11'<br>21: sdb: /usr/lib/udev/rules.d/69-bcache.rules:16 Importing properties from results of 'probe-bcache -o udev /dev/sdb'<br>21: sdb: Starting 'probe-bcache -o udev /dev/sdb'<br>21: Successfully forked off '(spawn)' as PID 3749.<br>21: sdb: Process 'probe-bcache -o udev /dev/sdb' succeeded.<br>21: sdb: /usr/lib/udev/rules.d/85-hdparm.rules:1 RUN '/lib/udev/hdparm'<br>21: sdb: Setting permissions /dev/sdb, uid=0, gid=6, mode=0660<br>21: sdb: Successfully created symlink '/dev/disk/by-path/pci-0000:00:12.0-usb-0:c.e:n.s-scsi-0:0:0:0' to '/dev/sdb'<br>21: sdb: Successfully created symlink '/dev/disk/by-diskseq/11' to '/dev/sdb'<br>21: sdb: Successfully created symlink '/dev/disk/by-id/usb-General_UDisk-0:0' to '/dev/sdb'<br>21: sdb: Successfully created symlink '/dev/block/8:16' to '/dev/sdb'<br>21: sdb: sd-device: Created db file '/run/udev/data/b8:16' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2/1-c.e:n.s/host2/target2:0:0/2:0:0:0/block/sdb'<br>21: sdb: Running command "/lib/udev/hdparm"<br>21: sdb: Starting '/lib/udev/hdparm'<br>21: Successfully forked off '(spawn)' as PID 3750.<br>21: sdb: Process '/lib/udev/hdparm' succeeded.<br>21: sdb: Adding watch on '/dev/sdb'<br>21: sdb: Device processed (SEQNUM=2859, ACTION=add)<br>21: sdb: sd-device-monitor(worker): Passed 1238 byte to netlink monitor.<br>21: sdb1: Device ready for processing (SEQNUM=2860, ACTION=add)<br>21: sdb1: sd-device-monitor(manager): Passed 339 byte to netlink monitor.<br>21: 2:0:0:0: SEQNUM=2861 blocked by SEQNUM=2860<br>21: sdb1: Processing device (SEQNUM=2860, ACTION=add)<br>21: sdb1: Removing watch handle -1.<br>21: sdb1: /usr/lib/udev/rules.d/50-udev-default.rules:74 GROUP 6<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:69 LINK 'disk/by-id/usb-General_UDisk-0:0-part1'<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:75 LINK 'disk/by-id/usb-General_UDisk-0:0-part1'<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:100 LINK 'disk/by-path/pci-0000:00:12.0-usb-c:e.n:s.o-scsi-0:0:0:0-part1'<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:120 Importing properties from results of builtin command 'blkid'<br>21: sdb1: Probe /dev/sdb1 with raid and offset=0<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:125 LINK 'disk/by-uuid/CENS-ORED'<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:126 LINK 'disk/by-label/censored'<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:133 LINK 'disk/by-partuuid/censored-cens-ored-cens-oredcensoredc'<br>21: sdb1: /usr/lib/udev/rules.d/60-persistent-storage.rules:134 LINK 'disk/by-partlabel/Microsoft\x20basic\x20data'<br>21: sdb1: Setting permissions /dev/sdb1, uid=0, gid=6, mode=0660<br>21: sdb1: Successfully created symlink '/dev/disk/by-id/usb-General_UDisk-0:0-part1' to '/dev/sdb1'<br>21: sdb1: Successfully created symlink '/dev/disk/by-uuid/CENS-ORED' to '/dev/sdb1'<br>21: sdb1: Successfully created symlink '/dev/disk/by-partuuid/censored-cens-ored-cens-oredcensoredc' to '/dev/sdb1'<br>21: sdb1: Successfully created symlink '/dev/disk/by-<br>partlabel/Microsoft\x20basic\x20data' to '/dev/sdb1'<br>21: sdb1: Successfully created symlink '/dev/disk/by-label/censored' to '/dev/sdb1'<br>21: sdb1: Successfully created symlink '/dev/disk/by-path/pci-0000:00:12.0-usb-c:e.n:s.o-scsi-0:0:0:0-part1' to '/dev/sdb1'<br>21: sdb1: Successfully created symlink '/dev/block/8:17' to '/dev/sdb1'<br>21: sdb1: sd-device: Created db file '/run/udev/data/b8:17' for '/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.2/1-c.e:n.s/host2/target2:0:0/2:0:0:0/block/sdb/sdb1'<br>21: sdb1: Adding watch on '/dev/sdb1'<br>21: sdb1: Device processed (SEQNUM=2860, ACTION=add)<br>21: sdb1: sd-device-monitor(worker): Passed 1861 byte to netlink monitor.<br>21: 2:0:0:0: Device ready for processing (SEQNUM=2861, ACTION=bind)<br>21: 2:0:0:0: sd-device-monitor(manager): Passed 273 byte to netlink monitor.<br>21: 2:0:0:0: Processing device (SEQNUM=2861, ACTION=bind)<br>21: 2:0:0:0: /usr/lib/udev/rules.d/50-udev-default.rules:18 Importing properties from results of builtin command 'hwdb --subsystem=scsi'<br>21: 2:0:0:0: hwdb modalias key: "scsi:t-0x00"<br>21: 2:0:0:0: No entry found from hwdb.<br>21: 2:0:0:0: /usr/lib/udev/rules.d/50-udev-default.rules:18 Failed to run builtin 'hwdb --subsystem=scsi': No data available<br>21: path '[module/sg]' is '/sys/module/sg'<br>21: 2:0:0:0: Device processed (SEQNUM=2861, ACTION=bind)<br>21: 2:0:0:0: sd-device-monitor(worker): Passed 273 byte to netlink monitor.<br>21: No events are queued, removing /run/udev/queue.<br>```</div><div><br>-- Package-specific info:</div><div>-- System Information:<br>Debian Release: bookworm/sid<br>Architecture: amd64 (x86_64)</div><div>Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)<br>Init: systemd (via /run/systemd/system)<br>LSM: AppArmor: enabled</div><div>Versions of packages udev depends on:<br>ii adduser 3.130<br>ii libacl1 2.3.1-2<br>ii libblkid1 2.38.1-4<br>ii libc6 2.36-8<br>ii libcap2 1:2.66-3<br>ii libkmod2 30+20221128-1<br>ii libselinux1 3.4-1+b4<br>ii libudev1 252.4-1</div><div>Versions of packages udev is related to:<br>ii systemd 252.4-1</div><div>-- no debconf information</div><div> </div></div><div> </div><div data-signature-widget="container" data-signature-id="current"><div data-signature-widget="content"><div> </div></div></div></BODY></HTML>