2013-04-28 22:31:28 |
Ketil |
bug |
|
|
added bug |
2014-09-22 18:07:41 |
Chris J Arges |
nominated for series |
|
Ubuntu Trusty |
|
2014-09-22 18:07:41 |
Chris J Arges |
bug task added |
|
util-linux (Ubuntu Trusty) |
|
2014-09-22 18:07:41 |
Chris J Arges |
nominated for series |
|
Ubuntu Utopic |
|
2014-09-22 18:07:41 |
Chris J Arges |
bug task added |
|
util-linux (Ubuntu Utopic) |
|
2014-09-22 18:07:50 |
Chris J Arges |
util-linux (Ubuntu Utopic): status |
New |
Fix Released |
|
2014-09-22 19:35:55 |
Chris J Arges |
util-linux (Ubuntu Trusty): assignee |
|
Chris J Arges (arges) |
|
2014-09-22 19:35:59 |
Chris J Arges |
util-linux (Ubuntu Trusty): status |
New |
In Progress |
|
2014-09-22 19:36:01 |
Chris J Arges |
util-linux (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2014-09-22 20:40:29 |
Chris J Arges |
attachment added |
|
fix_lp1174098.debdiff https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1174098/+attachment/4211816/+files/fix_lp1174098.debdiff |
|
2014-09-25 18:48:09 |
Chris J Arges |
description |
According to blockdev's manual:
--report
Print a report for the specified device. It is possible to give
multiple devices. If none is given, all devices which appear in
/proc/partitions are shown. Note that the partition StartSec is
in 512-byte sectors.
However, I'm running Ubuntu installed with wubi, so my root dev is on a loopback device. Here's my /proc/partitions:
major minor #blocks name
7 0 30457856 loop0
7 1 31457280 loop1
8 0 732574584 sda
8 1 26214400 sda1
8 2 307263488 sda2
8 3 1 sda3
8 5 399092736 sda5
So according to the manual, all these devices should be printed with blockdev --report. But they are not, the loop devices are excluded:
$ sudo blockdev --report
[sudo] password for user:
RO RA SSZ BSZ StartSec Size Device
rw 256 512 4096 0 750156374016 /dev/sda
rw 256 512 4096 2048 26843545600 /dev/sda1
rw 256 512 4096 52430848 314637811712 /dev/sda2
rw 256 512 1024 666957824 1024 /dev/sda3
rw 256 512 4096 666959872 408670961664 /dev/sda5
$
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: util-linux 2.20.1-5.1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Sun Apr 28 23:48:07 2013
InstallationDate: Installed on 2012-04-12 (381 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: util-linux
UpgradeStatus: Upgraded to quantal on 2012-11-15 (164 days ago) |
SRU Justification:
[Impact]
blockdev won't work correctly with loopback devices.
[Test Case]
1) Create and mount a loop back device on /dev/loop0
2) Run:
$ sudo blockdev --report /dev/loop0
This should work without an ioctl error.
[Regression Potential]
This patch is backported from an upstream release commit 569d1dac.
Its already in utopic, and the patch modifies the program to no longer use an invalid ioctl call.
--
According to blockdev's manual:
--report
Print a report for the specified device. It is possible to give
multiple devices. If none is given, all devices which appear in
/proc/partitions are shown. Note that the partition StartSec is
in 512-byte sectors.
However, I'm running Ubuntu installed with wubi, so my root dev is on a loopback device. Here's my /proc/partitions:
major minor #blocks name
7 0 30457856 loop0
7 1 31457280 loop1
8 0 732574584 sda
8 1 26214400 sda1
8 2 307263488 sda2
8 3 1 sda3
8 5 399092736 sda5
So according to the manual, all these devices should be printed with blockdev --report. But they are not, the loop devices are excluded:
$ sudo blockdev --report
[sudo] password for user:
RO RA SSZ BSZ StartSec Size Device
rw 256 512 4096 0 750156374016 /dev/sda
rw 256 512 4096 2048 26843545600 /dev/sda1
rw 256 512 4096 52430848 314637811712 /dev/sda2
rw 256 512 1024 666957824 1024 /dev/sda3
rw 256 512 4096 666959872 408670961664 /dev/sda5
$
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: util-linux 2.20.1-5.1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Sun Apr 28 23:48:07 2013
InstallationDate: Installed on 2012-04-12 (381 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: util-linux
UpgradeStatus: Upgraded to quantal on 2012-11-15 (164 days ago) |
|
2014-09-25 18:50:04 |
Brian Murray |
util-linux (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2014-09-25 18:50:08 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2014-09-25 18:50:12 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2014-09-28 08:24:04 |
Mathew Hodson |
tags |
amd64 apport-bug quantal running-unity |
amd64 apport-bug quantal running-unity verification-done |
|
2014-10-06 16:04:30 |
Colin Watson |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2014-10-06 16:04:28 |
Launchpad Janitor |
util-linux (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|