From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Description of problem:
The following thread on lkml discuses deprecation of the sysctl(2) which
currently kudzu uses for setting hotplug amongst other things.
http://marc.theaimsgroup.com/?t=105788803400003&r=1&w=2
At the moment it is fine, we just get a warning on boot or when using kudzu or
the kudzu python module
python: numerical sysctl 1 23 is obsolete.
Looking at the code what is being done here is getting the log level
I have also managed to get these messages which are for turning hotplug on and off
python: numerical sysctl 1 49 is obsolete.
Version-Release number of selected component (if applicable):
kudzu-1.1.13-1.1
How reproducible:
Always
Steps to Reproduce:
The following python fragment will produce the error
import kudzu
list = kudzu.probe(kudzu.CLASS_MOUSE, kudzu.BUS_UNSPEC,
kudzu.PROBE_ALL)
1. Ensure running 2.6 kernel, eg kernel 2.6.0-0.test3.1.31 from Arjan's repository
2. run python fragment
3. run dmesg
---
Actual Results: The following occurs in the dmesg output
python: numerical sysctl 1 23 is obsolete.
Expected Results: No printk, should use /proc directly (maybe ala procps sysctl.c).
---
Additional info:
I know this is on a Cambridge++ timescale (or beyond as it's just marked so will
not go away until 2.7/2.8), but it looks fairly trivial to replace using /proc,
unless there is any point that kudzu runs when proc is not yet mounted,
certainly this is not the case in standard boot order, and IIRC anaconda mounts
proc for an install.
I am seeing several such messages from kudzu:
kudzu: numerical sysctl 1 23 is obsolete.
kudzu: numerical sysctl 1 49 is obsolete.
kudzu: numerical sysctl 1 49 is obsolete.