Bug#858863: udev: postinst fails if NAME_REGEX does not match "input"

s s sobik.szymon at gmail.com
Mon Mar 27 22:49:55 BST 2017


2017-03-27 23:32 GMT+02:00 Michael Biebl <biebl at debian.org>:
> Control: tags -1 + moreinfo
>
> Am 27.03.2017 um 23:17 schrieb Szymon S:
>> Package: udev
>> Version: 232-21
>> Severity: normal
>>
>>
>> The bug is present in stable, unstable and experimental repos.
>> addgroup should have --force-badname added (or NAME_REGEX removed from
>> config)
>
> postinst does not fail here. Do you have custom configuration in
> /etc/adduser.conf?
>

Sure, I have a regex matching my company custom naming scheme, only
different line:
NAME_REGEX="^[a-z]+\.[a-z]+\$"
if it wasn't user configurable it'd make no sense of exposing it in etc.

Afaik the best solution would be not to rely on user defaults in the
maintaner script or
if it breaks apt/dpkg so easily, make it clear in the default adduser.conf file.

Personally I think udev uses addgroup wrong here, see #328053





More information about the Pkg-systemd-maintainers mailing list