Your message dated Mon, 24 Oct 2005 09:19:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#335457: udev: wrong sysfs file tested for eth* rules
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Oct 2005 05:08:20 +0000
>From [EMAIL PROTECTED] Sun Oct 23 22:08:20 2005
Return-path: <[EMAIL PROTECTED]>
Received: from sitemail2.everyone.net (omta16.mta.everyone.net) 
[216.200.145.36] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ETuZI-0006AT-00; Sun, 23 Oct 2005 22:08:20 -0700
Received: from dm17.mta.everyone.net (bigiplb-dsnat [172.16.0.19])
        by omta16.mta.everyone.net (Postfix) with ESMTP
        id B6FB43FFF0; Sun, 23 Oct 2005 22:08:18 -0700 (PDT)
X-Eon-Dm: dm17
Received: from dogmatrix (67.188.134.123 [67.188.134.123])
        by dm17.mta.everyone.net (EON-AUTHRELAY2) with ESMTP
        id dm17.435c5783.8a3d; Sun, 23 Oct 2005 22:08:18 -0700 (PDT)
X-Eon-Sig: AQKGG0ZDXGxC+ciCCAIAAAAC,02e8300371dda953e4e46f1376a24a37
Received: by dogmatrix (Postfix, from userid 1002)
        id 46BD54F448; Sun, 23 Oct 2005 22:01:46 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Aravind Gottipati <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: udev: wrong sysfs file tested for eth* rules
X-Mailer: reportbug 3.17
Date: Sun, 23 Oct 2005 22:01:46 -0700
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: udev
Version: 0.071-1
Severity: normal


Creating symlinks to network devices does not work.

The file 010_net.rules tries to add a symlink to the eth0 and eth1
devices as wired and wireless.  These are the rules in the file.

BUS=="pci", DRIVER=="tg3", NAME="%k", SYMLINK="wireless"
BUS=="pci", DRIVER=="ipw2200", NAME="%k", SYMLINK="wired"

Info logging on udev generates this output.

Oct 23 17:38:44 dogmatrix udev[7177]: udev_rules_get_name: reset symlink list
Oct 23 17:38:44 dogmatrix udev[7177]: udev_rules_get_name: add symlink 
'wireless'
Oct 23 17:38:44 dogmatrix udev[7177]: udev_rules_get_name: rule applied, 'eth0' 
becomes 'eth0'
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/bin/sh -c 'test -e 
/sys/class/net/eth0/driver''
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/bin/sh' returned with 
status 1
Oct 23 17:38:44 dogmatrix udev[7177]: pass_env_to_socket: passed -1 bytes to 
socket '/org/kernel/udev/monitor',
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/bin/sh -c 
'/lib/hotplug/net.agent &''
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/bin/sh' returned with 
status 0
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/sbin/udev_run_hotplugd' 
'net'
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/sbin/udev_run_hotplugd' 
returned with status 0
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/sbin/udev_run_devd' 'net'
Oct 23 17:38:44 dogmatrix udev[7177]: run_program: '/sbin/udev_run_devd' 
returned with status 0

Oct 23 17:38:44 dogmatrix udev[7187]: udev_rules_get_name: reset symlink list
Oct 23 17:38:44 dogmatrix udev[7187]: udev_rules_get_name: add symlink 'wired'
Oct 23 17:38:44 dogmatrix udev[7187]: udev_rules_get_name: rule applied, 'eth1' 
becomes 'eth1'
Oct 23 17:38:44 dogmatrix udev[7187]: run_program: '/bin/sh -c 'test -e 
/sys/class/net/eth1/driver''
Oct 23 17:38:44 dogmatrix udev[7187]: run_program: '/bin/sh' returned with 
status 1
Oct 23 17:38:44 dogmatrix udev[7187]: pass_env_to_socket: passed -1 bytes to 
socket '/org/kernel/udev/monitor', 
Oct 23 17:38:44 dogmatrix udev[7187]: run_program: '/bin/sh -c 
'/lib/hotplug/net.agent &''


The directory /sys/class/net/eth0/driver does not exist.  The right
directory is /sys/class/net/eth0/device/driver.


Aravind.


