I have a 8-port setup, no bridge needed.
i understand it fires a script when changes on the interface can happen. But still something seems to cause the issue when the script fires (at least i assume this based on your answer) so we should try to debug this instead of saying never up and down an interface to avoid running the script ? Also i assume its a pretty normal setup for people connecting devices to the firewall itself without a switch ?
Quote from: Sensler3000 on February 15, 2024, 10:47:42 ami understand it fires a script when changes on the interface can happen. But still something seems to cause the issue when the script fires (at least i assume this based on your answer) so we should try to debug this instead of saying never up and down an interface to avoid running the script ? Also i assume its a pretty normal setup for people connecting devices to the firewall itself without a switch ?Doubt it. Reason switches exist. People do it, sure. Want to live with the necessary disruption? I don't.
Pretty much.
opnsense-patch -a kulikov-a 2e2294c
Could you tryCode: [Select]cd /tmpktrace -p <pid of misbehaving unbound># wait a couple of secondsktrace -CkdumpThis will catch all system calls the process performs in that time and state. It will not catch if it's calculating "something" internally. But frequently this gives hints about problems. E.g. server processes trying to open a logfile in a nonexistent directory so they cannot log why the fail to start etc. For file accesses you want to look for NAMI calls, for example.
cd /tmpktrace -p <pid of misbehaving unbound># wait a couple of secondsktrace -Ckdump
pgrep "unbound" | grep -v "$$" | xargs ktrace -p > /home/lars/ktracep_`date +'%y%m%d_%T'`sleep 5ktrace -C > /home/lars/ktraceC_`date +'%y%m%d_%T'`
Could you tryCode: [Select]cd /tmpktrace -p <pid of misbehaving unbound># wait a couple of secondsktrace -Ckdump
2024-02-15T19:34:08 Critical unbound [18464:3] fatal error: Could not initialize thread 2024-02-15T19:34:08 Error unbound [18464:3] error: Could not set root or stub hints 2024-02-15T19:34:08 Error unbound [18464:3] error: reading root hints /root.hints 8:14: Syntax error, could not parse the RR's class TypeError: an integer is required (got type NoneType) os.write(self._pipe_fd, res.encode()) File "dnsbl_module.py", line 227, in log_entry mod_env['logger'].log_entry( File "dnsbl_module.py", line 379, in cache_cb logger.close() File "dnsbl_module.py", line 444, in deinit