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: 1564
Location: 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?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1564
Location: 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.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
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