[Bug 1076331] [NEW] sysctl does not accept key value pairs with spaces, but perhaps should
Jason Spashett
1076331 at bugs.launchpad.net
Thu Nov 8 11:34:22 UTC 2012
Public bug reported:
For example, the config files in /etc/sysctl.conf have spaces between
name and value pairs
The problem is that the values probably get played into sysctl -w
somehow
sysctl does not seem to accept name value pairs with spaces, yet it
displayes them with spaces via sysctl -a
e.g.
sysctl -w vm.swappiness = 100 (won't work)
sysctl -w vm.swappiness=100 (works)
The existing files in /etc/sysctl.conf all seem to have spaces in thier
settings, as if sysctl -a output was used to generate them.
probably sysctl should be modified to be more consistent / less
confusing / error prone.
** Affects: procps (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1076331
Title:
sysctl does not accept key value pairs with spaces, but perhaps should
Status in “procps” package in Ubuntu:
New
Bug description:
For example, the config files in /etc/sysctl.conf have spaces between
name and value pairs
The problem is that the values probably get played into sysctl -w
somehow
sysctl does not seem to accept name value pairs with spaces, yet it
displayes them with spaces via sysctl -a
e.g.
sysctl -w vm.swappiness = 100 (won't work)
sysctl -w vm.swappiness=100 (works)
The existing files in /etc/sysctl.conf all seem to have spaces in
thier settings, as if sysctl -a output was used to generate them.
probably sysctl should be modified to be more consistent / less
confusing / error prone.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1076331/+subscriptions
More information about the foundations-bugs
mailing list