1 |
Am Mon, 21 Dec 2015 23:20:24 +0000 |
2 |
schrieb Mick <michaelkintzios@×××××.com>: |
3 |
|
4 |
> On Monday 21 Dec 2015 22:38:21 Alan McKinnon wrote: |
5 |
> > On 22/12/2015 00:37, Mick wrote: |
6 |
> |
7 |
> > > Am I alone in experiencing this? Any ideas for fixing it? |
8 |
> > > Should I post a bug and if so where? I'm thinking that asking |
9 |
> > > Lennart to fix ifplugd so that it works with openrc would be |
10 |
> > > taking it a step too far. :p |
11 |
> > |
12 |
> > read the news items for the last 3 months or so. |
13 |
> > |
14 |
> > openrc changes, networking and service dependencies have changed |
15 |
> > somewhat, all well documented in the news items |
16 |
> |
17 |
> Thank you Alan, I believe I've read the news item you refer to, but I |
18 |
> am not sure I understand how or why it applies to two laptops. The |
19 |
> news item refers to localmount and netmount which if they cannot be |
20 |
> mounted will cause problems. I don't use netmount on these laptops: |
21 |
> |
22 |
> # rc-update -s -v | grep mount |
23 |
> localmount | boot |
24 |
> mount-ro | shutdown |
25 |
> netmount | |
26 |
> |
27 |
> |
28 |
> localmount works and I see no failures in mounting my filesystems. |
29 |
> What fails repeatably is ifplugd, which no longer starts wired or |
30 |
> wireless devices. |
31 |
> |
32 |
|
33 |
You could try running the service in debug mode (--debug), and look at |
34 |
the line starting ifplugd. Check if the parameters look correct, then |
35 |
try to fire the same command from command line and check the console |
36 |
output for errors. |
37 |
|
38 |
By the way: Is ifplugd still needed? I thought it has been replacable |
39 |
by openrcs improved hotplug/coldplug support a long time ago? I |
40 |
remember my main purpose of using ifplugd back the days I still used it |
41 |
was to decouple the network init latency from the rest of the boot |
42 |
process and thus speed it up - in addition to the benefit of not |
43 |
starting some services at all when no network was plugged in. |
44 |
|
45 |
Part of the problem may be that udev handles device renaming and |
46 |
bootstrapping now. Maybe ifplugd should be called from udev and no |
47 |
longer be a service? In the end, ifplugd is tied to the device name - |
48 |
and thus must be part of the device service it is going to manage. And |
49 |
I don't think this is how it works in openrc nowadays. Thus it needs |
50 |
to move deeper down the layer - which is udev. |
51 |
|
52 |
Alternatively, NetworkManager is probably also a good replacement then - |
53 |
tho I totally understand why you wouldn't want to install it. At least |
54 |
you wouldn't have to ask Lennart then for fixing ifplugd in openrc |
55 |
if problems arise. ;-) |
56 |
|
57 |
As a side note: systemd-networkd handles and fits the same purpose as |
58 |
ifplugd very well - should you consider to migrate to systemd. *scnr* |
59 |
|
60 |
It's also not by Lennart, which elevates your problems with asking |
61 |
Lennart to fix something. :-) |
62 |
|
63 |
-- |
64 |
Regards, |
65 |
Kai |
66 |
|
67 |
Replies to list-only preferred. |