I had nagios running and need the "nagios" user beeing member of the group sms (for sending notifications via sms). The ebuild calls usermod regardless if the user existed before the ebuild. Instead of doing this, it better should call enewuser correctly. Changing the existing settings is really bad. I propose either the following patch: --- nagios-core-1.4.ebuild~ 2006-05-07 22:36:38.000000000 +0200 +++ nagios-core-1.4.ebuild 2006-05-12 17:32:32.000000000 +0200 @@ -45,8 +45,7 @@ if use noweb; then enewuser nagios -1 /bin/bash /dev/null nagios else - enewuser nagios -1 /bin/bash /dev/null apache - usermod -G apache nagios + enewuser nagios -1 /bin/bash /dev/null apache,nagios fi }
Yep, you seem to be right. I'll get it to CVS.
in CVS, thanks for reporting.