[Bug 292298] sysutils/vpnc-scripts: script uses invalid keyword with ps(1)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jan 2026 15:27:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292298
Bug ID: 292298
Summary: sysutils/vpnc-scripts: script uses invalid keyword
with ps(1)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: zi@FreeBSD.org
Reporter: jhb@FreeBSD.org
Flags: maintainer-feedback?(zi@FreeBSD.org)
Assignee: zi@FreeBSD.org
Created attachment 266963
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266963&action=edit
0001-sysutils-vpnc-scripts-Fix-ps-command-invocation.patch
If a VPN client doesn't export VPNPID, vpnc-script uses a couple of ps(1)
invocations to determine the pid of the client. The first one uses a keyword
that is unsupported on FreeBSD. The patch fixes the script to use a supported
keyword. This fixes an error emitted while using vpnc:
# vpnc --no-detach <redacted>
Enter password for jhb@<redacted>:
ps: cmd: keyword not found
ps: no valid keywords; valid keywords:
ps: cmd: keyword not found
ps: no valid keywords; valid keywords:
add host ...
add net ...
VPNC started in foreground...
--
You are receiving this mail because:
You are the assignee for the bug.