[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problema con montaggio chiavette usb



Il giorno mer, 17/05/2017 alle 13.19 +0200, Giovanni Bellonio ha
scritto:
[...]
> May 17 13:14:59 VBWKS00043 kernel: [16453.696666]  sdb: sdb1
> May 17 13:14:59 VBWKS00043 kernel: [16453.699263] sd 6:0:0:0: [sdb] 
> Attached SCSI removable disk
> May 17 13:14:59 VBWKS00043 systemd-udevd[4016]: Process 
> '/usr/share/usbmount/usbmount add' failed with exit code 2.
> May 17 13:14:59 VBWKS00043 systemd-udevd[4016]: Process 
> '/usr/share/usbmount/usbmount add' failed with exit code 2.

questo?
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676554#20

Ho visto lo script usbmount e non fa mai un «exit 2» quindi il codice
d'errore deve venire da uno dei comandi che utilizza.
Apri lo script /usr/share/usbmount/usbmount e cambia la riga iniziale
«exec > /dev/null 2>&1» in «exec > /tmp/usbmount.log 2>&1»; e la riga
precedente da «set -e» a «set -ex». In questo modo, dopo l'esecuzione,
dovresti avere il file /tmp/usbmount.log con qualche informazione in
più.

Per avere altre informazioni via syslog, puoi anche aggiungere
«VERBOSE=Y» in fondo a /etc/usbmount/usbmount.conf

Ciao,
Giuseppe


Reply to: