diff --git a/systemd-mini.changes b/systemd-mini.changes index b78f954..8f6e60d 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 24 12:56:31 UTC 2021 - Franck Bui + +- Make sure the build process won't create /var/log/journal + +- /var/log/journal/remote is owned by systemd-journal-remote + ------------------------------------------------------------------- Fri Sep 24 09:28:38 UTC 2021 - Franck Bui diff --git a/systemd-mini.spec b/systemd-mini.spec index ef4df8a..e0e5dc5 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -619,6 +619,7 @@ Have fun with these services at your own risk. -Ddefault-hierarchy=unified \ -Ddefault-kill-user-processes=false \ -Drc-local=/etc/init.d/boot.local \ + -Dcreate-log-dirs=false \ -Dbump-proc-sys-fs-nr-open=false \ -Ddebug-shell=/bin/bash \ -Dseccomp=auto \ @@ -1365,9 +1366,6 @@ fi %{_pam_moduledir}/pam_systemd.so %ghost %dir %attr(2755, root, systemd-journal) %{_localstatedir}/log/journal/ -%if %{with sysvcompat} -%doc %{_localstatedir}/log/README -%endif %if %{with gnuefi} %dir %{_prefix}/lib/systemd/boot @@ -1776,6 +1774,7 @@ fi %{_mandir}/man8/systemd-journal-remote.* %{_mandir}/man8/systemd-journal-upload.* %{_datadir}/systemd/gatewayd +%ghost %dir %{_localstatedir}/log/journal/remote %endif %if %{with networkd} || %{with resolved} diff --git a/systemd.changes b/systemd.changes index b78f954..8f6e60d 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 24 12:56:31 UTC 2021 - Franck Bui + +- Make sure the build process won't create /var/log/journal + +- /var/log/journal/remote is owned by systemd-journal-remote + ------------------------------------------------------------------- Fri Sep 24 09:28:38 UTC 2021 - Franck Bui diff --git a/systemd.spec b/systemd.spec index bf33da3..3971cbe 100644 --- a/systemd.spec +++ b/systemd.spec @@ -617,6 +617,7 @@ Have fun with these services at your own risk. -Ddefault-hierarchy=unified \ -Ddefault-kill-user-processes=false \ -Drc-local=/etc/init.d/boot.local \ + -Dcreate-log-dirs=false \ -Dbump-proc-sys-fs-nr-open=false \ -Ddebug-shell=/bin/bash \ -Dseccomp=auto \ @@ -1363,9 +1364,6 @@ fi %{_pam_moduledir}/pam_systemd.so %ghost %dir %attr(2755, root, systemd-journal) %{_localstatedir}/log/journal/ -%if %{with sysvcompat} -%doc %{_localstatedir}/log/README -%endif %if %{with gnuefi} %dir %{_prefix}/lib/systemd/boot @@ -1774,6 +1772,7 @@ fi %{_mandir}/man8/systemd-journal-remote.* %{_mandir}/man8/systemd-journal-upload.* %{_datadir}/systemd/gatewayd +%ghost %dir %{_localstatedir}/log/journal/remote %endif %if %{with networkd} || %{with resolved}