View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1893 Location: PB, Germany
|
Posted: Fri Mar 23, 2018 10:24 am Post subject: autofs not detecting new devices via LABEL= |
|
|
Hi,
using autofs via LABEL= it does not detect new devices. After I plug a LUKS encrypted USB drive, I have a udev-rule unlocking that via keyfile. However after plugging I have a functional /dev/mapper device and the new LABEL in blkid |grep LABEL. But autofs doesn't mount, it only works after restarting the service. Any other solution? _________________ HP ZBook Power G9 i7-12700H|HP ProDesk 600 G5 i7-9700|HP EliteDesk 800 G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
 |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1893 Location: PB, Germany
|
Posted: Mon Jul 09, 2018 8:49 am Post subject: |
|
|
Any idea how to solve this? I can always restart the autofs service. It also seems that it recognizes the new device after a while, but usually not immediately after plugged in.
It sounds a bad idea to to some rc-service autofs restart in the udev script for every new device. _________________ HP ZBook Power G9 i7-12700H|HP ProDesk 600 G5 i7-9700|HP EliteDesk 800 G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
 |
|