Oh, and when you run `ifup enp3s0` by hand, you get this error:
```
# ifup enp3s0
ifup: interface enp3s0 already configured
# ifdown enp3s0
# ifup enp3s0
mkdir: missing operand
Try 'mkdir --help' for more information.
```
It looks like this error is from line 26 of /etc/network/if-up.d/resolved:
```
if [ ! "$ifindex" ]; then
return
fi
# mystatedir=/run/network
mkdir -p $mystatedir
statedir=/run/systemd/resolve/netif
mkdir -p $statedir
chown systemd-resolve:systemd-resolve $statedir
```
Not sure why mystatedir is commented out, but it looks like that's what's wrong this time.
Oh, and when you run `ifup enp3s0` by hand, you get this error:
```
# ifup enp3s0
ifup: interface enp3s0 already configured
# ifdown enp3s0
# ifup enp3s0
mkdir: missing operand
Try 'mkdir --help' for more information.
```
It looks like this error is from line 26 of /etc/network/ if-up.d/ resolved: /run/network
```
if [ ! "$ifindex" ]; then
return
fi
# mystatedir=
mkdir -p $mystatedir
statedir= /run/systemd/ resolve/ netif resolve: systemd- resolve $statedir
mkdir -p $statedir
chown systemd-
```
Not sure why mystatedir is commented out, but it looks like that's what's wrong this time.