]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
build-sys: don't mke use of "sushell" automatically
authorLennart Poettering <lennart@poettering.net>
Mon, 12 Dec 2016 12:40:58 +0000 (13:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 19:23:40 +0000 (20:23 +0100)
"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.

NEWS
configure.ac

diff --git a/NEWS b/NEWS
index 17aa5fb025d9365cc6ce6216c14c3a40edc3f22d..aad574ef746580376c07b9cb50514c80e619f6de 100644 (file)
--- 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:
 
index 11bd46cbab02ecec3c1eb4108516c1a27389f9b0..71b330f05dbfe05668673d85b80cf0a296b64d53 100644 (file)
@@ -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)