Package: sympa
Version: 4.1.5-2
Severity: important

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,}"

Of course, "sympa" user name doesn't match this pattern (which require
a Wiki like name).

When I install sympa, it fails adding this user. Here are the messages :
Setting up sympa (4.1.5-2) ...
Adding system group: sympa.
addgroup: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
Adding system user: sympa.
adduser: Warning: The home dir you specified already exists.
adduser: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
addgroup: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
adduser: Please enter a username matching the regular expression configured
via the name_regex configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure name_regex.
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
usermod: user sympa does not exist
dpkg: error processing sympa (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 sympa

Wouldn't it be better that postinst script calls adduser with --force-badname ?

I use adduser script to create end-users accounts. Of course, I know and don't
mind that system users names won't match this syntax restriction.

I think this problem can be found in many other packages, but it is the
first time I see this problem and I didn't tried other packages.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages sympa depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  exim4-daemon-light [mail-tr 4.50-8       lightweight exim MTA (v4) daemon
ii  libarchive-zip-perl         1.14-1       Module for manipulation of ZIP arc
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libcgi-fast-perl            5.8.4-8      CGI::Fast Perl module
ii  libcrypt-ciphersaber-perl   0.61-4       Perl module implementing CipherSab
ii  libdbd-mysql-perl           2.9006-1     A Perl5 database interface to the 
ii  libdbi-perl                 1.46-6       Perl5 database interface by Tim Bu
ii  libfcgi-perl                0.67-1       FastCGI Perl module
ii  libio-stringy-perl          2.110-1      Perl5 modules for IO from scalars 
ii  libmailtools-perl           1.62-1       Manipulate email in perl programs
ii  libmd5-perl                 2.03-1       backwards-compatible wrapper for D
ii  libmime-perl                5.417-1      Perl5 modules for MIME-compliant m
ii  libmsgcat-perl              1.03-3       Locale::Msgcat perl module
ii  libnet-ldap-perl            0.3202-3     A Client interface to LDAP servers
ii  mhonarc                     2.6.10-1     Mail to HTML converter
ii  perl [libmime-base64-perl]  5.8.4-8      Larry Wall's Practical Extraction 
ii  perl-suid                   5.8.4-8      Runs setuid Perl scripts
ii  sysklogd [system-log-daemon 1.4.1-17     System Logging Daemon

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to