Comment 2 for bug 2017840

Revision history for this message
CH (pdragon99) wrote (last edit ):

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.