[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Query about existence of way to free up unnecessary RAM usage



On Thu, 11 Sep 2014 20:51:16 +0200
Bzzzz <lazyvirus@gmx.com> wrote:

> On Thu, 11 Sep 2014 20:22:01 +0200
> lee <lee@yun.yagibdah.de> wrote:
> 
> > Why would you say that?
> 
> root denied access to sysctl keys (that doesn't even exist on my
> systems).

No, sysctl works the way it should:

$ ls -al /proc/sys/fs/binfmt_misc/register \ 
/proc/sys/net/ipv4/route/flush \
/proc/sys/net/ipv6/route/flush 
--w------- 1 root root 0 Sep  5 18:42 /proc/sys/fs/binfmt_misc/register
--w------- 1 root root 0 Sep 12 00:06 /proc/sys/net/ipv4/route/flush
--w------- 1 root root 0 Sep 12 00:06 /proc/sys/net/ipv6/route/flush

Those are write-only kernel tunables. Even root cannot read a tunable
that should flush a routing table, that's meaningless.

Interpreting those kernel tunables as sysctl keys is somewhat stupid,
of course, but:

a) Is not a bug per se.
b) Won't be fixed by reinstalling.

Reco


Reply to: