Web lists-archives.com

Re: systemd error




	Hi.

On Fri, Mar 08, 2019 at 04:00:05PM -0500, Default User wrote:
> Hi.  Got a (minor) systemd problem.
...
>            └─3684 /usr/sbin/minissdpd -i enp7s0 -i wlp6s0
...
> So, although the minissdpd.service unit is enables, it does not start
> automatically at boot, but will start manually using systemctl start/stop.

What is most likely happening at boot is that systemd tries to start
minissdpd before configuring interfaces enp7s0 and wlp6s0.
So it fails at boot, but works for manual restart because by then you
have both enp7s0 and wlp6s0 up and running.
Adding a dependency in the form of:

[Unit]
After=sys-subsystem-net-devices-enp7s0.device sys-subsystem-net-devices-wlp6s0.device
Requires=sys-subsystem-net-devices-enp7s0.device sys-subsystem-net-devices-wlp6s0.device

Should help with the issue.

Reco