Project

General

Profile

Actions

Bug #15912

open

``pkill`` errors are printed to the console

Added by Craig Coonrad 14 days ago. Updated about 19 hours ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Operating System
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
2.8.0
Affected Architecture:

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

Has duplicate Bug #15861: Assign Interface IP and Restart GUI Console Menu Items Present PID ErrorsDuplicate

Actions
Actions #1

Updated by Jordan G 13 days 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
Actions #2

Updated by Lev Prokofev 8 days 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.

Actions #3

Updated by Christopher Cope 7 days 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?

Actions #4

Updated by Craig Coonrad 6 days 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.
Actions #5

Updated by Marcos M 3 days 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
Actions #6

Updated by Marcos M 2 days ago

  • Has duplicate Bug #15861: Assign Interface IP and Restart GUI Console Menu Items Present PID Errors added
Actions #7

Updated by Marcos M 2 days ago

  • Subject changed from pfSsh.php playback svc restart results in error to pkill errors are printed to the console
Actions #8

Updated by Marcos M 2 days ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #9

Updated by Marcos M about 19 hours ago

  • Subject changed from pkill errors are printed to the console to ``pkill`` errors are printed to the console
Actions

Also available in: Atom PDF