Fix systemd-user PAM config and two packaging issues
This commit is contained in:
parent
d81bdc27d3
commit
e134e692b6
12
systemd-user.m4
Normal file
12
systemd-user.m4
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# Used by systemd --user instances.
|
||||||
|
|
||||||
|
account include system-auth
|
||||||
|
|
||||||
|
m4_ifdef(`HAVE_SELINUX',
|
||||||
|
session required pam_selinux.so close
|
||||||
|
session required pam_selinux.so nottys open
|
||||||
|
)m4_dnl
|
||||||
|
session required pam_loginuid.so
|
||||||
|
session include system-auth
|
13
systemd.spec
13
systemd.spec
@ -37,6 +37,7 @@ Source8: systemd-journal-gatewayd.xml
|
|||||||
Source9: 20-yama-ptrace.conf
|
Source9: 20-yama-ptrace.conf
|
||||||
Source10: systemd-udev-trigger-no-reload.conf
|
Source10: systemd-udev-trigger-no-reload.conf
|
||||||
Source11: 20-grubby.install
|
Source11: 20-grubby.install
|
||||||
|
Source12: https://raw.githubusercontent.com/systemd/systemd/1000522a60ceade446773c67031b47a566d4a70d/src/login/systemd-user.m4
|
||||||
|
|
||||||
Patch0001: 0001-build-sys-link-test-seccomp-against-seccomp-libs-456.patch
|
Patch0001: 0001-build-sys-link-test-seccomp-against-seccomp-libs-456.patch
|
||||||
Patch0002: 0002-kernel-install-use-exit-instead-of-return-4565.patch
|
Patch0002: 0002-kernel-install-use-exit-instead-of-return-4565.patch
|
||||||
@ -235,6 +236,9 @@ systemd-journal-remote, and systemd-journal-upload.
|
|||||||
git am %{patches}
|
git am %{patches}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Restore systemd-user pam config from before "removal of Fedora-specific bits"
|
||||||
|
cp -p %{SOURCE12} src/login/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
@ -668,7 +672,7 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
|
|||||||
%exclude %{system_unit_dir}/*/var-lib-machines.mount
|
%exclude %{system_unit_dir}/*/var-lib-machines.mount
|
||||||
%exclude %{system_unit_dir}/systemd-journal-gatewayd.*
|
%exclude %{system_unit_dir}/systemd-journal-gatewayd.*
|
||||||
%exclude %{system_unit_dir}/systemd-journal-remote.*
|
%exclude %{system_unit_dir}/systemd-journal-remote.*
|
||||||
%exclude %{system_unit_dir}/systemd-journal-upload.*
|
%exclude %{system_unit_dir}/*upload.*
|
||||||
%exclude %{system_unit_dir}/systemd-rfkill.*
|
%exclude %{system_unit_dir}/systemd-rfkill.*
|
||||||
%exclude %{system_unit_dir}/systemd-backlight*
|
%exclude %{system_unit_dir}/systemd-backlight*
|
||||||
%exclude %{system_unit_dir}/*/systemd-random-seed.service
|
%exclude %{system_unit_dir}/*/systemd-random-seed.service
|
||||||
@ -938,13 +942,13 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
|
|||||||
%config(noreplace) %{_sysconfdir}/systemd/journal-upload.conf
|
%config(noreplace) %{_sysconfdir}/systemd/journal-upload.conf
|
||||||
%{system_unit_dir}/systemd-journal-gatewayd.*
|
%{system_unit_dir}/systemd-journal-gatewayd.*
|
||||||
%{system_unit_dir}/systemd-journal-remote.*
|
%{system_unit_dir}/systemd-journal-remote.*
|
||||||
%{system_unit_dir}/systemd-journal-upload.*
|
%{system_unit_dir}/*upload.*
|
||||||
%{pkgdir}/systemd-journal-gatewayd
|
%{pkgdir}/systemd-journal-gatewayd
|
||||||
%{pkgdir}/systemd-journal-remote
|
%{pkgdir}/systemd-journal-remote
|
||||||
%{pkgdir}/systemd-journal-upload
|
%{pkgdir}/systemd-journal-upload
|
||||||
%{_prefix}/lib/tmpfiles.d/systemd-remote.conf
|
%{_prefix}/lib/tmpfiles.d/systemd-remote.conf
|
||||||
%{_prefix}/lib/sysusers.d/systemd-remote.conf
|
%{_prefix}/lib/sysusers.d/systemd-remote.conf
|
||||||
%dir %attr(0644,systemd-journal-upload,systemd-journal-upload) %{_localstatedir}/lib/systemd/journal-upload
|
%dir %attr(0755,systemd-journal-upload,systemd-journal-upload) %{_localstatedir}/lib/systemd/journal-upload
|
||||||
%{_datadir}/systemd/gatewayd
|
%{_datadir}/systemd/gatewayd
|
||||||
/usr/lib/firewalld/services/*
|
/usr/lib/firewalld/services/*
|
||||||
%{_mandir}/man[1578]/*journal-remote.*
|
%{_mandir}/man[1578]/*journal-remote.*
|
||||||
@ -954,6 +958,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Nov 4 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 232-2
|
* Fri Nov 4 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 232-2
|
||||||
- Fix kernel-install (#1391829)
|
- Fix kernel-install (#1391829)
|
||||||
|
- Restore previous systemd-user PAM config (#1391836)
|
||||||
|
- Move journal-upload.conf.5 from systemd main to journal-remote subpackage (#1391833)
|
||||||
|
- Fix permissions on /var/lib/systemd/journal-upload (#1262665)
|
||||||
|
|
||||||
* Thu Nov 3 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 232-1
|
* Thu Nov 3 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 232-1
|
||||||
- Update to latest version (#998615, #1181922, #1374371, #1390704, #1384150, #1287161)
|
- Update to latest version (#998615, #1181922, #1374371, #1390704, #1384150, #1287161)
|
||||||
|
Loading…
Reference in New Issue
Block a user