SHA256
1
0
forked from pool/systemd

Accepting request 814110 from home:mgerstner:branches:Base:System

- no longer explicitly package setgid directory /var/log/journal (bsc#1172550).
  The bit will be set during %post by way of the systemd-tmpfiles invocation.
  This avoids a conflict with the permissions package and an rpmlint error
  popping up.

OBS-URL: https://build.opensuse.org/request/show/814110
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1102
This commit is contained in:
Franck Bui 2020-06-15 09:45:22 +00:00 committed by Git OBS Bridge
parent 397c17e983
commit cf0b23a0c2
4 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jun 4 15:29:03 UTC 2020 - matthias.gerstner@suse.com
- no longer explicitly package setgid directory /var/log/journal (bsc#1172550).
The bit will be set during %post by way of the systemd-tmpfiles invocation.
This avoids a conflict with the permissions package and an rpmlint error
popping up.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 29 14:32:41 UTC 2020 - Franck Bui <fbui@suse.com> Fri May 29 14:32:41 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -1502,7 +1502,8 @@ fi
%files logger %files logger
%defattr(-,root,root) %defattr(-,root,root)
%dir %attr(2755,root,systemd-journal) %{_localstatedir}/log/journal/ # package without explicit setgid bit / attrs (see bsc#1172550)
%dir %{_localstatedir}/log/journal/
%doc %{_localstatedir}/log/README %doc %{_localstatedir}/log/README
%files -n nss-myhostname %files -n nss-myhostname

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jun 4 15:29:03 UTC 2020 - matthias.gerstner@suse.com
- no longer explicitly package setgid directory /var/log/journal (bsc#1172550).
The bit will be set during %post by way of the systemd-tmpfiles invocation.
This avoids a conflict with the permissions package and an rpmlint error
popping up.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 29 14:32:41 UTC 2020 - Franck Bui <fbui@suse.com> Fri May 29 14:32:41 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -1500,7 +1500,8 @@ fi
%files logger %files logger
%defattr(-,root,root) %defattr(-,root,root)
%dir %attr(2755,root,systemd-journal) %{_localstatedir}/log/journal/ # package without explicit setgid bit / attrs (see bsc#1172550)
%dir %{_localstatedir}/log/journal/
%doc %{_localstatedir}/log/README %doc %{_localstatedir}/log/README
%files -n nss-myhostname %files -n nss-myhostname