Date: Tue, 27 Mar 2018 08:16:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226918] net-mgmt/monitoring-plugins: check_mailq sudo option requires build time security/sudo dependency to work Message-ID: <bug-226918-13-dSrRHuIW79@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-226918-13@https.bugs.freebsd.org/bugzilla/> References: <bug-226918-13@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=3D226918 --- Comment #1 from Mathieu Arnold <mat@FreeBSD.org> --- I just checked, and the fact that sudo is not present at build time does not change anything. There is an autoconf variable set to force the location of sudo. $ grep sudo Makefile ac_cv_path_PATH_TO_SUDO=3D${LOCALBASE}/bin/sudo \ and it is correctly set even if sudo is not present: root@11amd64-ports:~ # grep sudo /usr/local/libexec/nagios/utils.pm $PATH_TO_SUDO =3D "/usr/local/bin/sudo"; root@11amd64-ports:~ # type sudo sudo: not found And the code is not removed from check_mailq, but it only works if sudo is installed. So, all in all, I do not understand. All you need to do is have sudo present when check_mailq rans for it to be able to use it. --=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-226918-13-dSrRHuIW79>