Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2017 22:29:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-rc@FreeBSD.org
Subject:   [Bug 216115] service -e showing sendmail enabled when it is not
Message-ID:  <bug-216115-4805-l0f76jtfvv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216115-4805@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216115-4805@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216115

--- Comment #12 from Alex Kozlov <ak@FreeBSD.org> ---
Yes, it's leftover of (mis)merge from NetBSD in r98186, instead of=20

else=20
   _pidcmd=3D'rc_pid=3D$(check_process '"$_procname $command_interpreter"')'

previously it was

elif [ -n "$command" ]; then
   _pidcmd=3D'_pid=3D`check_process '$command'`'

so
if [ -n "$_pidcmd" ]; then

kinda makes sense.

And you're right, sendmail rc script setting up pidfile vatiable, so it sho=
uld
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216115-4805-l0f76jtfvv>