[Bug 216115] service -e showing sendmail enabled when it is not
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 3 22:29:15 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216115
--- Comment #12 from Alex Kozlov <ak at FreeBSD.org> ---
Yes, it's leftover of (mis)merge from NetBSD in r98186, instead of
else
_pidcmd='rc_pid=$(check_process '"$_procname $command_interpreter"')'
previously it was
elif [ -n "$command" ]; then
_pidcmd='_pid=`check_process '$command'`'
so
if [ -n "$_pidcmd" ]; then
kinda makes sense.
And you're right, sendmail rc script setting up pidfile vatiable, so it should
get status and poll commands, but because it setting more than one rcvar,
service is confused.
It's not that easy to properly fix service, unfortunately.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-rc
mailing list