Bug#1002850: Re (2): Bug#1002850: udev fails to create a symlink for a SDHC card connected to a Sharp Mebius laptop.

Michael Biebl biebl at debian.org
Thu Dec 30 16:47:27 GMT 2021


On 30.12.21 16:47, peter at easthope.ca wrote:
> Hello Michael,
> 
> From: Michael Biebl <biebl at debian.org>
> Date: Thu, 30 Dec 2021 08:43:32 +0100
>> What procedures?
> 
> In essence I followed the procedure to attach a SYMLINK name to the
> SDHC card as described here.  https://wiki.debian.org/udev
> 
> The salient step is to make an effective udev rule.  More details are
> in the message at debian-user, linked in the preceeding message 10.

I'm not going to extract the information from debian-user. Those should 
be provided by you in the bug report.

> The result is these two different rules; each being effective in the
> desktop system.
> 
> KERNEL=="sd?1", ATTR{size}=="7434240", SYMLINK+="GRNSD", \
>   OWNER="peter", GROUP="users"
>   
> KERNEL=="sd?1", ENV{ID_SERIAL_SHORT}=="0201202010201000", SYMLINK+="GRNSD", \
>   OWNER="peter", GROUP="peter"
> 
> Neither of these produces the SYMLINK in Debian 11 on the Sharp Mebius.

What's the actual device name?
Please post the output of
udevadm info -a /dev/<DEVICE>
and
udevadm info /dev/<DEVICE>


What the debug output of systemd-udevd when you attach the device?


This command will allow one to observe the execution of rules:

udevadm control --log-priority=debug
journalctl -f

(and udevadm control --log-priority=info to set it back to sane levels)

-------------- 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/20211230/2f2caedb/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list