Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autofs not detecting new devices via LABEL=
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1771
Location: PB, Germany

PostPosted: Fri Mar 23, 2018 10:24 am    Post subject: autofs not detecting new devices via LABEL= Reply with quote

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 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1771
Location: PB, Germany

PostPosted: Mon Jul 09, 2018 8:49 am    Post subject: Reply with quote

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 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum