Bug 8556 - sysctl: add support for --system
Summary: sysctl: add support for --system
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.24.x
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-23 19:55 UTC by austinenglish@gmail.com
Modified: 2016-02-18 07:04 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description austinenglish@gmail.com 2015-12-23 19:55:56 UTC
austin@austin1:~$ busybox sysctl --system
sysctl: unrecognized option '--system'
BusyBox v1.24.1 (2015-12-08 17:41:42 CST) multi-call binary.

Usage: sysctl [OPTIONS] [KEY[=VALUE]]...

Show/set kernel parameters

	-e	Don't warn about unknown keys
	-n	Don't show key names
	-a	Show all values
	-w	Set values
	-p FILE	Set values from FILE (default /etc/sysctl.conf)
	-q      Set values silently

This is needed by OpenRC:
Standalone sysctl supports a --system option which is very useful
because it reads files from system configuration directories.

OpenRC uses this in the sysctl boot script, so it would be good if
busybox's sysctl could support it.

See https://bugs.gentoo.org/show_bug.cgi?id=545410