Package: procps
Version: 1:3.2.7-9
Severity: important
Justification: defeats the purpose of the package
On Debian GNU/kFreeBSD, /bin/sysctl comes from package freebsd-utils
and does not accept a file name on its command line but the default
/etc/init.d/procps passes configuration files on the command line. As
a consequence, it fails to process /etc/sysctl.conf or any other
kernel configuration file correctly.
The symptoms are:
Setting kernel variables (/etc/sysctl.conf)...sysctl: unknown oid
'/etc/sysctl.conf'
failed.
and the kernel variables needed by the system administrator are not
set.
The following patch addresses this problem on kFreeBSD:
--- procps.orig 2008-10-19 15:29:11.000000000 +0200
+++ procps 2008-10-19 15:31:25.000000000 +0200
@@ -29,7 +29,7 @@
for file in /etc/sysctl.conf /etc/sysctl.d/*.conf ; do
if [ -r "$file" ] ; then
log_action_begin_msg "Setting kernel
variables ($file)"
- sysctl -q -p "$file"
+ sysctl -q -p < "$file"
log_action_end_msg $?
fi
done
$ uname -a
GNU/kFreeBSD deuteronome 7.0-1-686 #0 Wed Oct 8 07:21:47 CEST 2008 i686 i386
Intel Pentium III GNU/kFreeBSD
Packages installed on this system:
ii kfreebsd-image-7.0-1-686 7.0-7 kernel of FreeBSD 7.0 image
ii kfreebsd-loader 5.4-4 Kernel of FreeBSD loader
ii libc0.1 2.7-15 GNU C Library: Shared libraries
ii libncurses5 5.6+20081004-1 shared libraries for terminal
handling
ii lsb-base 3.2-20 Linux Standard Base 3.2 init script
functionality
ii procps 1:3.2.7-9 /proc file system utilities
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]