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=216115 --- Comment #12 from Alex Kozlov <ak@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216115-4805-l0f76jtfvv>
