diff --git a/pam.changes b/pam.changes index 7c42d96..08a1b06 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 13 15:48:58 CEST 2018 - sbrabec@suse.com + +- Install empty directory /etc/security/namespace.d for + pam_namespace.so iscript. + ------------------------------------------------------------------- Thu May 3 07:08:50 UTC 2018 - josef.moellers@suse.com diff --git a/pam.spec b/pam.spec index 7c4aa16..5be47e2 100644 --- a/pam.spec +++ b/pam.spec @@ -1,7 +1,7 @@ # # spec file for package pam # -# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,7 +39,7 @@ BuildRequires: libselinux-devel Version: 1.3.0 Release: 0 Summary: A Security Tool that Provides Authentication for Applications -License: GPL-2.0+ or BSD-3-Clause +License: GPL-2.0-or-later OR BSD-3-Clause Group: System/Libraries PreReq: permissions %if 0%{?suse_version} >= 1330 @@ -164,6 +164,8 @@ echo "hvc7" >> $RPM_BUILD_ROOT/etc/securetty echo "sclp_line0" >> $RPM_BUILD_ROOT/etc/securetty echo "ttysclp0" >> $RPM_BUILD_ROOT/etc/securetty %endif +# install /etc/security/namespace.d used by pam_namespace.so for namespace.conf iscript +install -d $RPM_BUILD_ROOT%{_sysconfdir}/security/namespace.d # install other.pamd and common-*.pamd install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/other install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/common-auth @@ -238,6 +240,7 @@ install -m 644 $RPM_SOURCE_DIR/unix2_chkpwd.8 $RPM_BUILD_ROOT%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/security/time.conf %config(noreplace) %{_sysconfdir}/security/namespace.conf %config(noreplace) %{_sysconfdir}/security/namespace.init +%dir %{_sysconfdir}/security/namespace.d %doc NEWS %license COPYING %doc %{_mandir}/man5/environment.5*