]> git.ipfire.org Git - thirdparty/systemd.git/commit
portable: Don't fail if /etc/resolv.conf doesn't exist
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 25 Apr 2024 11:49:01 +0000 (13:49 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 25 Apr 2024 15:06:42 +0000 (17:06 +0200)
commitf449a29bb9914f2645f37a3e177afef1e2c0536a
treee02f418160511ab6430a3e93248a294cc6dec568
parentcf5e1b5d39ce6ea6a47dcd8db5b87b470cf437d1
portable: Don't fail if /etc/resolv.conf doesn't exist

The portable profiles assume /etc/resolv.conf exists, which isn't
always the case. Let's mark the mounts as optional so we don't fail
to start the unit if /etc/resolv.conf doesn't exist.
src/portable/profile/default/service.conf
src/portable/profile/trusted/service.conf