From owner-svn-src-all@freebsd.org Thu Dec 22 20:01:06 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EBBE5C8DAA6; Thu, 22 Dec 2016 20:01:06 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C637F1BBA; Thu, 22 Dec 2016 20:01:06 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 81B7C5A9F12; Thu, 22 Dec 2016 19:52:11 +0000 (UTC) Date: Thu, 22 Dec 2016 19:52:11 +0000 From: Brooks Davis To: Ed Schouten Cc: Adrian Chadd , Ed Schouten , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Subject: Re: svn commit: r310354 - in head/usr.sbin: . prometheus_sysctl_exporter Message-ID: <20161222195211.GA50719@spindle.one-eyed-alien.net> References: <201612210829.uBL8Tijt041811@repo.freebsd.org> <20161221195304.GA3396@brick> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 20:01:07 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 22, 2016 at 08:42:24PM +0100, Ed Schouten wrote: > Hey! >=20 > 2016-12-21 20:53 GMT+01:00 Edward Tomasz Napiera??a : > > That's a very good reason; it could also be fixed by moving > > it from sbin/ to libexec/. >=20 > I'm not sure that doing that is a good idea. You can also invoke this > exporter through cron(8), so that it can be collected by the > Prometheus node exporter. Another use case is invoking it from within > a CGI script, so that it can be embedded in an existing web service. > Storing the executable under /usr/libexec would therefore be a bit > weird. To me, those use cases argue for /usr/libexec which is for things humans don't run. -- Brooks --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJYXC7qAAoJEKzQXbSebgfAX9UH/1ELT5mqiPt052WQlJV1Uxcv 7IKxlDpPVRjAvgptYxKuC6QzbRbsH23ODDZnrQ/O5AirsZNmDvQFZAHhj1qd+nN9 rDN9X9z98Y4gXDrhJfSfnPZVkFBzWXXu+JpV31hit3+ZyfS8wJf4Mb7HvsGmNYYG Byg6SBsJzRO7QvjrQA/oNLj2nelI24WRfYbIepf4cERRvQ4w5vbKv11E8ZX0HjBu 81AKzi7wEzpDbIPj1TZ+FitaLnzqVBVDxtkl0nv4XVx9+kBFCdBWzuNAT9QbcW0k OHAL5aBj4uMffHJWmH4uZvznB0VQFgGpex0qLKqeLdfnSrxWyLNfNpAv37KWx9Q= =uUN5 -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--