-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 4
-rw-r--r--  1 root root 316 2005-10-23 17:28 010_net.rules
lrwxrwxrwx  1 root root  20 2005-10-15 10:02 020_permissions.rules -> 
../permissions.rules
lrwxrwxrwx  1 root root  19 2005-10-15 10:02 cd-aliases.rules -> 
../cd-aliases.rules
lrwxrwxrwx  1 root root  17 2005-10-15 10:02 thinkpad.rules -> ../thinkpad.rules
lrwxrwxrwx  1 root root  13 2005-10-15 10:02 udev.rules -> ../udev.rules
lrwxrwxrwx  1 root root  19 2005-10-15 10:02 z20_persistent.rules -> 
../persistent.rules
lrwxrwxrwx  1 root root  12 2005-10-15 10:02 z50_run.rules -> ../run.rules
lrwxrwxrwx  1 root root  16 2005-10-16 13:12 z55_hotplug.rules -> 
../hotplug.rules
lrwxrwxrwx  1 root root  19 2005-10-15 10:02 z60_alsa-utils.rules -> 
../alsa-utils.rules
lrwxrwxrwx  1 root root  15 2005-10-15 10:02 z60_hdparm.rules -> ../hdparm.rules
lrwxrwxrwx  1 root root  17 2005-10-15 10:02 z70_hotplugd.rules -> 
../hotplugd.rules

-- /sys/:
/sys/block/hdc/dev
/sys/block/sda/dev
/sys/block/sda/sda1/dev
/sys/block/sda/sda2/dev
/sys/block/sda/sda3/dev
/sys/block/sda/sda4/dev
/sys/block/sda/sda5/dev
/sys/block/sda/sda6/dev
/sys/block/sda/sda7/dev
/sys/block/sda/sda8/dev
/sys/class/input/event0/dev
/sys/class/input/event1/dev
/sys/class/input/event2/dev
/sys/class/input/event3/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/input/mouse1/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/printer/lp0/dev
/sys/class/scsi_generic/sg0/dev
/sys/class/sound/adsp/dev
/sys/class/sound/audio/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/dsp/dev
/sys/class/sound/mixer/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/pcmC0D2c/dev
/sys/class/sound/pcmC0D3c/dev
/sys/class/sound/pcmC0D4p/dev
/sys/class/sound/timer/dev
/sys/class/usb_device/usbdev1.1/dev
/sys/class/usb_device/usbdev2.1/dev
/sys/class/usb_device/usbdev3.1/dev
/sys/class/usb_device/usbdev4.1/dev
/sys/class/usb_device/usbdev4.2/dev
/sys/class/usb_device/usbdev4.3/dev
/sys/class/usb_device/usbdev5.1/dev

-- Kernel configuration:
 isapnp_init not present.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc4
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages udev depends on:
ii  initscripts                   2.86.ds1-4 Standard scripts needed for bootin
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  libselinux1                   1.26-1     SELinux shared libraries
ii  libsepol1                     1.8-1      Security Enhanced Linux policy lib
ii  lsb-base                      3.0-10     Linux Standard Base 3.0 init scrip
ii  makedev                       2.3.1-78   creates device files in /dev
ii  sed                           4.1.4-4    The GNU sed stream editor

udev recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 335457-done) by bugs.debian.org; 24 Oct 2005 07:25:03 +0000
>From [EMAIL PROTECTED] Mon Oct 24 00:25:03 2005
Return-path: <[EMAIL PROTECTED]>
Received: from attila.bofh.it [213.92.8.2] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ETwhb-0007FK-00; Mon, 24 Oct 2005 00:25:03 -0700
Received: by attila.bofh.it (Postfix, from userid 10)
        id 59DA85F772; Mon, 24 Oct 2005 09:25:01 +0200 (CEST)
Received: by wonderland.linux.it (Postfix, from userid 1001)
        id C5E4B1D141; Mon, 24 Oct 2005 09:19:39 +0200 (CEST)
Date: Mon, 24 Oct 2005 09:19:39 +0200
To: Aravind Gottipati <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#335457: udev: wrong sysfs file tested for eth* rules
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
From: [EMAIL PROTECTED] (Marco d'Itri)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--BwCQnh7xodEAoBMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Oct 24, Aravind Gottipati <[EMAIL PROTECTED]> wrote:

> Creating symlinks to network devices does not work.
This is not surprising, considering that network interfaces are not
devices and have no presence in the file system.
You need to rename them.

--=20
ciao,
Marco

--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDXIsLFGfw2OHuP7ERAl/8AJ9E0XqTn4zn5/HzruiCVwH/UtIvSQCgmOLL
ZlNeIYoVKRb144W+TO6ZlEo=
=Tfzw
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to