From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nilshar Date: Tue, 10 Mar 2009 16:48:38 +0000 Subject: Problem recreating 70-persistent-net.rules with udev 0.125-7 on Message-Id: <639c60080903100948y1bab13a1x8909348fcdcbc186@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hello list, first sorry if this question already been asked, I searched but not really found archives for this ML. My problem is on a debian 5.0 (Lenny) with udev version 0.125-7. on previous versions of debian, I often deleted the file /etc/udev/rules.d/z25-persistent-net.rules, and this file was recreated after a reboot. I tried to do same thing with Lenny. First, I saw that name of this file changed to /etc/udev/rules.d/70-persistent-net.rules, si I deleted that file, but after a reboot, it was not created. After several hours searching the internet, I found nothing solving this problem. And after more tries, I noticed this only appear on a vmware system. Recreating the file /etc/udev/rules.d/70-persistent-net.rules on a "normal" Dell server is working just fine. But not on a vmware (vmware server 1.0.6). I tried this command, with debug logs activated : # echo add > /sys/class/net/eth0/uevent logs says : Mar 10 17:28:52 hostname udevd[5990]: get_ctrl_msg: udevd message (SET_LOG_PRIORITY) received, udev_log_priority=7 Mar 10 17:28:59 hostname udevd[5990]: msg_queue_insert: seq 2995 queued, 'add' 'net' Mar 10 17:28:59 hostname udevd-event[7135]: match_rule: set ENV 'MATCHADDR:0c:29:0a:f8:96' Mar 10 17:28:59 hostname udevd-event[7135]: match_rule: set ENV 'MATCHIFTYPE=1' Mar 10 17:28:59 hostname udevd-event[7135]: match_rule: unset ENV 'MATCHADDR' Mar 10 17:28:59 hostname udevd-event[7135]: udev_rules_get_name: no node name set, will use kernel name 'eth0' Mar 10 17:28:59 hostname udevd-event[7135]: run_program: 'net.agent' Mar 10 17:28:59 hostname udevd[5990]: udev_event_run: seq 2995 forked, pid [7135], 'add' 'net', 0 seconds old Mar 10 17:28:59 hostname udevd-event[7135]: run_program: '/lib/udev/net.agent' returned with status 0 Mar 10 17:28:59 hostname udevd-event[7135]: pass_env_to_socket: passed -1 bytes to socket '@/org/kernel/udev/monitor', Mar 10 17:28:59 hostname udevd-event[7135]: udev_event_run: seq 2995 finished with 0 Mar 10 17:28:59 hostname udevd[5990]: udev_done: seq 2995, pid [7135] exit with 0, 0 seconds old I do not know what more to try, so any advice would be welcome :) I'm not suscribed to the ML, so please CC me :) Nilshar