[Pkg-nagios-devel] Unable to install with LDAP nagios user
Marc Haber
mh+pkg-nagios-devel at zugschlus.de
Sat Aug 18 09:46:54 UTC 2007
On Sat, Aug 18, 2007 at 11:06:00AM -0700, sean finney wrote:
> On Sunday 29 July 2007 07:26:26 am Marc Haber wrote:
> > Actually, it should not try to be smarter than adduser, but simply
> > call adduser and let adduser take care about this situation. I do not
> > have an idea why there is uid/gid magic in the preinst, it doesn't
> > belong there.
>
> i think this code pre-dates my maintenance of the package... so you recommend
> that we replace it with "adduser --system --group nagios", and remove the
> usermod stuff and extra logic?
As former adduser maintainer, I can at least confirm that adduser aims
to take complexity from maintainer scripts by trying to eliminate the
need for surrounding code. So, yes, a single adduser call should be
enough, and if adduser falls short of doing the necessary things
that's a bug in adduser.
> > Btw, this is exactly the situation that caused me to strongly argue for
> > a non-conflicting user name such as Debian-nagios, to avoid conflicts
> > with local account naming policies.
>
> well if we had the user named Debian-nagios, and they had that in LDAP, i
> think it would be the same problem, no?
But the chance of somebody having Debian-foo users in their ldap is
much lower.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-nagios-devel
mailing list