From: Lionel B. <lio...@bo...> - 2004-12-14 15:42:51
|
Lionel Bouton wrote the following on 12/13/04 17:36 : > Oystein Viggen wrote the following on 12/13/04 16:43 : > >> Hi, >> >> I noticed that Net::Server would complain in my mail.warn log that >> that EGID >> was not defined: >> >> Dec 13 12:20:14 lists sqlgrey[22928]: Group Not Defined. Defaulting >> to EGID '0 0' >> >> I've written a quick patch (attached) that should support setting >> --group on >> the command line and group in the config file and default to >> "sqlgrey" if >> nothing is specified.[...] >> > > That's a longstanding annoyance, yes. I'm not yet really familiar with > the Net::Server framework and I'll have to find if making it switch to > the default group of the specified user is easily doable (if I can > remove some configuration the user needs to think about, I prefer > doing so). If not I'll gladly take your patch. Net::Server can't make it, and it looks like infering the default group of an user in a portable way (not reading from /etc/passwd) is a mess. Oystein, your patch is included in my tree (minus the 5 minute delay). Thanks again, Lionel. |