Package: procps
Version: 1:3.2.7-9
Severity: grave

"sysctl -a" and "sysctl -A" prepend a bogus "hello" to their output.
This will break scripts that parse sysctl output.

,----
| $ /sbin/sysctl -a
| hellokernel.sched_min_granularity_ns = 4000000
| kernel.sched_latency_ns = 20000000
| kernel.sched_wakeup_granularity_ns = 10000000
| kernel.sched_child_runs_first = 1
| kernel.sched_features = 895
`----

The culprit is apparently a debug printf() statement introduced in
debian/patches/10_sysctl_options.dpatch:

+   if (DisplayAllOpt) {
+     printf("hello");
+       if (Quiet)
+           return Usage(me);
+       return DisplayAll(PROC_PATH);
+   }

Cheers,
-Hilko

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

Kernel: Linux 2.6.26-1-686 (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 procps depends on:
ii  libc6                     2.7-16         GNU C Library: Shared libraries
ii  libncurses5               5.7+20081220-1 shared libraries for terminal hand
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

procps suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to