Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dhcpcd: fix race between namespace setup and resolvconf
systemd requires paths in `ReadWritePaths=` to exist before setting up the service sandbox and there is apparently no way to control this with the usual `After=`, `Wants=` etc. Instead, we have to mark all the paths as optional, even if they're not, then manually check if they exist, fail if they don't and wait for the service to be restarted.
- Loading branch information