Control: reassign -1 adduser 3.143
Control: affects -1 colord
Control: retitle -1 adduser: spurious fatal error "The user `colord' already 
exists, but is not a system user."

On 2025-03-03 17:09:32 -0500, Jeremy Bícha wrote:
> Please also file a bug against adduser. Nothing has changed in
> colord's maintainer scripts in more than 5 years.

OK, reassigning.

BTW, the adduser code looks suspicious:

    my $ret = existing_user_status($new_name, $new_uid);
    if ($ret == (EXISTING_FOUND|EXISTING_SYSTEM)) {
        # a user with this name already exists; it's a problem when it's not a 
system user
        log_fatal( mtx("The user `%s' already exists, but is not a system user. 
Exiting."), $new_name );
        exit( RET_WRONG_OBJECT_PROPERTIES );
    }

Concerning the test $ret == (EXISTING_FOUND|EXISTING_SYSTEM),
if I understand correctly, if EXISTING_SYSTEM is set, this means
that this is a system user: in sub existing_user_status:

        $ret |= EXISTING_SYSTEM if \
            ($uid >= $config{"first_system_uid"} && $uid <= 
$config{"last_system_uid"});

However, I still don't understand the difference between the
two machines.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to