nss-mysql-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nss-mysql-users] groups problem


From: Guillaume Morin
Subject: Re: [Nss-mysql-users] groups problem
Date: Wed, 24 Apr 2002 13:45:04 +0200
User-agent: Mutt/1.3.28i

Dans un message du 24 avr à 13:27, Nick De Decker écrivait :
> but when i add mysql to the groups list mysql wont start fully.
> when i look at /var/log/messages i see that nss-mysql tries to do a lookup
> while mysql isn't yet fully started.
> I get the following entries in /var/log/messages :
> 
> --------------------------------
> Apr 24 14:57:39 etna nss-mysql[6074]: endent called for passwd(0)
> Apr 24 14:57:39 etna chown[6074]: endent(0): ent was NULL
> Apr 24 14:57:39 etna chown[6074]: endent(0) finished
> Apr 24 14:57:39 etna nss-mysql[6077]: initgroups called with
> user=mysql,group=1,*start=32,*size=32,limit=-1073745428
> Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_read_conf_file: called for
> section groups
> Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_read_conf_file ended for
> section groups
> Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_db_connect: connection with
> user=nss,passwd=aintthissecure?,databasenss_mysql,unix_socket=/var/ivweb/mys
> ql/mysql.sock
> Apr 24 14:57:39 etna mysqld[6077]: _nss_mysql_db_connect: connection failed:
> Can't connect to local MySQL server through socket
> '/var/ivweb/mysql/mysql.sock' (2)
> ----------------------------------
> 
> Any idea what i can do about this ? Does it try to lookup a group named "1"
> ?

You can do nothing. initgroups looks for the groups of which the 'mysql'
user is a member of. This is why it does not stop after "files". 

This should not be a problem. nss-mysql should handle that case
gracefully.

I am thinking about adding an configuration parameter like
'groups.avoid_initgroups_for = mysql;'. This always would return a "not
found".

I think it could help you. I'll try to add it soon.

-- 
Guillaume Morin <address@hidden>

                    I am the saddest kid in grade number two
                                (Lisa Simpsons)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]