Debian Bug report logs -
#281734
parted: doesn't calculate partition paths correctly when using udev with devfs rules
Reported by: Colin Watson <cjwatson@debian.org>
Date: Wed, 17 Nov 2004 15:03:24 UTC
Severity: normal
Found in version 1.6.11-8
Fixed in version parted/1.6.24-1
Done: "K.G." <k_guillaume@libertysurf.fr>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
New Bug report received and forwarded. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: parted
Version: 1.6.11-8
Severity: normal
When you're using a system running udev with the devfs compatibility
rules (as d-i probably will at least for a while once it switches to
udev, assuming Debian takes the same route as I'm taking for Ubuntu),
parted fails to calculate partition paths correctly because its /disc ->
/partN substitution is only used when /dev/.devfsd is present.
I've fixed this in Ubuntu by simply looking for /disc at the end of the
path and always doing the /partN substitution if it's found. Here's the
patch:
http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
Cheers,
--
Colin Watson [cjwatson@debian.org]
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 281734@bugs.debian.org (full text, mbox, reply):
On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> Package: parted
> Version: 1.6.11-8
> Severity: normal
>
> When you're using a system running udev with the devfs compatibility
> rules (as d-i probably will at least for a while once it switches to
> udev, assuming Debian takes the same route as I'm taking for Ubuntu),
> parted fails to calculate partition paths correctly because its /disc ->
> /partN substitution is only used when /dev/.devfsd is present.
>
> I've fixed this in Ubuntu by simply looking for /disc at the end of the
> path and always doing the /partN substitution if it's found. Here's the
> patch:
>
> http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
Thanks, i will have a look. Do you really think this may break something for
sarge ? After all many will like to run udev outside of d-i, and also use
parted in this case ?
Friendly,
Sven Luther
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #15 received at 281734@bugs.debian.org (full text, mbox, reply):
On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > When you're using a system running udev with the devfs compatibility
> > rules (as d-i probably will at least for a while once it switches to
> > udev, assuming Debian takes the same route as I'm taking for Ubuntu),
> > parted fails to calculate partition paths correctly because its /disc ->
> > /partN substitution is only used when /dev/.devfsd is present.
> >
> > I've fixed this in Ubuntu by simply looking for /disc at the end of the
> > path and always doing the /partN substitution if it's found. Here's the
> > patch:
> >
> > http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
>
> Thanks, i will have a look. Do you really think this may break something for
> sarge ?
I haven't tested the patch heavily; so far, it's been tested to the
extent of a single working installation. I haven't tested it with devfs,
with ordinary udev, or with static /dev.
> After all many will like to run udev outside of d-i, and also use
> parted in this case ?
Most people using udev outside of d-i will be using the traditional /dev
layout rather than the devfs layout. My patch only helps if you're using
the devfs layout; for the traditional layout, parted already works fine.
Cheers,
--
Colin Watson [cjwatson@debian.org]
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #20 received at 281734@bugs.debian.org (full text, mbox, reply):
On Wed, Nov 17, 2004 at 03:21:04PM +0000, Colin Watson wrote:
> On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> > On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > > When you're using a system running udev with the devfs compatibility
> > > rules (as d-i probably will at least for a while once it switches to
> > > udev, assuming Debian takes the same route as I'm taking for Ubuntu),
> > > parted fails to calculate partition paths correctly because its /disc ->
> > > /partN substitution is only used when /dev/.devfsd is present.
> > >
> > > I've fixed this in Ubuntu by simply looking for /disc at the end of the
> > > path and always doing the /partN substitution if it's found. Here's the
> > > patch:
> > >
> > > http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
> >
> > Thanks, i will have a look. Do you really think this may break something for
> > sarge ?
>
> I haven't tested the patch heavily; so far, it's been tested to the
> extent of a single working installation. I haven't tested it with devfs,
> with ordinary udev, or with static /dev.
>
> > After all many will like to run udev outside of d-i, and also use
> > parted in this case ?
>
> Most people using udev outside of d-i will be using the traditional /dev
> layout rather than the devfs layout. My patch only helps if you're using
> the devfs layout; for the traditional layout, parted already works fine.
Oh ...
Well, i have some stuff complaining about missing disc at the end in the LVM
over RAID case, may this be related ?
Friendly,
Sven Luther
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #25 received at 281734@bugs.debian.org (full text, mbox, reply):
On Wed, Nov 17, 2004 at 03:21:04PM +0000, Colin Watson wrote:
> On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> > On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > > When you're using a system running udev with the devfs compatibility
> > > rules (as d-i probably will at least for a while once it switches to
> > > udev, assuming Debian takes the same route as I'm taking for Ubuntu),
> > > parted fails to calculate partition paths correctly because its /disc ->
> > > /partN substitution is only used when /dev/.devfsd is present.
> > >
> > > I've fixed this in Ubuntu by simply looking for /disc at the end of the
> > > path and always doing the /partN substitution if it's found. Here's the
> > > patch:
> > >
> > > http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
Arg, this patch has dissapeared from there, i suppose i could find it in the
ubuntu parted packages, but it is non-obvious to me yet how to find it.
Friendly,
Sven Luther
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #30 received at 281734@bugs.debian.org (full text, mbox, reply):
On Sun, Jan 30, 2005 at 07:35:03AM +0100, Sven Luther wrote:
> On Wed, Nov 17, 2004 at 03:21:04PM +0000, Colin Watson wrote:
> > On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> > > On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > > > http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
>
> Arg, this patch has dissapeared from there, i suppose i could find it in the
> ubuntu parted packages, but it is non-obvious to me yet how to find it.
http://patches.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
Sorry about that.
--
Colin Watson [cjwatson@debian.org]
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #35 received at 281734@bugs.debian.org (full text, mbox, reply):
On Sun, Jan 30, 2005 at 12:42:04PM +0000, Colin Watson wrote:
> On Sun, Jan 30, 2005 at 07:35:03AM +0100, Sven Luther wrote:
> > On Wed, Nov 17, 2004 at 03:21:04PM +0000, Colin Watson wrote:
> > > On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> > > > On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > > > > http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
> >
> > Arg, this patch has dissapeared from there, i suppose i could find it in the
> > ubuntu parted packages, but it is non-obvious to me yet how to find it.
>
> http://patches.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
Thanks.
In future, i would greatly appreciate that you add the patch directly as
attachement to the bug report, which is how a propper bug report should look
like, not containing vanishing attachements to random web pages.
But i know you know that already, but if this is indeed ubuntu policy for
giving back code to debian, it sucks bigtime.
Thanks for the patch anyway, too bad i missed it yesterday when i had time to
do the fix though.
Friendly,
Sven Luther
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Sven Luther <sven.luther@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #40 received at 281734@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sun, Jan 30, 2005 at 12:42:04PM +0000, Colin Watson wrote:
> On Sun, Jan 30, 2005 at 07:35:03AM +0100, Sven Luther wrote:
> > On Wed, Nov 17, 2004 at 03:21:04PM +0000, Colin Watson wrote:
> > > On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> > > > On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > > > > http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
> >
> > Arg, this patch has dissapeared from there, i suppose i could find it in the
> > ubuntu parted packages, but it is non-obvious to me yet how to find it.
>
> http://patches.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
>
> Sorry about that.
And here is the real patch for completeness sake.
Friendly,
Sven Luther
[parted-udev-devfs-rules.patch (text/plain, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>:
Bug#281734; Package parted.
(full text, mbox, link).
Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Parted Maintainer Team <parted-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #45 received at 281734@bugs.debian.org (full text, mbox, reply):
On Sun, Jan 30, 2005 at 12:42:04PM +0000, Colin Watson wrote:
> On Sun, Jan 30, 2005 at 07:35:03AM +0100, Sven Luther wrote:
> > On Wed, Nov 17, 2004 at 03:21:04PM +0000, Colin Watson wrote:
> > > On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> > > > On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > > > > http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
> >
> > Arg, this patch has dissapeared from there, i suppose i could find it in the
> > ubuntu parted packages, but it is non-obvious to me yet how to find it.
>
> http://patches.ubuntulinux.org/patches/parted-udev-devfs-rules.patch
The old URL has been fixed now, too.
--
Colin Watson [cjwatson@debian.org]
Reply sent to "K.G." <k_guillaume@libertysurf.fr>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Colin Watson <cjwatson@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #50 received at 281734-done@bugs.debian.org (full text, mbox, reply):
Package: parted
Version: 1.6.24-1
The proposed patch has been added, then in 1.6.24-1
another one has been applied which corrects its
behavior in some conditions.
Guillaume Knispel
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 25 Jun 2007 04:17:24 GMT) (full text, mbox, link).
Bug unarchived.
Request was from Stefano Zacchiroli <zack@debian.org>
to control@bugs.debian.org.
(Sun, 10 Apr 2011 08:44:30 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 09 May 2011 07:38:40 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Oct 11 12:07:03 2017;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.