[Pkg-sysvinit-devel] Bug#767942: ondemand script fails when cpu0 is not available

Breno Leitao leitao at linux.vnet.ibm.com
Mon Nov 3 15:12:51 UTC 2014


Package: initscripts
Version: 2.88dsf-57
Severity: normal
Tags: patch


Script /etc/init.d/ondemand fails when cpu0 is not available. CPU0 being online
is not a requirement, so, ondemand should consider it.

I create a patch that seems to solve this problem easily, identifying the first
online CPU and using it instead of CPU0.

Thank you,
Breno

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

Kernel: Linux 3.16-2-powerpc64le (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils       8.23-3
ii  debianutils     4.4+b1
ii  libc6           2.19-12
ii  lsb-base        4.1+Debian13+nmu1
ii  mount           2.25.2-2
ii  sysv-rc         2.88dsf-57
ii  sysvinit-utils  2.88dsf-57

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.12-1
ii  psmisc     22.21-2

initscripts suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysvinit_ondemand.patch
Type: text/x-diff
Size: 529 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20141103/1c11470c/attachment.patch>


More information about the Pkg-sysvinit-devel mailing list