commit: e12eae4881db013c5569f4e4dafd70081cf3e485
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 31 19:58:35 2019 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 21:34:54 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12eae48
net-analyzer/nagios-core: use default homedir/shell for "nagios" user.
With GLEP81 approved, we're finally going to be able to (properly)
share the "nagios" user between the packages that require it. As part
of the migration process, I'd like to clean up its home directory and
shell usage: I'm fairly sure that the default (/dev/null and
/sbin/nologin) will work, at least for nagios-core. Whether or not
this will affect any other packages is harder to discern.
I'm using this new ~arch version of nagios-core to test things out. In
this and later versions, we'll use the default "enewuser" arguments.
If this causes a problem, it should appear only in new installs
(enewuser is a no-op on upgrades), and with any luck someone will file
a bug to say it doesn't work.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
.../{nagios-core-4.4.5.ebuild => nagios-core-4.4.5-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/nagios-core/nagios-core-4.4.5.ebuild
b/net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild
similarity index 99%
rename from net-analyzer/nagios-core/nagios-core-4.4.5.ebuild
rename to net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild
index 74ddb853c43..fdfccca6aab 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.5.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild
@@ -72,7 +72,7 @@ S="${WORKDIR}/${MY_P}"
pkg_setup() {
enewgroup nagios
- enewuser nagios -1 /bin/bash /var/nagios/home nagios
+ enewuser nagios -1 -1 -1 nagios
}
src_configure() {