Bug #15912
closed``pkill`` errors are printed to the console
100%
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.
Related issues
Updated by Jordan G about 1 month ago
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
Updated by Lev Prokofev about 1 month ago
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.
Updated by Christopher Cope about 1 month ago
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?
Updated by Craig Coonrad about 1 month ago
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.
Updated by Marcos M about 1 month ago
- 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
Updated by Marcos M about 1 month ago
- Has duplicate Bug #15861: Assign Interface IP and Restart GUI Console Menu Items Present PID Errors added
Updated by Marcos M about 1 month ago
- Subject changed from pfSsh.php playback svc restart results in error to pkill errors are printed to the console
Updated by Marcos M about 1 month ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 0d40856c780520b97f618252d9dfb0e6719e1944.
Updated by Marcos M about 1 month ago
- Subject changed from pkill errors are printed to the console to ``pkill`` errors are printed to the console
Updated by Georgiy Tyutyunnik 29 days ago
reproduced, is fixed in the latest dev
tested on:
25.03-DEVELOPMENT (amd64)
built on Fri Dec 20 7:00:00 CET 2024
FreeBSD 15.0-CURRENT
Updated by Georgiy Tyutyunnik 29 days ago
- Status changed from Feedback to Resolved