diff --git a/mkosi.extra/usr/lib/tmpfiles.d/etc.conf b/mkosi.extra/usr/lib/tmpfiles.d/etc.conf index 9e3fcd47..464a1f87 100644 --- a/mkosi.extra/usr/lib/tmpfiles.d/etc.conf +++ b/mkosi.extra/usr/lib/tmpfiles.d/etc.conf @@ -58,8 +58,6 @@ L? /etc/services # Required by nftables service L? /etc/nftables.conf L? /etc/skel -# CUPS is pulled in by GNOME, and fails if the configs are not there -L? /etc/cups # On some distributions various binaries in /usr/bin are managed via # /etc/alternatives. L? /etc/alternatives diff --git a/mkosi.profiles/desktop/mkosi.extra/usr/lib/tmpfiles.d/cups.conf b/mkosi.profiles/desktop/mkosi.extra/usr/lib/tmpfiles.d/cups.conf new file mode 100644 index 00000000..72e32f96 --- /dev/null +++ b/mkosi.profiles/desktop/mkosi.extra/usr/lib/tmpfiles.d/cups.conf @@ -0,0 +1,6 @@ +# CUPS fails if the configs are missing but needs write access in /etc/cups/ +d /etc/cups 0755 root root - +L? /etc/cups/cupsd.conf +L? /etc/cups/cups-files.conf +L? /etc/cups/snmp.conf +L? /etc/cups/cups-pdf.conf