Bug 273176 - sysutils/webmin: var-path changed
Summary: sysutils/webmin: var-path changed
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-17 07:43 UTC by Alexey Koscheev
Modified: 2023-08-17 07:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (olgeni)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Koscheev 2023-08-17 07:43:03 UTC
By default webmin (/usr/local/lib/webmin/setup.sh) now offers /var/db/webmin to use as log dir.

File ports/tree/sysutils/webmin/files/webmin.in contains
hardcoded path to pid file
pidfile=/var/log/webmin/miniserv.pid

https://cgit.freebsd.org/ports/tree/sysutils/webmin/files/webmin.in

So on new setups rc.d/webmin script on stop command will print:
"webmin not running? (check /var/log/webmin/miniserv.pid)."

It seems we need pidfile to be configurable via /etc/rc.conf or we need to patch 
/usr/local/lib/webmin/setup.sh for set old default value.