[Lsb-messages] /var/www/bzr/lsb/devel/runtime-test r1301: flip default for initd tests to not assume the sysv style (bug 4108)

Mats Wichmann mats at linuxfoundation.org
Fri Jun 12 18:24:53 UTC 2015


------------------------------------------------------------
revno: 1301
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: runtime-test
timestamp: Fri 2015-06-12 12:24:53 -0600
message:
  flip default for initd tests to not assume the sysv style (bug 4108)
modified:
  modules/lsb-initd/SRC/subsets/init/exec_params
  modules/lsb-initd/scripts/initd/parameterisations.sh
  modules/lsb-initd/scripts/initd/runtime-parameterisation.sh
  scripts/package/Makefile
  scripts/package/tetexec.cfg
-------------- next part --------------
=== modified file 'modules/lsb-initd/SRC/subsets/init/exec_params'
--- a/modules/lsb-initd/SRC/subsets/init/exec_params	2005-06-19 11:12:11 +0000
+++ b/modules/lsb-initd/SRC/subsets/init/exec_params	2015-06-12 18:24:53 +0000
@@ -20,6 +20,6 @@
 LSB_INITD_RC_PARENT_DIR=/etc/rc.d
 
 # Does the implementation provide System V init mechanism
-# Set to true , or leave unset
+# Unset now implies false
 LSB_INITD_SYSV_INIT=
 

=== modified file 'modules/lsb-initd/scripts/initd/parameterisations.sh'
--- a/modules/lsb-initd/scripts/initd/parameterisations.sh	2007-06-18 15:24:27 +0000
+++ b/modules/lsb-initd/scripts/initd/parameterisations.sh	2015-06-12 18:24:53 +0000
@@ -22,15 +22,16 @@
   exit 1
 fi
 
-
+# bug 4108: flip default to no. Many systems now are systemd;
+# need to explicitly select if you want the sysv style
 echo "LSB_INITD_SCRIPTS_DIR=$HOME/scripts/initd" >> $1
 
-printf "Does the implementation provide a System V Init mechanism..? [y] "
+printf "Does the implementation provide a System V Init mechanism..? [n] "
 read cmd
-if [ "$cmd" = "Y" -o "$cmd" = "y" -o "$cmd" = "" ] ; then
+if [ "$cmd" = "N" -o "$cmd" = "N" -o "$cmd" = "" ] ; then
+        echo "LSB_INITD_SYSV_INIT=\"\"" >> $1
+else
         echo "LSB_INITD_SYSV_INIT=true" >> $1
-else
-        echo "LSB_INITD_SYSV_INIT=\"\"" >> $1
 fi
 
 set_init_path

=== modified file 'modules/lsb-initd/scripts/initd/runtime-parameterisation.sh'
--- a/modules/lsb-initd/scripts/initd/runtime-parameterisation.sh	2007-06-18 15:24:27 +0000
+++ b/modules/lsb-initd/scripts/initd/runtime-parameterisation.sh	2015-06-12 18:24:53 +0000
@@ -22,15 +22,16 @@
   exit 1
 fi
 
-
+# bug 4108: flip default to no. Many systems now are systemd;
+# need to explicitly select if you want the sysv style
 echo "LSB_INITD_SCRIPTS_DIR=$HOME/scripts/initd" >> $1
 
-printf "Does the implementation provide a System V Init mechanism..? [y] "
+printf "Does the implementation provide a System V Init mechanism..? [n] "
 read cmd
-if [ "$cmd" = "Y" -o "$cmd" = "y" -o "$cmd" = "" ] ; then
+if [ "$cmd" = "N" -o "$cmd" = "n" -o "$cmd" = "" ] ; then
+        echo "LSB_INITD_SYSV_INIT=\"\"" >> $1
+else
         echo "LSB_INITD_SYSV_INIT=true" >> $1
-else
-        echo "LSB_INITD_SYSV_INIT=\"\"" >> $1
 fi
 
 set_init_path

=== modified file 'scripts/package/Makefile'
--- a/scripts/package/Makefile	2015-04-17 14:45:24 +0000
+++ b/scripts/package/Makefile	2015-06-12 18:24:53 +0000
@@ -1,7 +1,7 @@
 # values used to populate .spec from .spec.sed
 PACKAGE=lsb-test-core
-VERSION=5.0.1
-BUILDNO=2
+VERSION=5.0.2
+BUILDNO=1
 # PAM Version
 PVERSION=0.99.8.1
 SYSLOGVER=1.4.2rh

=== modified file 'scripts/package/tetexec.cfg'
--- a/scripts/package/tetexec.cfg	2015-04-17 14:45:24 +0000
+++ b/scripts/package/tetexec.cfg	2015-06-12 18:24:53 +0000
@@ -454,8 +454,8 @@
 LSB_INITD_RC_PARENT_DIR=/etc/rc.d
 
 # Does the implementation provide System V init mechanism
-# Set to true , or leave unset
-LSB_INITD_SYSV_INIT=true
+# Unset now implies false
+LSB_INITD_SYSV_INIT=false
 
 #
 #  Operating System Characteristics - required for 'li18nux-base' subset



More information about the lsb-messages mailing list