[systemd-devel] Starting a service before any networking
Mark Rogers
mark at more-solutions.co.uk
Wed Sep 27 08:23:09 UTC 2023
On Tue, 26 Sept 2023 at 20:41, Mark Rogers <mark at more-solutions.co.uk>
wrote:
> (I should be able to find another Pi to test for any physical hardware
> issues, I'll try that tomorrow.)
>
I have today tested on a different Pi, different PSU, different cable, all
with exactly the same results. There is definitely something about the
early boot stages which is different from later on that means bringing the
network up early (as happens now) will usually fail.
(Some more background: This is a heavily modified install for a specific
application so it's almost certainly something I have broken somewhere.
However it has worked for years, I'm trying to resolve an issue on a unit
that was returned because of physical damage to the SD card, so I've
rebuilt it from an old image and now have this problem. I just need to
break down the boot sequence to find out which step is causing the
interface to get into a state where it fails like this. Systemd version is
241.)
Alternatively I guess there's the workaround option: detect the condition
at a later stage of the boot and run the down/up sequence to fix it. If I
try that, where is likely the best place in the sequence to put it? If I
wanted to make it, in effect, part of the dhcpcd unit (in that when dhcpcd
starts it first runs a down/up script), how should I do that without
modifying system dhcpcd unit files?
--
Mark Rogers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230927/3818c7f2/attachment.htm>
More information about the systemd-devel
mailing list