找到弃用的syscall的原因

发布于 2025-01-29 00:01:42 字数 774 浏览 1 评论 0原文

我是新手&在这里我的元素,但我需要知道一些事情:

仔细阅读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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文