Bug#725970: sysv-rc: Disable "concurrency" boot via boot parameter

2018-12-19 Thread Dmitry Bogatov


control: tags -1 +moreinfo

[2013-10-10 21:34] Steven Shiau 
> It would be great if the "concurrency" boot could be disabled via a
> boot parameter (e.g. none-concurrency). This will be easier for
> debugging and customization. Attached please find a patch about this.

Looks good to me. I'd rename flag to concurrency=none and applied patch.
Dear co-maintainers, objections?



Bug#725970: sysv-rc: Disable "concurrency" boot via boot parameter

2013-10-10 Thread Steven Shiau
Package: sysv-rc
Version: 2.88dsf-43
Severity: wishlist
Tags: patch

Dear Maintainer,
It would be great if the "concurrency" boot could be disabled via a boot 
parameter (e.g. none-concurrency). This will be easier for debugging and 
customization. Attached please find a patch about this.
My 2 cents.

Steven.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.10-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]  1.5.51
ii  insserv1.14.0-5
ii  sysvinit-utils 2.88dsf-43

Versions of packages sysv-rc recommends:
ii  lsb-base  4.1+Debian12

Versions of packages sysv-rc suggests:
pn  bum   
pn  sysv-rc-conf  

-- debconf information:
  sysv-rc/unable-to-convert:
* sysv-rc/convert-legacy: true
--- rc	2012-10-16 01:30:41.0 +0800
+++ rc.new	2013-10-10 21:25:29.0 +0800
@@ -76,6 +76,9 @@
 if test -e /etc/init.d/.legacy-bootordering ; then
 	CONCURRENCY="none"
 fi
+if grep -wqs none-concurrency /proc/cmdline; then
+	CONCURRENCY="none"
+fi
 if ! test -e /proc/stat; then
 	if [ "$(uname)" = "GNU/kFreeBSD" ] ; then
 		# startpar requires /proc/stat