Bug #15912
open
``pkill`` errors are printed to the console
Added by Craig Coonrad 14 days ago.
Updated 1 day ago.
Category:
Operating System
Plus Target Version:
25.03
Description
platform: NG4100
version: 24.11-RELEASE
This showed up after upgrading to 24.11.
restarting unbound or dnsmasq:
pfSsh.php playback svc restart unbound
pfSsh.php playback svc restart dnsmasq
results in the following output:
pkill: Cannot get process list (kvm_getprocs: No such process)
The restart of unbound/dnsmasq appears to reload successfully.
Possibly related to #15861 which outputs same error.
I receive the following trying to use those commands from the shell (option 8) or php shell (option 12)
pkill: Cannot open pidfile `/var/run/kea/kea-dhcp4.kea-dhcp4.pid': No such file or directory
Can't reproduce it on 24.11
[24.11-RELEASE][admin@pfSense.home.arpa]/root: pfSsh.php playback svc restart unbound
Attempting to issue restart to unbound service...
unbound has been restarted.
[24.11-RELEASE][admin@pfSense.home.arpa]/root: pfSsh.php playback svc restart dnsmasq
Attempting to issue restart to dnsmasq service...
dnsmasq has been restarted.
I'm not seeing this on 24.11 nor 25.03.
I did see a similar error come through on boot on 25.03, before any commands were issued.
Is this reproducible or perhaps just a coincidental timing?
This is 100% reproducible on my 4100. It is running both dnsmasq and unbound. Tried on PVE VM with both enabled and unable to reproduce.
I can reproduce the error manually with pkill by killing the process and repeating (possible the command is getting repeated or running after the pid dissapears?):
pkill -9 -F /var/run/unbound.pid
pkill -9 -F /var/run/unbound.pid
pkill: Cannot get process list (kvm_getprocs: No such process)
I see the same error in the boot log:
Starting webConfigurator...done.
pkill: Cannot get process list (kvm_getprocs: No such process)
Starting DHCP service...done.
Configuring firewall......done.
I tested other services on the 4100 and there is no error.
pfSsh.php playback svc restart wireguard
Attempting to issue restart to wireguard service...
wireguard has been restarted.
pfSsh.php playback svc restart sshd
Attempting to issue restart to sshd service...
sshd has been restarted.
- Project changed from pfSense Plus to pfSense
- Category changed from Operating System to Operating System
- Status changed from New to In Progress
- Assignee set to Marcos M
- Target version set to 2.8.0
- Plus Target Version set to 25.03
- Affected Version set to 2.8.0
- Has duplicate Bug #15861: Assign Interface IP and Restart GUI Console Menu Items Present PID Errors added
- Subject changed from pfSsh.php playback svc restart results in error to pkill errors are printed to the console
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
- Subject changed from pkill errors are printed to the console to ``pkill`` errors are printed to the console
Also available in: Atom
PDF