[Bug 1669293] [NEW] udev/udisks automount waits for 5 seconds
Oliver R.
1669293 at bugs.launchpad.net
Thu Mar 2 08:01:14 UTC 2017
Public bug reported:
In Ubuntu 14.04 and 16.04, when plugging in a USB pen drive, there is a
lag of 5 or 6 seconds between the kernel detecting the device and
udev/udisks mounting it. If there are more than one partition on the
drive, each partition takes another 5 or 6 seconds. In 12.04 the
automounting started immediately. I tested this with several USB pen
drives and several computers.
I consider this a regression (somewhere between 12.04 and 14.04).
What is the purpose of this delay?
How can I change it?
Here is an excerpt of syslog:
Feb 3 20:40:42 x300 kernel: [ 7747.314179] scsi 10:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
Feb 3 20:40:42 x300 kernel: [ 7747.315756] sd 10:0:0:0: Attached scsi generic sg2 type 0
Feb 3 20:40:42 x300 kernel: [ 7747.317922] sd 10:0:0:0: [sdb] 7866368 512-byte logical blocks: (4.03 GB/3.75 GiB)
Feb 3 20:40:42 x300 kernel: [ 7747.320212] sd 10:0:0:0: [sdb] Write Protect is off
Feb 3 20:40:42 x300 kernel: [ 7747.320220] sd 10:0:0:0: [sdb] Mode Sense: 23 00 00 00
Feb 3 20:40:42 x300 kernel: [ 7747.321513] sd 10:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Feb 3 20:40:42 x300 kernel: [ 7747.329054] sdb: sdb1 sdb2
Feb 3 20:40:42 x300 kernel: [ 7747.332767] sd 10:0:0:0: [sdb] Attached SCSI removable disk
Feb 3 20:40:48 x300 kernel: [ 7753.045290] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
Feb 3 20:40:48 x300 udisksd[2255]: Mounted /dev/sdb2 at /media/oli/stick on behalf of uid 1119
Feb 3 20:40:53 x300 udisksd[2255]: Mounted /dev/sdb1 at /media/oli/MYNAME on behalf of uid 1119
** Affects: udisks (Ubuntu)
Importance: Undecided
Status: New
** Package changed: cryptkeeper (Ubuntu) => udisks (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udisks in Ubuntu.
https://bugs.launchpad.net/bugs/1669293
Title:
udev/udisks automount waits for 5 seconds
Status in udisks package in Ubuntu:
New
Bug description:
In Ubuntu 14.04 and 16.04, when plugging in a USB pen drive, there is
a lag of 5 or 6 seconds between the kernel detecting the device and
udev/udisks mounting it. If there are more than one partition on the
drive, each partition takes another 5 or 6 seconds. In 12.04 the
automounting started immediately. I tested this with several USB pen
drives and several computers.
I consider this a regression (somewhere between 12.04 and 14.04).
What is the purpose of this delay?
How can I change it?
Here is an excerpt of syslog:
Feb 3 20:40:42 x300 kernel: [ 7747.314179] scsi 10:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
Feb 3 20:40:42 x300 kernel: [ 7747.315756] sd 10:0:0:0: Attached scsi generic sg2 type 0
Feb 3 20:40:42 x300 kernel: [ 7747.317922] sd 10:0:0:0: [sdb] 7866368 512-byte logical blocks: (4.03 GB/3.75 GiB)
Feb 3 20:40:42 x300 kernel: [ 7747.320212] sd 10:0:0:0: [sdb] Write Protect is off
Feb 3 20:40:42 x300 kernel: [ 7747.320220] sd 10:0:0:0: [sdb] Mode Sense: 23 00 00 00
Feb 3 20:40:42 x300 kernel: [ 7747.321513] sd 10:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Feb 3 20:40:42 x300 kernel: [ 7747.329054] sdb: sdb1 sdb2
Feb 3 20:40:42 x300 kernel: [ 7747.332767] sd 10:0:0:0: [sdb] Attached SCSI removable disk
Feb 3 20:40:48 x300 kernel: [ 7753.045290] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
Feb 3 20:40:48 x300 udisksd[2255]: Mounted /dev/sdb2 at /media/oli/stick on behalf of uid 1119
Feb 3 20:40:53 x300 udisksd[2255]: Mounted /dev/sdb1 at /media/oli/MYNAME on behalf of uid 1119
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/1669293/+subscriptions
More information about the foundations-bugs
mailing list