Public bug reported:

sysctl fails to set net.ipv4.tcp_congestion_control if the value has a
space. Setting to "cubic" words, setting to "lp" works, setting to
"cubic lp" or "lp cubic" doesn't work.

~> sudo sysctl -p
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
error: "No such file or directory" setting key "net.ipv4.tcp_congestion_control"


The sysctl manpage reports:

EXAMPLE
              # sysctl.conf sample
              #

                kernel.domainname = example.com
              ; this one has a space which will be written to the sysctl!
                kernel.modprobe = /sbin/mod probe

So it should work.

command echo "cubic lp" > /proc/sys/net/ipv4/tcp_congestion_control
works as excpected

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: procps 1:3.2.8-10ubuntu5
Uname: Linux 3.1.0 i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Thu Nov  3 20:16:15 2011
SourcePackage: procps
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.sysctl.conf: 2011-11-03T20:10:14.949162

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/885838

Title:
  sysctl cannot set net.ipv4.tcp_congestion_control to "cubic lp"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/885838/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to