state: add systemd.tmpfiles.rules for /var/lib/private
This commit is contained in:
parent
9974e6baac
commit
87fefcae2a
1 changed files with 7 additions and 0 deletions
|
@ -29,5 +29,12 @@ in {
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
# fixes the following error, when trying to use impermanence
|
||||
# in `/var/lib/private`, which is needed for DynamicUser.
|
||||
# Error: Directory "/var/lib/private" already exists, but has mode 0755 that is too permissive (0700 was requested), refusing.
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/private 0700 root root - -"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue