udev mount failure with error code 32
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Dear team
when connecting a usb-flash-stick, udev should execute an external bash script containing a mount command to mount the usb stick. The mount fails with error code 32, no further message.
Log file excerpt (journalctl -f):
Sep 09 12:22:37 GA-H77TN-00-XU kernel: usb 3-3: new high-speed USB device number 10 using xhci_hcd
Sep 09 12:22:37 GA-H77TN-00-XU kernel: usb 3-3: New USB device found, idVendor=13fe, idProduct=5500
Sep 09 12:22:37 GA-H77TN-00-XU kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 09 12:22:37 GA-H77TN-00-XU kernel: usb 3-3: Product: USB DISK 3.0
Sep 09 12:22:37 GA-H77TN-00-XU kernel: usb 3-3: Manufacturer:
Sep 09 12:22:37 GA-H77TN-00-XU kernel: usb 3-3: SerialNumber: 070B4C97D2F70149
Sep 09 12:22:37 GA-H77TN-00-XU kernel: usb-storage 3-3:1.0: USB Mass Storage device detected
Sep 09 12:22:37 GA-H77TN-00-XU kernel: scsi host6: usb-storage 3-3:1.0
Sep 09 12:22:37 GA-H77TN-00-XU mtp-probe[4177]: checking bus 3, device 10: "/sys/devices/
Sep 09 12:22:37 GA-H77TN-00-XU mtp-probe[4177]: bus: 3, device: 10 was not an MTP device
Sep 09 12:22:38 GA-H77TN-00-XU kernel: scsi 6:0:0:0: Direct-Access USB DISK 3.0 PMAP PQ: 0 ANSI: 6
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sd 6:0:0:0: Attached scsi generic sg4 type 0
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sd 6:0:0:0: [sde] 123469824 512-byte logical blocks: (63.2 GB/58.9 GiB)
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sd 6:0:0:0: [sde] Write Protect is off
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sd 6:0:0:0: [sde] Mode Sense: 23 00 00 00
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sd 6:0:0:0: [sde] No Caching mode page found
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sd 6:0:0:0: [sde] Assuming drive cache: write through
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sde: sde1 sde2
Sep 09 12:22:38 GA-H77TN-00-XU kernel: sd 6:0:0:0: [sde] Attached SCSI removable disk
Sep 09 12:22:39 GA-H77TN-00-XU systemd-
Sep 09 12:22:40 GA-H77TN-00-XU kernel: EXT4-fs (sde1): mounted filesystem with ordered data mode. Opts: (null)
Additional Info:
1)No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
2) Package udev
udev:
Installiert: 232-21ubuntu5
Installations
Versionstabelle:
*** 232-21ubuntu5 500
500 http://
500 http://
100 /var/lib/
232-21ubuntu2 500
500 http://
3) udev rule:
KERNEL=
4) external script add_usb_
#!/bin/bash
mkdir -p /tmp/MEDION-P1
/bin/mount /dev/USB-MEDION-P1 /tmp/MEDION-P1
#######
The udev system was running fine as expected in previous versions, e.g. 16.04.
Is this realy a bug ?
Thanks
U. Steffens
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: udev 232-21ubuntu5
ProcVersionSign
Uname: Linux 4.10.0-33-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CustomUdevRuleF
Date: Sat Sep 9 12:24:02 2017
InstallationDate: Installed on 2017-09-06 (3 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: GIGABYTE GA-H77TN-00
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/21/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F1
dmi.board.
dmi.board.name: GA-H77TN-00
dmi.board.vendor: GIGABYTE
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: GA-H77TN-00
dmi.product.
dmi.sys.vendor: GIGABYTE
modified.
# see udev.conf(5) for details
#
# udevd is started in the initramfs, so when this file is modified the
# initramfs should be rebuilt.
#udev_log="debug"
mtime.conffile.
That version is now dead news.softpedia. com/news/ ubuntu- 17-04-zesty- zapus-has- reached- end-of- life-upgrade- to-ubuntu- 17-10-now- 519360. shtml
http://