devfs.rules: Serious problems with this cfg.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-volume-manager (Debian) |
Fix Released
|
Unknown
|
|||
gnome-volume-manager (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #284492 http://
In Debian Bug tracker #284492, Marco d'Itri (md) wrote : Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target, for gvm. | #1 |
In Debian Bug tracker #284492, Mike Mestnik (cheako) wrote : Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target, for gvm.) | #2 |
retitle 284492 devfs.rules: Serious problems with this cfg.
severity 284492 grave
thank you.
Justification: may encourage ppl to use root to access ide and scsi
devices.
I HAD to patch one of my computers to fix this problem. While I was
changing the ide-devfs.sh I saw that the group(disk,
set. In scsi-devfs.sh the get_ide_offset uses "/proc/
These are some farily important problems. I should have a patch some time
today(CST).
_______
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://
Debian Bug Importer (debzilla) wrote : | #3 |
Automatically imported from Debian bug report #284492 http://
Debian Bug Importer (debzilla) wrote : | #4 |
Message-Id: <email address hidden>
Date: Mon, 06 Dec 2004 12:56:22 -0600
From: "M Mestnik) (Shared Account" <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: devfs.rules: Don't change NAME into a port(host?/bus?) specific target,
for gvm.
Package: udev
Version: 0.046-5
Severity: normal
Gnome-volume-
to see that it's not being set to "hdc" but it's still being set to a
port(host?/bus?) specific name. I subjest that the NAME="%c{2}" since this
will allways be easy to see as a cdrom. Then SYMLINK="%k %c{1}".
gvm will then automount(using pmount) /dev/cdroms/cdrom? on
/media/
"floppy_0"? You could think ahead and make NAME="%c{3}" (c{3} =
cdroms/%n) and have SYMLINK="%k %c{1} %c{2}".
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (950, 'testing'), (150, 'unstable'), (140, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=
Versions of packages udev depends on:
ii debconf [debconf-2.0] 1.4.40 Debian configuration management sy
ii hotplug 0.0.20040329-16 Linux Hotplug Scripts
ii initscripts 2.86-5 Standard scripts needed for bootin
ii libc6 2.3.2.ds1-19 GNU C Library: Shared libraries an
ii makedev 2.3.1-75 Creates device files in /dev
-- debconf information:
udev/
* udev/reboot-
Debian Bug Importer (debzilla) wrote : | #5 |
Message-ID: <email address hidden>
Date: Mon, 6 Dec 2004 20:11:54 +0100
From: <email address hidden> (Marco d'Itri)
To: <email address hidden>, <email address hidden>
Cc: Debian Bug Tracking System <email address hidden>,
<email address hidden>
Subject: Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target,
for gvm.
--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-
Content-
reassign 284492 gnome-volume-
thanks
On Dec 06, "M Mestnik) (Shared Account" <email address hidden> wrote:
> Gnome-volume-
good
> to see that it's not being set to "hdc" but it's still being set to a
> port(host?/bus?) specific name. I subjest that the NAME=3D"%c{2}" since =
this
> will allways be easy to see as a cdrom. Then SYMLINK=3D"%k %c{1}".
There is no reason to change the default configuration of udev.
I'm reassigning this bug to g-v-m, in the possibility that its
maintainer has something to add.
--=20
ciao, |
Marco | [9625 logsqKUHX4XcQ]
--cWoXeonUoKmBZSoM
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBtK76FGf
5dNEiguNbmN3S/
=MaaV
-----END PGP SIGNATURE-----
--cWoXeonUoKmBZ
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <email address hidden>
Date: Tue, 7 Dec 2004 06:22:22 -0800 (PST)
From: Mike Mestnik <email address hidden>
To: <email address hidden>,
"bugs.debian.org control" <email address hidden>
Subject: Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target,
for gvm.)
retitle 284492 devfs.rules: Serious problems with this cfg.
severity 284492 grave
thank you.
Justification: may encourage ppl to use root to access ide and scsi
devices.
I HAD to patch one of my computers to fix this problem. While I was
changing the ide-devfs.sh I saw that the group(disk,
set. In scsi-devfs.sh the get_ide_offset uses "/proc/
These are some farily important problems. I should have a patch some time
today(CST).
_______
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://
In Debian Bug tracker #284492, Sjoerd Simons (sjoerd-spring) wrote : Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target, for gvm. | #7 |
On Mon, Dec 06, 2004 at 08:11:54PM +0100, Marco d'Itri wrote:
> reassign 284492 gnome-volume-
> thanks
>
> On Dec 06, "M Mestnik) (Shared Account" <email address hidden> wrote:
>
> > Gnome-volume-
> > to see that it's not being set to "hdc" but it's still being set to a
> > port(host?/bus?) specific name. I subjest that the NAME="%c{2}" since this
> > will allways be easy to see as a cdrom. Then SYMLINK="%k %c{1}".
>
> There is no reason to change the default configuration of udev.
> I'm reassigning this bug to g-v-m, in the possibility that its
> maintainer has something to add.
Are you just guess that it will behave that way, or does it really behave that
way? The current unstable hal and g-v-m shouldn't (They check
volume.
If it was just a guess, please close this bug.. Otherwise i need a lot more
info :)
Sjoerd
--
Isn't it interesting that the same people who laugh at science fiction
listen to weather forecasts and economists?
-- Kelvin Throop III
In Debian Bug tracker #284492, Mike Mestnik (cheako) wrote : Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target, for gvm.) | #8 |
tag 284492 +patch
thank you.
This should fix about 3 or 4 BUGS in devfs.rules and support scripts.
The fix for the NAME bug is also in this patch, thought it is just a
matter of moving strings around to fix this.
I don't see why this is a g-v-m bug, AFAIWT g-v-m gets the device name
from udev and passes it along to pmount. pmount takes the name and
creates /media/%n and nautilus makes a desctop icon made %n.
So if anything other then udev it's a nautilus bug.
In Debian Bug tracker #284492, Mike Mestnik (cheako) wrote : Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target, for gvm. | #9 |
--- Sjoerd Simons <email address hidden> wrote:
> On Mon, Dec 06, 2004 at 08:11:54PM +0100, Marco d'Itri wrote:
> > reassign 284492 gnome-volume-
> > thanks
> >
> > On Dec 06, "M Mestnik) (Shared Account" <email address hidden>
> wrote:
> >
> > > Gnome-volume-
> It's good
> > > to see that it's not being set to "hdc" but it's still being set to
> a
> > > port(host?/bus?) specific name. I subjest that the NAME="%c{2}"
> since this
> > > will allways be easy to see as a cdrom. Then SYMLINK="%k %c{1}".
> >
> > There is no reason to change the default configuration of udev.
> > I'm reassigning this bug to g-v-m, in the possibility that its
> > maintainer has something to add.
>
> Are you just guess that it will behave that way, or does it really
> behave that
> way? The current unstable hal and g-v-m shouldn't (They check
> volume.
>
The name changed after I started using udev's devfs.rules. These rules
for whatever reason change the name to the true devfs name and make a
symlink to the compat(%n) name given by upstream(guessing the kernel).
So udev changed the name of the dir made by pmount, is gvm even involved
in this proces? I would guess that gvm simply runes mount and maby pmount
dereferences the symlinks.
Also how is volume.
can use only devfs names or only compat names or only old-compat names?
> If it was just a guess, please close this bug.. Otherwise i need a lot
> more
> info :)
>
> Sjoerd
> --
> Isn't it interesting that the same people who laugh at science fiction
> listen to weather forecasts and economists?
> -- Kelvin Throop III
>
_______
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <email address hidden>
Date: Tue, 7 Dec 2004 17:18:07 +0100
From: <email address hidden> (Sjoerd Simons)
To: Marco d'Itri <email address hidden>
Cc: <email address hidden>, <email address hidden>,
<email address hidden>
Subject: Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target,
for gvm.
On Mon, Dec 06, 2004 at 08:11:54PM +0100, Marco d'Itri wrote:
> reassign 284492 gnome-volume-
> thanks
>
> On Dec 06, "M Mestnik) (Shared Account" <email address hidden> wrote:
>
> > Gnome-volume-
> > to see that it's not being set to "hdc" but it's still being set to a
> > port(host?/bus?) specific name. I subjest that the NAME="%c{2}" since this
> > will allways be easy to see as a cdrom. Then SYMLINK="%k %c{1}".
>
> There is no reason to change the default configuration of udev.
> I'm reassigning this bug to g-v-m, in the possibility that its
> maintainer has something to add.
Are you just guess that it will behave that way, or does it really behave that
way? The current unstable hal and g-v-m shouldn't (They check
volume.
If it was just a guess, please close this bug.. Otherwise i need a lot more
info :)
Sjoerd
--
Isn't it interesting that the same people who laugh at science fiction
listen to weather forecasts and economists?
-- Kelvin Throop III
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Tue, 07 Dec 2004 10:45:55 -0600
From: Mike Mestnik <email address hidden>
To: <email address hidden>,
"bugs.debian.org control" <email address hidden>
Cc: Marco d'Itri <email address hidden>
Subject: Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?)
specific target, for gvm.)
-------
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-
tag 284492 +patch
thank you.
This should fix about 3 or 4 BUGS in devfs.rules and support scripts.
The fix for the NAME bug is also in this patch, thought it is just a
matter of moving strings around to fix this.
I don't see why this is a g-v-m bug, AFAIWT g-v-m gets the device name
from udev and passes it along to pmount. pmount takes the name and
creates /media/%n and nautilus makes a desctop icon made %n.
So if anything other then udev it's a nautilus bug.
-------
Content-Type: text/x-patch;
name="
Content-
Content-
filename=
diff -ruNa /etc/udev/
--- /etc/udev/
+++ udev/devfs.rules 2004-12-07 10:22:00.000000000 -0600
@@ -13,20 +13,20 @@
#
# IDE block devices
-BUS="ide", KERNEL="hd[a-z]*", PROGRAM=
+BUS="ide", KERNEL="hd[a-z]*", PROGRAM=
# permissions for SCSI sg devices
-BUS="scsi", KERNEL=
+BUS="scsi", KERNEL=
# SCSI block devices
-BUS="scsi", KERNEL="sd[a-z]", PROGRAM=
-BUS="scsi", KERNEL=
-BUS="scsi", KERNEL=
-BUS="scsi", KERNEL=
-BUS="scsi", KERNEL=
-BUS="scsi", KERNEL="scd[0-9]*", PROGRAM=
-BUS="scsi", KERNEL="st[0-9]*", PROGRAM=
-BUS="scsi", KERNEL="nst[0-9]*", PROGRAM=
+BUS="scsi", KERNEL="sd[a-z]", PROGRAM=
+BUS="scsi", KERNEL=
In Debian Bug tracker #284492, Sjoerd Simons (sjoerd-spring) wrote : Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target, for gvm.) | #12 |
reassign 284492 udev
thanks,
On Tue, Dec 07, 2004 at 10:45:55AM -0600, Mike Mestnik wrote:
> tag 284492 +patch
> thank you.
>
> This should fix about 3 or 4 BUGS in devfs.rules and support scripts.
> The fix for the NAME bug is also in this patch, thought it is just a
> matter of moving strings around to fix this.
Reassigning it to udev, because of this patch. Note that your are mixing
problem and that completely sucks with respect to the bts! (It makes tracking
basically impossible).
> I don't see why this is a g-v-m bug, AFAIWT g-v-m gets the device name
> from udev and passes it along to pmount. pmount takes the name and
> creates /media/%n and nautilus makes a desctop icon made %n.
g-v-m doesn't even has a clue what udev is. Please check how stuff works,
before making statements like this.
> So if anything other then udev it's a nautilus bug.
Sorry, you don't really make sense here. Please if you want to make a point,
show me something that actually happened to you with recent versions of the
whole stack. Otherwise your just wasting our time :)
Sjoerd
--
Life sucks, but death doesn't put out at all.
-- Thomas J. Kopp
In Debian Bug tracker #284492, Marco d'Itri (md) wrote : | #13 |
On Dec 07, Mike Mestnik <email address hidden> wrote:
> This should fix about 3 or 4 BUGS in devfs.rules and support scripts.
I already explained that there is no bug in devfs.rules. If you don't
like the default configuration then change it on your system.
And get a clue, this is not a grave bug.
--
ciao, |
Marco | [9637 prI36eOja2Iuw]
Debian Bug Importer (debzilla) wrote : | #14 |
Message-ID: <email address hidden>
Date: Tue, 7 Dec 2004 09:00:00 -0800 (PST)
From: Mike Mestnik <email address hidden>
To: Sjoerd Simons <email address hidden>, Marco d'Itri <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target,
for gvm.
--- Sjoerd Simons <email address hidden> wrote:
> On Mon, Dec 06, 2004 at 08:11:54PM +0100, Marco d'Itri wrote:
> > reassign 284492 gnome-volume-
> > thanks
> >
> > On Dec 06, "M Mestnik) (Shared Account" <email address hidden>
> wrote:
> >
> > > Gnome-volume-
> It's good
> > > to see that it's not being set to "hdc" but it's still being set to
> a
> > > port(host?/bus?) specific name. I subjest that the NAME="%c{2}"
> since this
> > > will allways be easy to see as a cdrom. Then SYMLINK="%k %c{1}".
> >
> > There is no reason to change the default configuration of udev.
> > I'm reassigning this bug to g-v-m, in the possibility that its
> > maintainer has something to add.
>
> Are you just guess that it will behave that way, or does it really
> behave that
> way? The current unstable hal and g-v-m shouldn't (They check
> volume.
>
The name changed after I started using udev's devfs.rules. These rules
for whatever reason change the name to the true devfs name and make a
symlink to the compat(%n) name given by upstream(guessing the kernel).
So udev changed the name of the dir made by pmount, is gvm even involved
in this proces? I would guess that gvm simply runes mount and maby pmount
dereferences the symlinks.
Also how is volume.
can use only devfs names or only compat names or only old-compat names?
> If it was just a guess, please close this bug.. Otherwise i need a lot
> more
> info :)
>
> Sjoerd
> --
> Isn't it interesting that the same people who laugh at science fiction
> listen to weather forecasts and economists?
> -- Kelvin Throop III
>
_______
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Tue, 7 Dec 2004 18:11:36 +0100
From: <email address hidden> (Sjoerd Simons)
To: <email address hidden>, <email address hidden>
Cc: "bugs.debian.org control" <email address hidden>,
Marco d'Itri <email address hidden>
Subject: Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target,
for gvm.)
reassign 284492 udev
thanks,
On Tue, Dec 07, 2004 at 10:45:55AM -0600, Mike Mestnik wrote:
> tag 284492 +patch
> thank you.
>
> This should fix about 3 or 4 BUGS in devfs.rules and support scripts.
> The fix for the NAME bug is also in this patch, thought it is just a
> matter of moving strings around to fix this.
Reassigning it to udev, because of this patch. Note that your are mixing
problem and that completely sucks with respect to the bts! (It makes tracking
basically impossible).
> I don't see why this is a g-v-m bug, AFAIWT g-v-m gets the device name
> from udev and passes it along to pmount. pmount takes the name and
> creates /media/%n and nautilus makes a desctop icon made %n.
g-v-m doesn't even has a clue what udev is. Please check how stuff works,
before making statements like this.
> So if anything other then udev it's a nautilus bug.
Sorry, you don't really make sense here. Please if you want to make a point,
show me something that actually happened to you with recent versions of the
whole stack. Otherwise your just wasting our time :)
Sjoerd
--
Life sucks, but death doesn't put out at all.
-- Thomas J. Kopp
Debian Bug Importer (debzilla) wrote : | #16 |
Message-ID: <email address hidden>
Date: Tue, 7 Dec 2004 18:13:08 +0100
From: <email address hidden> (Marco d'Itri)
Cc: <email address hidden>
Subject: Re: Bug#284492: devfs.rules: Don't change NAME into a port(host?/bus?) specific target,
for gvm.)
--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Dec 07, Mike Mestnik <email address hidden> wrote:
> This should fix about 3 or 4 BUGS in devfs.rules and support scripts.=20
I already explained that there is no bug in devfs.rules. If you don't
like the default configuration then change it on your system.
And get a clue, this is not a grave bug.
--=20
ciao, |
Marco | [9637 prI36eOja2Iuw]
--k1lZvvs/B4yU6o8G
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBteSkFGf
ot/PfwjuiK1nwTr
=m9Xa
-----END PGP SIGNATURE-----
--k1lZvvs/
Matt Zimmerman (mdz) wrote : | #17 |
Rejected upstream
Changed in gnome-volume-manager: | |
status: | Unknown → Fix Released |
reassign 284492 gnome-volume- manager
thanks
On Dec 06, "M Mestnik) (Shared Account" <email address hidden> wrote:
> Gnome-volume- manager mounts my cds with the REAL device "NAME=". It's good
> to see that it's not being set to "hdc" but it's still being set to a
> port(host?/bus?) specific name. I subjest that the NAME="%c{2}" since this
> will allways be easy to see as a cdrom. Then SYMLINK="%k %c{1}".
There is no reason to change the default configuration of udev.
I'm reassigning this bug to g-v-m, in the possibility that its
maintainer has something to add.
--
ciao, |
Marco | [9625 logsqKUHX4XcQ]