sysctl is using deprecated syscall

Tomas Smetana tsmetana at redhat.com
Tue Apr 10 12:17:41 UTC 2007


On Tue, 10 Apr 2007 13:42:38 +0200
Miloslav Trmac <mitr at volny.cz> wrote:

> > The problem is that any attempt to read a deprecated sysctl ends up
> > with kernel warning in the log. Thus "sysctl -a" produces warnings and
> > since "sysctl -a" is used in init scripts
> > (/etc/sysconfig/network-scripts/init.ipv6-global),
> While I have no opinion about the general case, can't the (sysctl -a
> |grep "^net\.ipv6.conf\.") be replaced by (sysctl net.ipv6.conf) ?
> 	Mirek

Yes. That's what I meant by "fix the scripts" (well, there's only one I
know about). But this should be done in any case.

--ts




More information about the fedora-devel-list mailing list