[Pkg-utopia-maintainers] Bug#501601: Bug#501601: Hal does not install

Michael Biebl biebl at debian.org
Wed Oct 8 20:18:02 UTC 2008


Joerg Hoh wrote:
> On Wed, Oct 08, 2008 at 09:24:35PM +0200, Michael Biebl wrote:
>>>  
>>> Setting up hal (0.5.11-4) ...
>>> 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.
>>> dpkg: error processing hal (--configure):
>>>  subprocess post-installation script returned error exit status 1
>>> Errors were encountered while processing:
>>>  hal
>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>
>>> The postinst script has the following call:
>>>
>>>     adduser --system \
>>>             --quiet  \
>>>             --disabled-password \
>>>             --no-create-home \
>>>             --home "/var/run/hal" \
>>>             --gecos "Hardware abstraction layer" \
>>>             --group haldaemon
                        ^^^^^^^^^
                        Here is the username

>>> But it seems to miss the user which should be created ("haldaemon").
>> The adduser call is correct.
> 
> I doubt it, because I don't see any username; adduser requires one argument if
> you want to add a user -- the name of the user.

As I said, the adduser call is correct.

>> Have you a locally modified /etc/adduser.conf?
> 
> nope

Hm, see below

> joerg at odysseus ~ $ grep "NAME_REGEX" /etc/adduser.conf
> NAME_REGEX="^[a-z][-a-z0-9\.]*\$"

A default /etc/adduser.conf does *not* have this configuration directive.
As you have a locally modified adduser.conf, I'm inclined to close this bug.
Is there a reason, why you have set this NAME_REGEX config directive?


Cheers,
Michael

P.S: Don't forget to CC the bug report.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20081008/dab72e92/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list