state: add systemd.tmpfiles.rules for /var/lib/private

This commit is contained in:
eyjhb 2024-08-09 21:11:10 +02:00
parent 9974e6baac
commit 87fefcae2a
No known key found for this signature in database
GPG key ID: 609F508E3239F920

View file

@ -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 - -"
];
}; };
} }