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

Re: Fw: Bug#328053: configure on install problem: cannot add user while name_regex don't match username "sympa"



On Tue, 13 Sep 2005 10:04:57 +0100
Stephen Gran <sgran@debian.org> wrote:

> This one time, at band camp, Stefan Hornburg said:
> > Hello, 
> > 
> > I just received this bug report and would like to ask for comments on how to
> > handle this problem. There are enough other packages out there with a similar
> > setup.
> > 
> > Ciao
> > 	Racke
> > 
> > Begin forwarded message:
> > 
> > Date: Tue, 13 Sep 2005 08:57:15 +0200
> > From: Jonathan ILIAS <jonathan.ilias@eseo.fr>
> > To: Debian Bug Tracking System <submit@bugs.debian.org>
> > Subject: Bug#328053: configure on install problem: cannot add user while name_regex don't match username "sympa"
> > 
> > 
> > I use a non usual name_regex pattern constraint to adduser script. Here
> > is the pattern I set in /etc/adduser.conf :
> > NAME_REGEX="([A-Z][a-z]+){2,}"
> > 
> > Wouldn't it be better that postinst script calls adduser with --force-badname ?
> 
> I don't think it is the maintainer's job to work around completely brain
> dead setups, but maybe that's just me.  With this regex, none of the
> packages in Debian that require a user will install.  This person will
> be submitting a lot of bug reports, I guess.

I concur, but IMHO the affected maintainers should act jointly. 

Possibilities:

1. Don't care about brain dead setups. In that case I suggest to report a
   documentation bug against the adduser.conf manpage. 

2. Add option to adduser to apply this regex only to user accounts.

3. Warn the user via debconf.

Bye
	Racke



-- 
Debian maintainer of Courier, Pure-FTPd, Interchange, Sympa

LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration



Reply to: