forked from pool/coreutils
after discussion with kukuk, werner and lnussel, we
decided that this is not the proper fix OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=194
This commit is contained in:
parent
e77e11ca5c
commit
83be651505
@ -1,20 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 12:34:50 UTC 2013 - coolo@suse.com
|
||||
|
||||
- change the buildrequire system to pkgconfig(systemd) to fix bootstrap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 11:18:29 UTC 2013 - werner@suse.de
|
||||
|
||||
- Add systemd to build and use requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 08:31:39 UTC 2013 - werner@suse.de
|
||||
|
||||
- Make pam configuration for command su using the systemd login
|
||||
manager for ordinary users as this allows to use all services
|
||||
provided by systemd login manager
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 20 15:38:30 UTC 2013 - mail@bernhard-voelker.de
|
||||
|
||||
|
@ -16,15 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
#################################################################
|
||||
#################################################################
|
||||
### ! ! ! R E M I N D E R ! ! ! ###
|
||||
#################################################################
|
||||
### Please call "./pre_checkin.sh" prior to submitting. ###
|
||||
### (This will regenerate coreutils-testsuite.spec) ###
|
||||
#################################################################
|
||||
#################################################################
|
||||
|
||||
Name: coreutils-testsuite
|
||||
Summary: GNU Core Utilities
|
||||
License: GPL-3.0+
|
||||
@ -68,14 +59,12 @@ Recommends: %{name}-lang = %version
|
||||
|
||||
# Needed for su.
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Requires: pam >= 1.1.1.90
|
||||
Requires: systemd
|
||||
|
||||
# this will create a cycle, broken up randomly - coreutils is just
|
||||
# too core to have other prerequisites.
|
||||
#Requires(post): permissions
|
||||
Requires(post): %{install_info_prereq}
|
||||
#PreReq: permissions
|
||||
PreReq: %{install_info_prereq}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -236,7 +225,7 @@ echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
|
||||
|
||||
# may fail if permissions is not there, but there is no way around that
|
||||
%set_permissions %{_bindir}/su.core || :
|
||||
%set_permissions %{_bindir}/su.core
|
||||
%endif
|
||||
|
||||
# ================================================
|
||||
|
@ -1,20 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 12:34:50 UTC 2013 - coolo@suse.com
|
||||
|
||||
- change the buildrequire system to pkgconfig(systemd) to fix bootstrap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 11:18:29 UTC 2013 - werner@suse.de
|
||||
|
||||
- Add systemd to build and use requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 08:31:39 UTC 2013 - werner@suse.de
|
||||
|
||||
- Make pam configuration for command su using the systemd login
|
||||
manager for ordinary users as this allows to use all services
|
||||
provided by systemd login manager
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 20 15:38:30 UTC 2013 - mail@bernhard-voelker.de
|
||||
|
||||
|
@ -16,15 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
#################################################################
|
||||
#################################################################
|
||||
### ! ! ! R E M I N D E R ! ! ! ###
|
||||
#################################################################
|
||||
### Please call "./pre_checkin.sh" prior to submitting. ###
|
||||
### (This will regenerate coreutils-testsuite.spec) ###
|
||||
#################################################################
|
||||
#################################################################
|
||||
|
||||
Name: coreutils
|
||||
Summary: GNU Core Utilities
|
||||
License: GPL-3.0+
|
||||
@ -68,14 +59,12 @@ Recommends: %{name}-lang = %version
|
||||
|
||||
# Needed for su.
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Requires: pam >= 1.1.1.90
|
||||
Requires: systemd
|
||||
|
||||
# this will create a cycle, broken up randomly - coreutils is just
|
||||
# too core to have other prerequisites.
|
||||
#Requires(post): permissions
|
||||
Requires(post): %{install_info_prereq}
|
||||
#PreReq: permissions
|
||||
PreReq: %{install_info_prereq}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -236,7 +225,7 @@ echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
|
||||
|
||||
# may fail if permissions is not there, but there is no way around that
|
||||
%set_permissions %{_bindir}/su.core || :
|
||||
%set_permissions %{_bindir}/su.core
|
||||
%endif
|
||||
|
||||
# ================================================
|
||||
|
5
su.pamd
5
su.pamd
@ -1,11 +1,8 @@
|
||||
#%PAM-1.0
|
||||
auth sufficient pam_rootok.so
|
||||
auth include common-auth
|
||||
account sufficient pam_rootok.so
|
||||
account sufficient pam_rootok.so
|
||||
account include common-account
|
||||
password include common-password
|
||||
session include common-session
|
||||
session optional pam_xauth.so
|
||||
session [default=1 success=ignore] pam_succeed_if.so quiet uid > 999
|
||||
session required pam_loginuid.so
|
||||
session required pam_systemd.so kill-exclude-users=0
|
||||
|
Loading…
Reference in New Issue
Block a user