Summary: | after udev upgrade i get error: cannot start xxx as net.eth0 would not start | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | svrmarty <svrmarty> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
svrmarty
2013-04-26 17:15:29 UTC
ok, there are several services which would not start with this error msg. ssh, squid, samba and so on Did you remove the rules in /etc/udev/ what ls /sys/class/net/ says? as you can see, all rules are gone dvb ~ # ls -laR /etc/udev/ /etc/udev/: total 5496 drwxr-xr-x 4 root root 4096 Apr 26 15:47 . drwxr-xr-x 96 root root 4096 Apr 26 17:37 .. -r--r--r-- 1 root root 5601550 Apr 26 15:47 hwdb.bin drwxr-xr-x 2 root root 4096 Apr 2 16:28 hwdb.d drwxr-xr-x 2 root root 4096 Apr 26 16:18 rules.d -rw-r--r-- 1 root root 44 Apr 26 15:47 udev.conf /etc/udev/hwdb.d: total 8 drwxr-xr-x 2 root root 4096 Apr 2 16:28 . drwxr-xr-x 4 root root 4096 Apr 26 15:47 .. /etc/udev/rules.d: total 8 drwxr-xr-x 2 root root 4096 Apr 26 16:18 . drwxr-xr-x 4 root root 4096 Apr 26 15:47 .. dvb ~ # dvb ~ # ls -la /sys/class/net/ total 0 drwxr-xr-x 2 root root 0 Apr 26 2013 . drwxr-xr-x 45 root root 0 Apr 26 2013 .. lrwxrwxrwx 1 root root 0 Apr 26 2013 enp5s0 -> ../../devices/pci0000:00/0000:00:1c.1/0000:05:00.0/net/enp5s0 lrwxrwxrwx 1 root root 0 Apr 26 2013 enp6s0 -> ../../devices/pci0000:00/0000:00:1c.2/0000:06:00.0/net/enp6s0 lrwxrwxrwx 1 root root 0 Apr 26 16:41 enp8s4 -> ../../devices/pci0000:00/0000:00:1e.0/0000:08:04.0/net/enp8s4 lrwxrwxrwx 1 root root 0 Apr 26 2013 lo -> ../../devices/virtual/net/lo after searching !! 2 hours !! i've found the solution in /etc/conf.d/netmount was one line active rc_need="net" after changing it to #rc_need="net" it works. seems to be a big impact Removing x86, because not a stabilization bug. You may need to replace default by boot, but here's how to do it: 1. rc-update del net.eth0 default 2. rm /etc/init.d/net.eth0 3. ln -s /etc/init.d/net /etc/init.d/net.enp6s0 4. rc-update add net.enp6s0 default That way the net dependency will be satisfied. |