I've made the necessary changes described in #2 above but when I plug in
a usb drive I get the following error

Oct 23 20:48:27 vstreamer systemd-udevd[4114]: Process
'/usr/share/usbmount/usbmount add' failed with exit code 2.

There is about a 40 second delay (guessing) and then it looks like it
tries again and succeeds...

Here is the full syslog

***********************
Oct 23 20:48:26 vstreamer kernel: [ 7920.611951] usb 3-9: new high-speed USB 
device number 6 using xhci_hcd
Oct 23 20:48:26 vstreamer kernel: [ 7920.760519] usb 3-9: New USB device found, 
idVendor=0781, idProduct=5406
Oct 23 20:48:26 vstreamer kernel: [ 7920.760521] usb 3-9: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Oct 23 20:48:26 vstreamer kernel: [ 7920.760523] usb 3-9: Product: U3 Cruzer 
Micro
Oct 23 20:48:26 vstreamer kernel: [ 7920.760525] usb 3-9: Manufacturer: SanDisk
Oct 23 20:48:26 vstreamer kernel: [ 7920.760526] usb 3-9: SerialNumber: 
1738811618C2524A
Oct 23 20:48:26 vstreamer kernel: [ 7920.760924] usb-storage 3-9:1.0: USB Mass 
Storage device detected
Oct 23 20:48:26 vstreamer kernel: [ 7920.761036] scsi host6: usb-storage 3-9:1.0
Oct 23 20:48:27 vstreamer kernel: [ 7921.788338] scsi 6:0:0:0: Direct-Access    
 SanDisk  Cruzer           8.02 PQ: 0 ANSI: 0 CCS
Oct 23 20:48:27 vstreamer kernel: [ 7921.788545] sd 6:0:0:0: Attached scsi 
generic sg1 type 0
Oct 23 20:48:27 vstreamer kernel: [ 7921.789004] sd 6:0:0:0: [sdb] Attached 
SCSI removable disk
Oct 23 20:48:27 vstreamer usbmount[4132]: loaded usbmount configurations
Oct 23 20:48:27 vstreamer usbmount[4132]: trying to acquire lock 
/var/run/usbmount/.mount.lock
Oct 23 20:48:27 vstreamer usbmount[4132]: acquired lock 
/var/run/usbmount/.mount.lock
Oct 23 20:48:27 vstreamer systemd-udevd[4114]: Process 
'/usr/share/usbmount/usbmount add' failed with exit code 2.
Oct 23 20:48:28 vstreamer kernel: [ 7922.544364] sd 6:0:0:0: [sdb] 15704063 
512-byte logical blocks: (8.04 GB/7.49 GiB)
Oct 23 20:48:28 vstreamer kernel: [ 7922.545035] sdb: detected capacity change 
from 0 to 8040480256
Oct 23 20:48:28 vstreamer kernel: [ 7922.545542]  sdb: sdb1
Oct 23 20:48:49 vstreamer usbmount[4614]: loaded usbmount configurations
Oct 23 20:48:49 vstreamer usbmount[4614]: trying to acquire lock 
/var/run/usbmount/.mount.lock
Oct 23 20:48:49 vstreamer usbmount[4614]: acquired lock 
/var/run/usbmount/.mount.lock
Oct 23 20:48:49 vstreamer usbmount[4614]: /dev/sdb1 contains filesystem type 
vfat
Oct 23 20:48:49 vstreamer usbmount[4614]: mountpoint /media/usb0 is available 
for /dev/sdb1
Oct 23 20:48:49 vstreamer usbmount[4614]: executing command: mount -tvfat 
-osync,noexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
Oct 23 20:48:49 vstreamer kernel: [ 7943.650747] FAT-fs (sdb1): Volume was not 
properly unmounted. Some data may be corrupt. Please run fsck.
Oct 23 20:48:49 vstreamer usbmount[4614]: executing command: run-parts 
/etc/usbmount/mount.d
Oct 23 20:48:49 vstreamer usbmount[4614]: usbmount execution finished

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768010

Title:
  usbmount does not work on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usbmount/+bug/1768010/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to