Add selinux to system-user PAM config
This commit is contained in:
parent
41553e0ec2
commit
4463a3b894
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
/systemd-*.tar.xz
|
/systemd-*.tar.xz
|
||||||
/*.rpm
|
/*.rpm
|
||||||
/systemd-226.tar.gz
|
/systemd-226.tar.gz
|
||||||
|
/systemd-user
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
e0710185ba9723c622def5b1398b08b7 systemd-226.tar.gz
|
aa2b7b430bd1b81871bdbd51f553a9a4 systemd-user
|
||||||
|
9
systemd-user
Normal file
9
systemd-user
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# Used by systemd --user instances.
|
||||||
|
|
||||||
|
account include system-auth
|
||||||
|
|
||||||
|
session required pam_selinux.so close
|
||||||
|
session required pam_selinux.so nottys open
|
||||||
|
session include system-auth
|
18
systemd.spec
18
systemd.spec
@ -13,7 +13,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: http://www.freedesktop.org/wiki/Software/systemd
|
Url: http://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 226
|
Version: 226
|
||||||
Release: 1%{?gitcommit:.git%{gitcommitshort}}%{?dist}
|
Release: 2%{?gitcommit:.git%{gitcommitshort}}%{?dist}
|
||||||
# For a breakdown of the licensing, see README
|
# For a breakdown of the licensing, see README
|
||||||
License: LGPLv2+ and MIT and GPLv2+
|
License: LGPLv2+ and MIT and GPLv2+
|
||||||
Summary: A System and Service Manager
|
Summary: A System and Service Manager
|
||||||
@ -27,15 +27,15 @@ Source0: https://github.com/systemd/systemd/archive/v%{version}.tar.gz#/%
|
|||||||
|
|
||||||
# Prevent accidental removal of the systemd package
|
# Prevent accidental removal of the systemd package
|
||||||
Source4: yum-protect-systemd.conf
|
Source4: yum-protect-systemd.conf
|
||||||
|
|
||||||
Source5: inittab
|
Source5: inittab
|
||||||
Source6: sysctl.conf.README
|
Source6: sysctl.conf.README
|
||||||
Source7: systemd-journal-remote.xml
|
Source7: systemd-journal-remote.xml
|
||||||
Source8: systemd-journal-gatewayd.xml
|
Source8: systemd-journal-gatewayd.xml
|
||||||
Source9: 20-yama-ptrace.conf
|
Source9: 20-yama-ptrace.conf
|
||||||
|
|
||||||
# Patch series is available from http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v220-stable
|
# Fix until upstream version is available
|
||||||
# GIT_DIR=~/src/systemd/.git git format-patch-ab -M -N --no-signature v220..v220-stable
|
Source100: systemd-user
|
||||||
# i=1; for p in 0*patch;do printf "Patch%04d: %s\n" $i $p; ((i++));done
|
|
||||||
|
|
||||||
# kernel-install patch for grubby, drop if grubby is obsolete
|
# kernel-install patch for grubby, drop if grubby is obsolete
|
||||||
Patch1000: kernel-install-grubby.patch
|
Patch1000: kernel-install-grubby.patch
|
||||||
@ -76,11 +76,7 @@ BuildRequires: firewalld-filesystem
|
|||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
BuildRequires: gnu-efi gnu-efi-devel
|
BuildRequires: gnu-efi gnu-efi-devel
|
||||||
%endif
|
%endif
|
||||||
# libseccomp is currently explicitly only supported on x86/arm*
|
|
||||||
%ifarch %{arm} aarch64 %{ix86} x86_64
|
%ifarch %{arm} aarch64 %{ix86} x86_64
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1071278
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1073647
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1071284
|
|
||||||
BuildRequires: libseccomp-devel
|
BuildRequires: libseccomp-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -340,6 +336,9 @@ install -Dm0644 %{SOURCE8} %{buildroot}/usr/lib/firewalld/services/
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1234951
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1234951
|
||||||
install -Dm0644 %{SOURCE9} %{buildroot}%{_pkgdocdir}/
|
install -Dm0644 %{SOURCE9} %{buildroot}%{_pkgdocdir}/
|
||||||
|
|
||||||
|
# Fix until upstream version is available
|
||||||
|
install -Dm0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pam.d/
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -778,6 +777,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
|
|||||||
/usr/lib/firewalld/services/*
|
/usr/lib/firewalld/services/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 18 2015 Kay Sievers <kay@redhat.com> - 226-2
|
||||||
|
- Add selinux to system-user PAM config
|
||||||
|
|
||||||
* Tue Sep 8 2015 Kay Sievers <kay@redhat.com> - 226-1
|
* Tue Sep 8 2015 Kay Sievers <kay@redhat.com> - 226-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user