ansible-ifupdown icon indicating copy to clipboard operation
ansible-ifupdown copied to clipboard

/run/network not found

Open ondrejkolin opened this issue 6 years ago • 2 comments

Issue when used on Ubuntu 18.04.1

Can this be result of the changes of the networking tools in Ubuntu?

fatal: [gateway]: FAILED! => {"changed": false, "checksum": "fd62812fbd9ec4c7f99aa4f6253fead2388eb238", "msg": "Destination directory /run/network does not exist"}

ondrejkolin avatar Aug 09 '18 12:08 ondrejkolin

Hmm, could be. The role does not install ifupdown package since it was previously installed by default. I'm not sure what creates the /run/network/ directory, probably the ifup script or something else in the package.

Could you check that if you install the ifupdown package on Bionic, the /run/network/ directory shows up automatically?

drybjed avatar Aug 09 '18 14:08 drybjed

There is no ifupdown in Ubuntu 18:04 anymore, networking backend changed. So the directory does not exist anymore. Installation of ifupdown package solves the issue.

ondrejkolin avatar Aug 10 '18 14:08 ondrejkolin