procd error messages
Hartmut Birr
osexpert at gmail.com
Mon Feb 12 15:23:34 PST 2024
Hi,
I let /etc/init.d/network log some more things by changing:
--- network.rom 2024-02-12 20:46:51.000000000 +0100
+++ network 2024-02-12 23:18:07.000000000 +0100
@@ -16,8 +16,10 @@ start_service() {
init_switch
procd_open_instance
- procd_set_param command /sbin/netifd
+ procd_set_param command /sbin/netifd -l 5 -d 15
procd_set_param respawn
+ procd_set_param stdout 1
+ procd_set_param stderr 1
procd_set_param watch network.interface
[ -e /proc/sys/kernel/core_pattern ] && {
procd_set_param limits core="unlimited"
It reports some errors by using logread -e netifd:
Mon Feb 12 23:30:27 2024 daemon.err netifd[29247]: device_claim(694): Claim Network device pppoe-wan, new active count: 2
Mon Feb 12 23:30:27 2024 daemon.err netifd[29247]: proto_shell_handler(231): run setup for interface 'wan_6'
Mon Feb 12 23:30:27 2024 daemon.err netifd[29247]: __device_add_user(1037): Add user for device 'pppoe-wan', refcount=2
Mon Feb 12 23:30:27 2024 daemon.debug pppd[24514]: Script /lib/netifd/ppp6-up finished (pid 24752), status = 0x0
Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: sh: missing ]
Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: device_claim(694): Claim Network alias pppoe-wan, new active count: 2
Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: interface_add_dns_server(1435): Add IPv6 DNS server: 2003:180:2:xxxx::yyyy
Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: interface_add_dns_server(1435): Add IPv6 DNS server: 2003:180:2:xxxx::yyyy
Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: interface_queue_event(124): Queue hotplug handler for interface 'wan_6', event 'ifup'
Mon Feb 12 23:30:45 2024 daemon.notice netifd: Interface 'wan_6' is now up
Mon Feb 12 23:30:50 2024 daemon.err netifd[29247]: task_complete(109): Complete hotplug handler for interface 'wan'
Mon Feb 12 23:30:50 2024 daemon.err netifd[29247]: call_hotplug(100): Call hotplug handler for interface 'wan', event 'ifupdate' (pppoe-wan)
Mon Feb 12 23:31:05 2024 daemon.err netifd[29247]: sh: missing ]
Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: sh: out of range
Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: task_complete(109): Complete hotplug handler for interface 'wan'
Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: call_hotplug(100): Call hotplug handler for interface 'wan_6', event 'ifup' (pppoe-wan)
Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: /sbin/uci: Invalid argument
Mon Feb 12 23:31:16 2024 daemon.err netifd[29247]: sh: missing ]
Is it possible to let print netifd more informations related to errors from executed commands like:
Mon Feb 12 23:31:05 2024 daemon.err netifd[29247]: sh: missing ]
Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: sh: out of range
Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: /sbin/uci: Invalid argument
I'm not able to identify the executed scripts.
Regards,
Hartmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2781 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20240213/a8a35382/attachment.p7s>
More information about the openwrt-devel
mailing list