summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-12 13:40:58 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-20 20:23:40 +0100
commit5cfc0a84610949854ae46a5f7f2e3a56077fa92d (patch)
tree1b1ec0259892cd705de1f3d07827a2a9137769f2
parent9b6deb03fcb358d6987ce86fcad08e2e290ee5d0 (diff)
build-sys: don't mke use of "sushell" automatically
"sushell" is a Fedora-specific concept, shipped as part of "initscripts". We shouldn't actively search for it if we can avoid it. Hence, lets now default to /bin/sh as debug shell on all systems, and permit Fedora to override that for their RPMs via --with-debug-shell= at configure time.
-rw-r--r--NEWS5
-rw-r--r--configure.ac4
2 files changed, 7 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 17aa5fb025..aad574ef74 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ systemd System and Service Manager
CHANGES WITH 233 in spe
+ * The shell invoked by debug-shell.service now defaults to /bin/sh in
+ all cases. If distributions want to use a different shell for this
+ purpose (for example Fedora's /sbin/sushell) they need to specify
+ this explicitly at configure time using --with-debug-shell=.
+
* The confirmation spawn prompt has been reworked to offer the
following choices:
diff --git a/configure.ac b/configure.ac
index 11bd46cbab..71b330f05d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -531,8 +531,8 @@ AS_IF([test "x$enable_wheel_group" != "xno"], [
AC_ARG_WITH(debug-shell,
AS_HELP_STRING([--with-debug-shell=PATH],
[path to debug shell binary]),
- [SUSHELL="$withval"],[
- AS_IF([test "x${have_selinux}" != "xno"], [SUSHELL="/sbin/sushell"] , [SUSHELL="/bin/sh"])])
+ [SUSHELL="$withval"],
+ [SUSHELL="/bin/sh"])
AC_SUBST(SUSHELL)