Re: sysctl is using deprecated syscall

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

 



Tomas Smetana wrote:
Hi there,
  I'm trying to resolve the following bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152435

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), there are warnings
in log on every boot...

It's nothing serious of course, but I simply can't decide what's the
best solution:

1. Leave sysctl as is and update the man page -- so user would know
that "sysctl -a" may produce warnings. And fix the scripts, eventually.

2. Do as proposed in the bugzilla: keep a table of deprecated values in
sysctl, ignore these values when run with "-a" parameter and mention
this in the man page. (Upstream maintainer refuses to accept this so
we would have to maintain the patch.)

3. Something else?

Could you give me some hints what would be the best according to you?

Thanks. Tomas Smetana


Working around a simple problem like this, increases the chance that it won't be properly fixed until it breaks for real (no longer does it's job). Deprecated means that at some point, the support for those calls will go away completely, so the only viable solution is to fix sysctl now.

/Thoma

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux