adduser "delay" causing problems in rpm %pre scripts
Dan Williams
dcbw at redhat.com
Thu Aug 19 13:32:56 UTC 2004
Hi,
This might mean that useradd needs to restart nscd or at least invalidate
the nscd cache when it adds user/group info. File a bug in Bugzilla
against useradd.
Dan
On Thu, 19 Aug 2004, Carwyn Edwards wrote:
> Erik LaBianca wrote:
>
> >I'm running LDAP auth, and I have already tried turning off nscd which
> >didn't help.
> >
> Now this surprises me, I've also had useradd scriptlet problems (mach
> package) that seemed to be caused by a delay between the group being
> added and that group becoming visible when the user is then added to it.
> Switching off nscd fixed this problem for me (reproducible).
>
> Note that if you try installing the package, it breaks and _then_ you
> switch off nscd and try again you may be getting errors due to an
> inconsistent state being left by the initial "with nscd on" installation
> attempt.
>
> Try removing the package, checking /etc/passwd and /etc/group to make
> sure that the user/group is not there, _then_ make sure nscd is off then
> reinstall. I've not been able to produce an error with nscd off and
> starting from a known good state.
>
> (I'm also using LDAP auth).
>
> Carwyn
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list
>
More information about the fedora-devel-list
mailing list