Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] no network "eth0" after upgrade.
Date: Sat, 19 Dec 2015 20:03:56
Message-Id: CAJ1xhMWad3ZTGZpKZ8RkbVWiZkeoWE4TSkGQab_JeLLNc_A7ug@mail.gmail.com
In Reply to: Re: [gentoo-user] no network "eth0" after upgrade. by Alexander Kapshuk
1 On Sat, Dec 19, 2015 at 9:57 PM, Alexander Kapshuk <
2 alexander.kapshuk@×××××.com> wrote:
3
4 > On Sat, Dec 19, 2015 at 9:24 PM, <thelma@×××××××××××.com> wrote:
5 >
6 >>
7 >> On 12/19/2015 12:10 PM, thelma@×××××××××××.com wrote:
8 >> > I just upgraded one of my systems and upon boot there is no network:
9 >> >
10 >> > /etc/init.d/net.eth0 start
11 >> > * Mounting local filesystems ...
12 >> > mount: mount point /proc/bus/usb does not exist
13 >> > * Some local filesystem failed to start
14 >> > ERROR: localmount failed to start
15 >> > ERROR: cannot start net.eth0 as localmount would not start
16 >> >
17 >> > rc-status sysinit
18 >> > sysfs [ started ]
19 >> > dmesg [ started ]
20 >> > devfs [ started ]
21 >> > tmpfiles.dev [ started ]
22 >> > udev [ started
23 >> >
24 >> >
25 >> > I can not even ssh to the system as network is not working.
26 >> > What to check next?
27 >> >
28 >> It seems I'm not the only one:
29 >> https://forums.gentoo.org/viewtopic-t-1034770-highlight-localmount.html
30 >>
31 >> "The problem was openrc-0.18.4. When I downgraded to openrc-0.16.4 the
32 >> problem went away."
33 >>
34 >> Now, I can not downgrade without eth0 working.
35 >> Do I need to boot strap and downgrade or is there is easier solution?
36 >>
37 >> --
38 >> Thelma
39 >>
40 >>
41 >>
42 > Here is a news item that explains the situation.
43 >
44 > 2015-10-07-openrc-0-18-localmount-and-netmount-changes
45 > Title OpenRC-0.18 localmount and netmount changes
46 > Author William Hubbs <williamh@g.o>
47 > Posted 2015-10-07
48 > Revision 1
49 >
50 > The behaviour of localmount and netmount is changing on Linux systems.
51 > In the past, these services always started successfully. However, now they
52 > will fail if a file system they attempt to mount cannot be mounted.
53 >
54 > If you have file systems listed in fstab which should not be mounted at
55 > boot time, make sure to add noauto to the mount options. If you have
56 > file systems that you want to attempt to mount at boot time but failure
57 > should be allowed, add nofail to the mount options for these file
58 > systems in fstab.
59 >
60 >
61 >
62 As a follow up, here is a postinst message generated for openrc that might
63 come in handy as well:
64 >>> Messages generated by process 3631 on 2015-12-03 16:53:14 EET for
65 package sys-apps/openrc-0.18.4:
66
67 WARN: postinst
68 In this version of OpenRC, the loopback interface no longer
69 satisfies the net virtual.
70 If you have services now which do not start because of this,
71 They can be fixed by adding rc_need="!net"
72 to the /etc/conf.d/<servicename> file.
73 You should also file a bug against the service asking that
74 need net be dropped from the dependencies.
75 The bug you file should block the following tracker:
76 https://bugs.gentoo.org/show_bug.cgi?id=439092
77
78 Bug https://bugs.gentoo.org/show_bug.cgi?id=427996 was not
79 fixed correctly in earlier versions of OpenRC.
80 The correct fix is implemented in this version, but that
81 means netmount needs to be added to the default runlevel if
82 you are using nfs file systems.