找到弃用的syscall的原因
我是新手&在这里我的元素,但我需要知道一些事情:
仔细阅读journalctl
输出时,以下行反复出现了一段时间,然后在某个时间点之后,它停止出现:
...内核:ICMPV6:Process'DHCPCD'使用已弃用的sysctl(syscall)net.ipv6.neigh.wlan0.retrans_time-使用net.ipv6.neigh.wlan0.wlan0.retrans_time_ms代替
ines 客户端我的(Raspberry Pi OS)系统。我得出的结论(可能是错误的),此弃用syscall
是在dhcpcd
源代码中专门调用的。为了找到该代码,我尝试了这一点:
$ grep -Ril 'net.ipv6.neigh.wlan0.retrans_time' ~/dhcpcd5
$ # where ~/dhcpcd5 is the 'source package' fetched fm the RPi archives
不幸的是,这一无所获 - 没有匹配。我如何学习在哪里& dhcpcd
如何使用现在被剥夺的syscall?这是我系统内核过时的结果吗?
I am a rank newbie & out of my element here, but I need to know something:
While perusing journalctl
output, the following line appeared repeatedly for a time, and then, after a point in time, it stopped appearing:
... kernel: ICMPv6: process 'dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
dhcpcd
is the DHCP client daemon for my (Raspberry Pi OS) system. I concluded (probably incorrectly) that this deprecated syscall
was something called out specifically in the dhcpcd
source code. In an effort to find that code, I tried this:
$ grep -Ril 'net.ipv6.neigh.wlan0.retrans_time' ~/dhcpcd5
$ # where ~/dhcpcd5 is the 'source package' fetched fm the RPi archives
Unfortunately, this yielded nothing - no match. How do I learn where & how dhcpcd
came to use this now-deprecated syscall? Is this the result of my system's kernel being out-of-date - or what?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅此处,它应该解决此问题:
https:///forums.raspberrys.raspberry.com/viewtopic.com/viewtopic.com/viewtopic.com .php?t = 269327
See here, it should fix the issue:
https://forums.raspberrypi.com/viewtopic.php?t=269327