[Bug 1716110] Re: udev mount failure with error code 32

dino99 1716110 at bugs.launchpad.net
Tue Jan 16 12:56:36 UTC 2018


That version is now dead
http://news.softpedia.com/news/ubuntu-17-04-zesty-zapus-has-reached-end-of-life-upgrade-to-ubuntu-17-10-now-519360.shtml

** Changed in: systemd (Ubuntu)
       Status: New => Invalid

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

Title:
  udev mount failure with error code 32

Status in systemd package in Ubuntu:
  Invalid

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/pci0000:00/0000:00:14.0/usb3/3-3"
  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-udevd[4206]: Process '/usr/local/sbin/add_usb_disk_medion.sh' failed with exit code 32.
  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
    Installationskandidat: 232-21ubuntu5
    Versionstabelle:
   *** 232-21ubuntu5 500
          500 http://de.archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu zesty-security/main amd64 Packages
          100 /var/lib/dpkg/status
       232-21ubuntu2 500
          500 http://de.archive.ubuntu.com/ubuntu zesty/main amd64 Packages

  3) udev rule:
  KERNEL=="sd[b-z][0-9]", SUBSYSTEMS=="usb", ATTRS{serial}=="070B4C97D2F70149", ATTRS{idVendor}=="13fe", ATTRS{idProduct}=="5500", SYMLINK+="USB-MEDION-P1", ACTION=="add", RUN+="/usr/local/sbin/add_usb_disk_medion.sh

  4) external script add_usb_disk_medion.sh:
  #!/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
  ProcVersionSignature: Ubuntu 4.10.0-33.37-generic 4.10.17
  Uname: Linux 4.10.0-33-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  CustomUdevRuleFiles: 99-add_backup_disk.rules
  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=/boot/vmlinuz-4.10.0-33-generic root=/dev/mapper/GA--H77TN--00--vg-root ro quiet splash vt.handoff=7
  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.asset.tag: To be filled by O.E.M.
  dmi.board.name: GA-H77TN-00
  dmi.board.vendor: GIGABYTE
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF1:bd02/21/2013:svnGIGABYTE:pnGA-H77TN-00:pvrTobefilledbyO.E.M.:rvnGIGABYTE:rnGA-H77TN-00:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: GA-H77TN-00
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: GIGABYTE
  modified.conffile..etc.udev.udev.conf:
   # 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..etc.udev.udev.conf: 2017-09-08T21:10:25.745645

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



More information about the foundations-bugs mailing list