rbrito / usbmount

Simple set of scripts to automount removable devices for a Linux system
275 stars 86 forks source link

Cannot acquire lock when mounting multiple drives #29

Open kevin201 opened 4 years ago

kevin201 commented 4 years ago

This works well generally on testing with Ubuntu 18.04, but when starting an hdd cabinet of 5 drives, 2 failed to mount with "cannot acquire lock /var/run/usbmount/.mount.lock" errors.

dermitza commented 2 years ago

This bug seems to be active since 2006 (?)[link].

dermitza commented 2 years ago

This branch[link] from the original thread in the above comment seems to address the issue with no ill-effects - caveat, only quickly tested it.