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
|
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
|
Name: coreutils-testsuite
|
||||||
Summary: GNU Core Utilities
|
Summary: GNU Core Utilities
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -68,14 +59,12 @@ Recommends: %{name}-lang = %version
|
|||||||
|
|
||||||
# Needed for su.
|
# Needed for su.
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: pkgconfig(systemd)
|
|
||||||
Requires: pam >= 1.1.1.90
|
Requires: pam >= 1.1.1.90
|
||||||
Requires: systemd
|
|
||||||
|
|
||||||
# this will create a cycle, broken up randomly - coreutils is just
|
# this will create a cycle, broken up randomly - coreutils is just
|
||||||
# too core to have other prerequisites.
|
# too core to have other prerequisites.
|
||||||
#Requires(post): permissions
|
#PreReq: permissions
|
||||||
Requires(post): %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
|
||||||
|
|
||||||
# may fail if permissions is not there, but there is no way around that
|
# 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
|
%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
|
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
|
Name: coreutils
|
||||||
Summary: GNU Core Utilities
|
Summary: GNU Core Utilities
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -68,14 +59,12 @@ Recommends: %{name}-lang = %version
|
|||||||
|
|
||||||
# Needed for su.
|
# Needed for su.
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: pkgconfig(systemd)
|
|
||||||
Requires: pam >= 1.1.1.90
|
Requires: pam >= 1.1.1.90
|
||||||
Requires: systemd
|
|
||||||
|
|
||||||
# this will create a cycle, broken up randomly - coreutils is just
|
# this will create a cycle, broken up randomly - coreutils is just
|
||||||
# too core to have other prerequisites.
|
# too core to have other prerequisites.
|
||||||
#Requires(post): permissions
|
#PreReq: permissions
|
||||||
Requires(post): %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
|
||||||
|
|
||||||
# may fail if permissions is not there, but there is no way around that
|
# 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
|
%endif
|
||||||
|
|
||||||
# ================================================
|
# ================================================
|
||||||
|
3
su.pamd
3
su.pamd
@ -6,6 +6,3 @@ account include common-account
|
|||||||
password include common-password
|
password include common-password
|
||||||
session include common-session
|
session include common-session
|
||||||
session optional pam_xauth.so
|
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…
x
Reference in New Issue
Block a user