Bug 8537 - sysctl -p instead of sysctl -n in /etc/rc.d/rc.sysinit line 49
Summary: sysctl -p instead of sysctl -n in /etc/rc.d/rc.sysinit line 49
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-17 14:19 UTC by marek
Modified: 2014-03-17 02:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-01-17 15:03:57 UTC
Embargoed:


Attachments (Terms of Use)

Description marek 2000-01-17 14:19:44 UTC
In initscripts-4.80.3-i386.rpm package in /etc/rc.d/rc.sysinit
file in line 49 there is sysctl command with an unsuported -p
parameter (should be sysctl -n /etc/sysctl.conf instead)

Comment 1 Bill Nottingham 2000-01-17 15:03:59 UTC
Um, the sysctl I have supports the -p option, and
that's what used to read commands from a file.

[notting@bobby:~ ]$ sysctl -?
usage:  sysctl [-n] variable ...
        sysctl [-n] -w variable=value ...
        sysctl [-n] -a
        sysctl [-n] -p <file>   (default /etc/sysctl.conf)
        sysctl [-n] -A

[notting@bobby:~/prog/initscripts ]$ rpm -qf /sbin/sysctl
procps-2.0.6-1

Perhaps you have a different sysctl binary/older procps?
It looks like the the -p setting was added in procps-2.0.4;
I'll fix the dependencies on initscripts so it requires at
least that version.


Note You need to log in before you can comment on or make changes to this bug.