进程‘/usr/share/usbmount/usbmount add’失败,退出代码为 32(自动安装 SD 卡)

进程‘/usr/share/usbmount/usbmount add’失败,退出代码为 32(自动安装 SD 卡)

更新到 Ubuntu 22.04.2 后,usbmount 不再起作用。/var/logs/syslog包含以下内容:

May 21 13:57:44 homeserver usbmount[8979]: loaded usbmount configurations
May 21 13:57:44 homeserver usbmount[8979]: trying to acquire lock /var/run/usbmount/.mount.lock
May 21 13:57:44 homeserver usbmount[8979]: acquired lock /var/run/usbmount/.mount.lock
May 21 13:57:44 homeserver usbmount[8979]: /dev/sdc1 contains filesystem type exfat
May 21 13:57:44 homeserver usbmount[8979]: mountpoint /media/usb0 is available for /dev/sdc1
May 21 13:57:44 homeserver usbmount[8979]: executing command: mount -texfat -osync,noexec,nodev,noatime,nodiratime /dev/sdc1 /media/usb0
May 21 13:57:44 homeserver systemd-udevd[8932]: sdc1: Process '/usr/share/usbmount/usbmount add' failed with exit code 32.

手动运行sudo mount -texfat -osync,noexec,nodev,noatime,nodiratime /dev/sdc1 /media/usb0可以正常工作。

我曾尝试允许udevd更多访问权限,/etc/systemd/system/systemd-udevd.service.d/00-override.conf内容如下:

[Service]
PrivateMounts=no
MountFlags=shared

但无济于事。我错过了什么?

lsblk -f内容量度:

NAME        FSTYPE   FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
...
sdc                                                                                     
└─sdc1      exfat    1.0   sdreader    

相关内容