Ferk / udev-media-automount

A simple automount mechanism using udev rules
Other
125 stars 59 forks source link

after updating to bookworm I see automount failures on SD card partitions and other things that should not be automounted #31

Open ballle98 opened 1 month ago

ballle98 commented 1 month ago
openhabian@openhabian:~ $ systemctl | grep fail
● media-automount@mmcblk0p1.service                                                                                                                  loaded failed failed    media-automount@mmcblk0p1.service
● media-automount@sda.service                                                                                                                        loaded failed failed    media-automount@sda.service
● media-automount@sda1.service                                                                                                                       loaded failed failed    media-automount@sda1.service
● media-automount@sdhci-brcmstb.service                                                                                                              loaded failed failed    media-automount@sdhci-brcmstb.service
● media-automount@sdhci-iproc.service                                                                                                                loaded failed failed    media-automount@sdhci-iproc.service
● media-automount@sdhci.service                                                                                                                      loaded failed failed    media-automount@sdhci.service
● media-automount@sdhost-bcm2835.service                                                                                                             loaded failed failed    media-automount@sdhost-bcm2835.service
● media-automount@sdio.service                                                                                                                       loaded failed failed    media-automount@sdio.service

openhabian@openhabian:~/git/udev-media-automount $ systemctl status media-automount@mmcblk0p1.service
× media-automount@mmcblk0p1.service
     Loaded: loaded (/lib/systemd/system/media-automount@.service; static)
     Active: failed (Result: timeout) since Mon 2024-10-21 21:25:29 CDT; 19h ago
    Process: 608 ExecStart=/usr/bin/media-automount mmcblk0p1 (code=killed, signal=TERM)
        CPU: 32ms

Oct 21 21:23:38 openhabian systemd[1]: Starting media-automount@mmcblk0p1.service...
Oct 21 21:25:29 openhabian systemd[1]: media-automount@mmcblk0p1.service: start operation timed out. Terminating.
Oct 21 21:25:29 openhabian systemd[1]: media-automount@mmcblk0p1.service: Failed with result 'timeout'.
Oct 21 21:25:29 openhabian systemd[1]: Failed to start media-automount@mmcblk0p1.service.
openhabian@openhabian:~/git/udev-media-automount $ mount | grep p1
/dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
openhabian@openhabian:/media/bootfs.vfat $ cat /etc/fstab
proc            /proc           proc    defaults          0       0
PARTUUID=8b550118-01  /boot/firmware  vfat    defaults          0       2
PARTUUID=8b550118-02  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that