You are not logged in.
netctl help please.
After update today, netctl is broken.
sudo netctl start mynetwork
Failed to start netctl@mynetwork.service: Unit netctl@mynetwork.service has a bad unit file setting.
See system logs and 'systemctl status netctl@mynetwork.service' for details.
systemctl status netctl@mynetwork.service
● netctl@mynetwork.service
Loaded: bad-setting (Reason: Unit netctl@mynetwork.service has a bad unit file setting.)
Active: inactive (dead)
Sep 07 14:10:31 opt380 systemd[1]: netctl@mynetwork.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.
Sep 07 14:11:16 opt380 systemd[1]: /etc/systemd/system/netctl@mynetwork.service:1: Assignment outside of section. Ignoring.
Sep 07 14:11:16 opt380 systemd[1]: netctl@mynetwork.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.
Sep 07 14:11:25 opt380 systemd[1]: /etc/systemd/system/netctl@mynetwork.service:1: Assignment outside of section. Ignoring
cat /etc/systemd/system/netctl@mynetwork.service
.include /usr/lib/systemd/system/netctl@.service
[Unit]
BindsTo=sys-subsystem-net-devices-enp2s0.device
After=sys-subsystem-net-devices-enp2s0.device
cat /usr/lib/systemd/system/netctl@.service
[Unit]
Description=Networking for netctl profile %I
Documentation=man:netctl.profile(5)
After=network-pre.target
Before=network.target netctl.service
Wants=network.target
[Service]
Type=notify
NotifyAccess=exec
RemainAfterExit=yes
ExecStart=/usr/lib/netctl/network start %I
ExecStop=/usr/lib/netctl/network stop %I
I brought the interface up manually to get here.
ip link set enp2s0 up
ip address add 172.16.0.2/24 broadcast + dev enp2s0
ip route add default via 172.16.0.1 dev enp2s0
I've looked at the wiki. I don't see what has changed.
I've never had ifplugd installed.
I did not get any .pacnew files for pam. I've looked at the forum.
What have I missed?
Last edited by teckk (2020-09-08 14:58:38)
Offline
I found it.
From the wiki.
Journal warnings for profiles using .include directives
Profiles still using systemd's old .include directives...
Answer:
netctl reenable profile
That's what has changed. And I had not updated for a while.
Offline