Closed markVnl closed 4 years ago
Do not forget to mention this and explain how an 7.8.2003 RC install can be corrected at final release.
To salvage your Raspberry PI RC1 install you may do (as root or with sudo):
cat > /etc/systemd/system/network.service.d/wait-for-eth0.conf<< EOF
[Unit]
After=sys-subsystem-net-devices-eth0.device
Requires=sys-subsystem-net-devices-eth0.device
EOF
And remove the above lines by:
systemctl edit network.service
[Service]
KillMode=control-group
[Unit] <<< Remove this line
After=sys-subsystem-net-devices-eth0.device <<< Remove this line
Requires=sys-subsystem-net-devices-eth0.device <<< Remove this line
The last lines off network.service now are:
systemctl cat network.service
# /run/systemd/generator.late/network.service
# Automatically generated by systemd-sysv-generator
<<<Truncated Output>>>
# /etc/systemd/system/network.service.d/network-recovery-cleanup.conf
[Service]
ExecStartPre=-/usr/bin/bash -c "if ip link show brtmp &>/dev/null ; then echo 'Clean up brtmp bridge' ; exec ip link delete brtmp ; fi"
# /etc/systemd/system/network.service.d/override.conf
[Service]
KillMode=control-group
# /etc/systemd/system/network.service.d/wait-for-eth0.conf
[Unit]
After=sys-subsystem-net-devices-eth0.device
Requires=sys-subsystem-net-devices-eth0.device
And you are good to go..
nethserver-base contains a overide.conf file for network.service and potentially could overwrite the RPI 4 workaround.
Proposal: