2011-10-16 10:48:09 |
e-frog |
bug |
|
|
added bug |
2011-10-16 10:48:09 |
e-frog |
attachment added |
|
type_detection_fix.diff https://bugs.launchpad.net/bugs/875636/+attachment/2549995/+files/type_detection_fix.diff |
|
2011-10-16 11:18:11 |
Launchpad Janitor |
usbmount (Ubuntu): status |
New |
Confirmed |
|
2011-10-16 15:06:34 |
savetbw |
bug |
|
|
added subscriber savetbw |
2011-10-16 16:30:38 |
e-frog |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636991 |
|
2011-10-17 12:17:14 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2011-10-17 12:17:15 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2011-11-15 19:04:17 |
Sebastien Bacher |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2011-11-17 20:34:05 |
Fabrice Coutadeur |
nominated for series |
|
Ubuntu Oneiric |
|
2011-11-17 20:34:05 |
Fabrice Coutadeur |
bug task added |
|
usbmount (Ubuntu Oneiric) |
|
2011-11-17 20:34:38 |
Fabrice Coutadeur |
usbmount (Ubuntu): status |
Confirmed |
Fix Released |
|
2011-11-17 20:39:40 |
Fabrice Coutadeur |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2011-11-18 06:30:59 |
gcc |
bug |
|
|
added subscriber gcc |
2011-11-18 16:26:35 |
e-frog |
attachment added |
|
type_detection_fix2.diff https://bugs.launchpad.net/ubuntu/+source/usbmount/+bug/875636/+attachment/2600960/+files/type_detection_fix2.diff |
|
2011-11-18 16:28:03 |
e-frog |
description |
$: lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$: apt-cache policy usbmount
usbmount:
Installed: 0.0.21
Candidate: 0.0.21
Version table:
*** 0.0.21 0
500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
100 /var/lib/dpkg/status
usbmount uses '/sbin/blkid -p /dev/sdb1' to determine the filesystem type. It seems that the output of blkid changed from natty to oneiric:
natty:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem"
oneiric:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x83" PART_ENTRY_FLAGS="0x80" PART_ENTRY_NUMBER="1"
The regexp in
FSTYPE=$(echo "$DEVINFO" | sed 's/.* TYPE="\([^"]*\)".*/\1/g; s/[[:blank:]]*//g;')
triggers on PART_ENTRY_TYPE which finds '0x83' as file system type and prevents it from being mounted.
Attached patch fixes this for me.
Logs before the patch:
Oct 15 19:39:33 eeebox usbmount[814]: loaded usbmount configurations
Oct 15 19:39:33 eeebox usbmount[814]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: acquired lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: /dev/sdb1 contains filesystem type 0x83
Oct 15 19:39:33 eeebox usbmount[814]: usbmount execution finished
Logs after applying the patch:
Oct 16 12:28:33 eeebox usbmount[4309]: loaded usbmount configurations
Oct 16 12:28:33 eeebox usbmount[4309]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: acquired lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: /dev/sdb1 contains filesystem type ext3
Oct 16 12:28:33 eeebox usbmount[4309]: mountpoint /media/usb0 is available for /dev/sdb1
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: mount -text3 -onoexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: run-parts /etc/usbmount/mount.d
Oct 16 12:28:33 eeebox usbmount[4309]: usbmount execution finished |
[Impact]
usbmount doesn't auto-mount external hard drive in Oneiric. This is considered a regression as it used to work in natty.
[Background]
usbmount relies on /sbin/blkid to determine the file system type. blkid output is different in Oneiric and the regex fails to catch the file system type.
[Fix for Development Version]
This was fixed in Debian package 0.0.22 and is meanwhile sync’d to Precise.
[Fix for Stable Version]
The attached patch back ports the fix from Debian.
[Steps to Reproduce]
Please see original report below.
[Regression Potential]
The patch itself is relatively small and unlikely to introduce regression.
[Original Report]
$: lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$: apt-cache policy usbmount
usbmount:
Installed: 0.0.21
Candidate: 0.0.21
Version table:
*** 0.0.21 0
500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
100 /var/lib/dpkg/status
usbmount uses '/sbin/blkid -p /dev/sdb1' to determine the filesystem type. It seems that the output of blkid changed from natty to oneiric:
natty:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem"
oneiric:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x83" PART_ENTRY_FLAGS="0x80" PART_ENTRY_NUMBER="1"
The regexp in
FSTYPE=$(echo "$DEVINFO" | sed 's/.* TYPE="\([^"]*\)".*/\1/g; s/[[:blank:]]*//g;')
triggers on PART_ENTRY_TYPE which finds '0x83' as file system type and prevents it from being mounted.
Attached patch fixes this for me.
Logs before the patch:
Oct 15 19:39:33 eeebox usbmount[814]: loaded usbmount configurations
Oct 15 19:39:33 eeebox usbmount[814]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: acquired lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: /dev/sdb1 contains filesystem type 0x83
Oct 15 19:39:33 eeebox usbmount[814]: usbmount execution finished
Logs after applying the patch:
Oct 16 12:28:33 eeebox usbmount[4309]: loaded usbmount configurations
Oct 16 12:28:33 eeebox usbmount[4309]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: acquired lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: /dev/sdb1 contains filesystem type ext3
Oct 16 12:28:33 eeebox usbmount[4309]: mountpoint /media/usb0 is available for /dev/sdb1
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: mount -text3 -onoexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: run-parts /etc/usbmount/mount.d
Oct 16 12:28:33 eeebox usbmount[4309]: usbmount execution finished |
|
2011-11-18 16:37:08 |
e-frog |
description |
[Impact]
usbmount doesn't auto-mount external hard drive in Oneiric. This is considered a regression as it used to work in natty.
[Background]
usbmount relies on /sbin/blkid to determine the file system type. blkid output is different in Oneiric and the regex fails to catch the file system type.
[Fix for Development Version]
This was fixed in Debian package 0.0.22 and is meanwhile sync’d to Precise.
[Fix for Stable Version]
The attached patch back ports the fix from Debian.
[Steps to Reproduce]
Please see original report below.
[Regression Potential]
The patch itself is relatively small and unlikely to introduce regression.
[Original Report]
$: lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$: apt-cache policy usbmount
usbmount:
Installed: 0.0.21
Candidate: 0.0.21
Version table:
*** 0.0.21 0
500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
100 /var/lib/dpkg/status
usbmount uses '/sbin/blkid -p /dev/sdb1' to determine the filesystem type. It seems that the output of blkid changed from natty to oneiric:
natty:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem"
oneiric:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x83" PART_ENTRY_FLAGS="0x80" PART_ENTRY_NUMBER="1"
The regexp in
FSTYPE=$(echo "$DEVINFO" | sed 's/.* TYPE="\([^"]*\)".*/\1/g; s/[[:blank:]]*//g;')
triggers on PART_ENTRY_TYPE which finds '0x83' as file system type and prevents it from being mounted.
Attached patch fixes this for me.
Logs before the patch:
Oct 15 19:39:33 eeebox usbmount[814]: loaded usbmount configurations
Oct 15 19:39:33 eeebox usbmount[814]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: acquired lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: /dev/sdb1 contains filesystem type 0x83
Oct 15 19:39:33 eeebox usbmount[814]: usbmount execution finished
Logs after applying the patch:
Oct 16 12:28:33 eeebox usbmount[4309]: loaded usbmount configurations
Oct 16 12:28:33 eeebox usbmount[4309]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: acquired lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: /dev/sdb1 contains filesystem type ext3
Oct 16 12:28:33 eeebox usbmount[4309]: mountpoint /media/usb0 is available for /dev/sdb1
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: mount -text3 -onoexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: run-parts /etc/usbmount/mount.d
Oct 16 12:28:33 eeebox usbmount[4309]: usbmount execution finished |
[Impact]
usbmount doesn't auto-mount external hard drive in Oneiric. This is considered a regression as it used to work in natty.
usbmount relies on /sbin/blkid to determine the file system type. blkid output is different in Oneiric and the regex fails to catch the file system type.
[Development Fix]
This was fixed in Debian package 0.0.22 and is meanwhile sync’d to Precise.
[Stable Fix]
The attached patch back ports the fix from Debian.
[Test Case]
Please see original report below.
[Regression Potential]
The patch itself is relatively small and unlikely to introduce regression.
[Original Report]
$: lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$: apt-cache policy usbmount
usbmount:
Installed: 0.0.21
Candidate: 0.0.21
Version table:
*** 0.0.21 0
500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
100 /var/lib/dpkg/status
usbmount uses '/sbin/blkid -p /dev/sdb1' to determine the filesystem type. It seems that the output of blkid changed from natty to oneiric:
natty:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem"
oneiric:
$:/sbin/blkid -p /dev/sdb1
/dev/sdb1: UUID="ff3637e4-2a20-4a81-a276-93bea80e1bfa" VERSION="1.0" TYPE="ext3" USAGE="filesystem" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x83" PART_ENTRY_FLAGS="0x80" PART_ENTRY_NUMBER="1"
The regexp in
FSTYPE=$(echo "$DEVINFO" | sed 's/.* TYPE="\([^"]*\)".*/\1/g; s/[[:blank:]]*//g;')
triggers on PART_ENTRY_TYPE which finds '0x83' as file system type and prevents it from being mounted.
Attached patch fixes this for me.
Logs before the patch:
Oct 15 19:39:33 eeebox usbmount[814]: loaded usbmount configurations
Oct 15 19:39:33 eeebox usbmount[814]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: acquired lock /var/run/usbmount/.mount.lock
Oct 15 19:39:33 eeebox usbmount[814]: /dev/sdb1 contains filesystem type 0x83
Oct 15 19:39:33 eeebox usbmount[814]: usbmount execution finished
Logs after applying the patch:
Oct 16 12:28:33 eeebox usbmount[4309]: loaded usbmount configurations
Oct 16 12:28:33 eeebox usbmount[4309]: trying to acquire lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: acquired lock /var/run/usbmount/.mount.lock
Oct 16 12:28:33 eeebox usbmount[4309]: /dev/sdb1 contains filesystem type ext3
Oct 16 12:28:33 eeebox usbmount[4309]: mountpoint /media/usb0 is available for /dev/sdb1
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: mount -text3 -onoexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
Oct 16 12:28:33 eeebox usbmount[4309]: executing command: run-parts /etc/usbmount/mount.d
Oct 16 12:28:33 eeebox usbmount[4309]: usbmount execution finished |
|
2011-11-21 21:10:27 |
Fabrice Coutadeur |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2011-12-03 19:41:36 |
Evan Broder |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2011-12-03 19:41:40 |
Evan Broder |
bug |
|
|
added subscriber Evan Broder |
2011-12-05 06:17:00 |
Martin Pitt |
usbmount (Ubuntu Oneiric): status |
New |
Fix Committed |
|
2011-12-05 06:17:02 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-12-05 06:17:03 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2011-12-05 06:17:05 |
Martin Pitt |
tags |
patch |
patch verification-needed |
|
2011-12-05 07:22:25 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-proposed/usbmount |
|
2011-12-05 20:31:00 |
Jean-Baptiste Lallement |
tags |
patch verification-needed |
patch verification-done |
|
2011-12-13 03:53:37 |
Launchpad Janitor |
usbmount (Ubuntu Oneiric): status |
Fix Committed |
Fix Released |
|
2011-12-13 21:30:46 |
savetbw |
removed subscriber savetbw |
|
|
|