You are not logged in.

#1 2021-02-16 06:14:52

cdwijs
Member
Registered: 2010-04-24
Posts: 289

[SOLV]apache install: Failed to resolve user 'brltty': No such process

Hi All,

During the installation of apache I get this error: "Failed to resolve user 'brltty': No such process"

# pacman -S apache
warning: apache-2.4.46-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) apache-2.4.46-3

Total Installed Size:  6.28 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) reinstalling apache                          [######################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
/usr/lib/tmpfiles.d/brltty.conf:20: Failed to resolve user 'brltty': No such process
/usr/lib/tmpfiles.d/brltty.conf:23: Failed to resolve user 'brltty': No such process
/usr/lib/tmpfiles.d/brltty.conf:26: Failed to resolve user 'brltty': No such process
error: command failed to execute correctly
(3/3) Arming ConditionNeedsUpdate...

What could this be?
Is this a problem?

Cheers,
Cedric

Last edited by cdwijs (2021-03-02 06:26:45)

Offline

#2 2021-02-17 03:22:27

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

Please post the pacman.log for the installation of the brltty package,  also the output of:

# SYSTEMD_LOG_LEVEL=debug systemd-sysusers brltty.conf

Offline

#3 2021-02-17 07:20:32

cdwijs
Member
Registered: 2010-04-24
Posts: 289

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

# cat /var/log/pacman.log
[2021-02-17T09:14:50+0100] [PACMAN] Running 'pacman -S apache'
[2021-02-17T09:14:52+0100] [ALPM] transaction started
[2021-02-17T09:14:52+0100] [ALPM] reinstalled apache (2.4.46-3)
[2021-02-17T09:14:52+0100] [ALPM] transaction completed
[2021-02-17T09:14:52+0100] [ALPM] running '30-systemd-daemon-reload.hook'...
[2021-02-17T09:14:52+0100] [ALPM] running '30-systemd-tmpfiles.hook'...
[2021-02-17T09:14:52+0100] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/brltty.conf:20: Failed to resolve user 'brltty': No such process
[2021-02-17T09:14:52+0100] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/brltty.conf:23: Failed to resolve user 'brltty': No such process
[2021-02-17T09:14:52+0100] [ALPM-SCRIPTLET] /usr/lib/tmpfiles.d/brltty.conf:26: Failed to resolve user 'brltty': No such process
[2021-02-17T09:14:53+0100] [ALPM] running '30-systemd-update.hook'...
# SYSTEMD_LOG_LEVEL=debug systemd-sysusers brltty.conf
Adding implicit group 'tty' due to m line
Adding implicit group 'uucp' due to m line
Adding implicit group 'root' due to m line
Adding implicit group 'audio' due to m line
Adding implicit group 'input' due to m line
Group brlapi already exists.
Group tty already exists.
Group uucp already exists.
Group root already exists.
Group audio already exists.
Group input already exists.
Creating group brltty with gid 964.
Creating user brltty (Braille Device Daemon) with uid 964 and gid 964.
Failed to write files: Invalid argument

Offline

#4 2021-02-17 13:57:12

cdwijs
Member
Registered: 2010-04-24
Posts: 289

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

I've added the user and group manually, now the error is gone:

# groupadd brltty -g 964
# useradd brltty -g 964 -u 964
# pacman -S apache
warning: apache-2.4.46-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) apache-2.4.46-3

Total Installed Size:  6.28 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                    [##############################################] 100%
(1/1) checking package integrity                                                  [##############################################] 100%
(1/1) loading package files                                                       [##############################################] 100%
(1/1) checking for file conflicts                                                 [##############################################] 100%
(1/1) checking available disk space                                               [##############################################] 100%
:: Processing package changes...
(1/1) reinstalling apache                                                         [##############################################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
(3/3) Arming ConditionNeedsUpdate...

Offline

#5 2021-02-21 02:39:57

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

The error looks that same as in https://bugs.archlinux.org/task/58873

Offline

#6 2021-02-28 08:40:37

cdwijs
Member
Registered: 2010-04-24
Posts: 289

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

Thanks loqs, it indeed looks like there's something wrong with systemd-sysusers

# systemctl status systemd-sysusers
● systemd-sysusers.service - Create System Users
     Loaded: loaded (/usr/lib/systemd/system/systemd-sysusers.service; static)
     Active: failed (Result: exit-code) since Fri 2021-02-26 14:28:58 CET; 1 day 20h ago
       Docs: man:sysusers.d(5)
             man:systemd-sysusers.service(8)
    Process: 445 ExecStart=systemd-sysusers (code=exited, status=1/FAILURE)
   Main PID: 445 (code=exited, status=1/FAILURE)

Feb 26 14:28:56 cedric-p4 systemd[1]: systemd-sysusers.service: Main process exited, code=exited, status=1/FAILURE
Feb 26 14:28:56 cedric-p4 systemd[1]: systemd-sysusers.service: Failed with result 'exit-code'.
Feb 26 14:28:56 cedric-p4 systemd[1]: Failed to start Create System Users.
Feb 26 14:28:58 cedric-p4 systemd[1]: Starting Create System Users...
Feb 26 14:28:58 cedric-p4 systemd[1]: systemd-sysusers.service: Main process exited, code=exited, status=1/FAILURE
Feb 26 14:28:58 cedric-p4 systemd[1]: systemd-sysusers.service: Failed with result 'exit-code'.
Feb 26 14:28:58 cedric-p4 systemd[1]: Failed to start Create System Users.
# systemctl restart systemd-sysusers
Job for systemd-sysusers.service failed because the control process exited with error code.
See "systemctl status systemd-sysusers.service" and "journalctl -xe" for details.
[root@cedric-p4 cedric]# systemctl status systemd-sysusers.service
● systemd-sysusers.service - Create System Users
     Loaded: loaded (/usr/lib/systemd/system/systemd-sysusers.service; static)
     Active: failed (Result: exit-code) since Sun 2021-02-28 10:32:12 CET; 9s ago
       Docs: man:sysusers.d(5)
             man:systemd-sysusers.service(8)
    Process: 21748 ExecStart=systemd-sysusers (code=exited, status=1/FAILURE)
   Main PID: 21748 (code=exited, status=1/FAILURE)

Feb 28 10:32:12 cedric-p4 systemd[1]: Starting Create System Users...
Feb 28 10:32:12 cedric-p4 systemd[1]: systemd-sysusers.service: Main process exited, code=exited, status=1/FAILURE
Feb 28 10:32:12 cedric-p4 systemd[1]: systemd-sysusers.service: Failed with result 'exit-code'.
Feb 28 10:32:12 cedric-p4 systemd[1]: Failed to start Create System Users.
# journalctl -xe
Feb 28 09:35:06 cedric-p4 rtkit-daemon[762]: Supervising 6 threads of 6 processes of 1 users.
Feb 28 10:04:09 cedric-p4 rtkit-daemon[762]: Supervising 6 threads of 6 processes of 1 users.
Feb 28 10:04:09 cedric-p4 rtkit-daemon[762]: Supervising 6 threads of 6 processes of 1 users.
Feb 28 10:04:09 cedric-p4 rtkit-daemon[762]: Supervising 6 threads of 6 processes of 1 users.
Feb 28 10:04:09 cedric-p4 rtkit-daemon[762]: Supervising 6 threads of 6 processes of 1 users.
Feb 28 10:04:09 cedric-p4 rtkit-daemon[762]: Successfully made thread 20964 of process 16895 owned by '1000' RT at priorit>
Feb 28 10:04:09 cedric-p4 rtkit-daemon[762]: Supervising 7 threads of 7 processes of 1 users.
Feb 28 10:32:12 cedric-p4 systemd[1]: Starting Create System Users...
░░ Subject: A start job for unit systemd-sysusers.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-sysusers.service has begun execution.
░░ 
░░ The job identifier is 1679.
Feb 28 10:32:12 cedric-p4 kernel: audit: type=1130 audit(1614504732.573:139): pid=1 uid=0 auid=4294967295 ses=4294967295 m>
Feb 28 10:32:12 cedric-p4 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-sysusers co>
Feb 28 10:32:12 cedric-p4 systemd-sysusers[21748]: Creating group saned with gid 962.
Feb 28 10:32:12 cedric-p4 systemd-sysusers[21748]: Creating user saned (SANE daemon user) with uid 962 and gid 962.
Feb 28 10:32:12 cedric-p4 systemd-sysusers[21748]: Failed to write files: Invalid argument
Feb 28 10:32:12 cedric-p4 systemd[1]: systemd-sysusers.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit systemd-sysusers.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Feb 28 10:32:12 cedric-p4 systemd[1]: systemd-sysusers.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit systemd-sysusers.service has entered the 'failed' state with result 'exit-code'.
Feb 28 10:32:12 cedric-p4 systemd[1]: Failed to start Create System Users.
░░ Subject: A start job for unit systemd-sysusers.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-sysusers.service has finished with a failure.
░░ 
░░ The job identifier is 1679 and the job result is failed.

Offline

#7 2021-02-28 09:10:53

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

Please post the output of:

cat /etc/group

This does not contain any passwords,  those are in /etc/shadow and /etc/gshadow.

Offline

#8 2021-02-28 09:51:14

cdwijs
Member
Registered: 2010-04-24
Posts: 289

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

Here it is:

# cat /etc/group
root:x:0:root
sys:x:3:bin
mem:x:8:
ftp:x:11:
mail:x:12:
log:x:19:
smmsp:x:25:
proc:x:26:polkitd
games:x:50:
lock:x:54:
network:x:90:
floppy:x:94:
scanner:x:96:
power:x:98:
adm:x:999:daemon
wheel:x:998:
kmem:x:997:
tty:x:5:cedric:lestirk
utmp:x:996:
audio:x:995:xmms2
disk:x:994:
input:x:993:
kvm:x:992:
lp:x:991:cups
optical:x:990:
render:x:989:
storage:x:988:
uucp:x:987:cedric:lestirk
video:x:986:
users:x:985:
systemd-journal:x:984:
rfkill:x:983:
bin:x:1:daemon
daemon:x:2:bin
http:x:33:
nobody:x:65534:
dbus:x:81:
systemd-journal-remote:x:982:
systemd-network:x:981:
systemd-resolve:x:980:
systemd-timesync:x:979:
systemd-coredump:x:978:
uuidd:x:68:
git:x:977:
avahi:x:976:
colord:x:975:
lxdm:x:974:
polkitd:x:102:
xmms2:x:973:
cedric:x:1000:
rtkit:x:133:
cups:x:209:
dhcpcd:x:972:
adbusers:x:971:
usbmux:x:140:
jan:x:1001:
geoclue:x:970:
wireshark:x:150:cedric:lestirk
ntp:x:87:
brlapi:x:969:
gluster:x:968:
rpc:x:32:
libvirt:x:967:
dnsmasq:x:966:
vboxusers:x:108:
atftp:x:965:
letsirk:x:1002:
brltty:x:964:
memcached:x:963:

There is something strange with the users 'tor' and 'lestirk' (the users cedric and root seem to be ok):

$ groups lestirk
groups: unknown user lestirk
$ groups tor
groups: unknown user tor
$ groups cedric
cedric
$ groups root
root
$ id cedric
uid=1000(cedric) gid=1000(cedric) groups=1000(cedric)
$ id lestirk
id: ‘lestirk’: no such user
# su lestirk
su: user lestirk does not exist or the user entry does not contain all the required fields
# su cedric
[cedric@cedric-p4 ~]$ exit

Maybe there's something wrong with /etc/passwd?

# cat /etc/passwd
root:x:0:0::/root:/bin/bash
bin:x:1:1::/:/usr/bin/nologin
daemon:x:2:2::/:/usr/bin/nologin
mail:x:8:12::/var/spool/mail:/usr/bin/nologin
ftp:x:14:11::/srv/ftp:/usr/bin/nologin
http:x:33:33::/srv/http:/usr/bin/nologin
nobody:x:65534:65534:Nobody:/:/usr/bin/nologin
dbus:x:81:81:System Message Bus:/:/usr/bin/nologin
systemd-journal-remote:x:982:982:systemd Journal Remote:/:/usr/bin/nologin
systemd-network:x:981:981:systemd Network Management:/:/usr/bin/nologin
systemd-resolve:x:980:980:systemd Resolver:/:/usr/bin/nologin
systemd-timesync:x:979:979:systemd Time Synchronization:/:/usr/bin/nologin
systemd-coredump:x:978:978:systemd Core Dumper:/:/usr/bin/nologin
uuidd:x:68:68::/:/usr/bin/nologin
git:x:977:977:git daemon user:/:/usr/bin/git-shell
avahi:x:976:976:Avahi mDNS/DNS-SD daemon:/:/usr/bin/nologin
colord:x:975:975:Color management daemon:/var/lib/colord:/usr/bin/nologin
lxdm:x:974:974:Lightweight X11 Display Manager:/var/lib/lxdm:/usr/bin/nologin
polkitd:x:102:102:PolicyKit daemon:/:/usr/bin/nologin
xmms2:x:973:973::/var/lib/xmms2:/usr/bin/nologin
cedric:x:1000:1000::/home/cedric:/bin/bash
rtkit:x:133:133:RealtimeKit:/proc:/usr/bin/nologin
cups:x:209:209:cups helper user:/:/usr/bin/nologin
dhcpcd:x:972:972:dhcpcd privilege separation:/var/lib/dhcpcd:/usr/bin/nologin
usbmux:x:140:140:usbmux user:/:/usr/bin/nologin
jan:x:1001:1001::/home/jan:/bin/bash
geoclue:x:970:970:Geoinformation service:/var/lib/geoclue:/usr/bin/nologin
ntp:x:87:87:Network Time Protocol:/var/lib/ntp:/bin/false
gluster:x:968:968:GlusterFS daemons:/var/run/gluster:/usr/bin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/usr/bin/nologin
dnsmasq:x:966:966:dnsmasq daemon:/:/usr/bin/nologin
atftp:x:965:965:Advanced tftp daemon:/srv/atftp:/usr/bin/nologin
letsirk:x:1002:1002::/home/letsirk:/bin/bash
brltty:x:964:964::/home/brltty:/bin/bash
memcached:x:963:963::/home/memcached:/bin/bash

Offline

#9 2021-02-28 12:31:27

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

In /etc/group an entry is separated into four parts by three colons.  The user lists is delimited using commas.  Change

tty:x:5:cedric:lestirk
uucp:x:987:cedric:lestirk
wireshark:x:150:cedric:lestirk

To

tty:x:5:cedric,lestirk
uucp:x:987:cedric,lestirk
wireshark:x:150:cedric,lestirk

Offline

#10 2021-03-02 06:26:15

cdwijs
Member
Registered: 2010-04-24
Posts: 289

Re: [SOLV]apache install: Failed to resolve user 'brltty': No such process

Thank you, your edit worked:

# systemctl restart systemd-sysusers
# systemctl status systemd-sysusers
● systemd-sysusers.service - Create System Users
     Loaded: loaded (/usr/lib/systemd/system/systemd-sysusers.service; static)
     Active: active (exited) since Tue 2021-03-02 06:18:57 CET; 1s ago
       Docs: man:sysusers.d(5)
             man:systemd-sysusers.service(8)
    Process: 7319 ExecStart=systemd-sysusers (code=exited, status=0/SUCCESS)
   Main PID: 7319 (code=exited, status=0/SUCCESS)

Mar 02 06:18:57 cedric-p4 systemd[1]: Starting Create System Users...
Mar 02 06:18:57 cedric-p4 systemd-sysusers[7319]: Creating group saned with gid>
Mar 02 06:18:57 cedric-p4 systemd-sysusers[7319]: Creating user saned (SANE dae>
Mar 02 06:18:57 cedric-p4 systemd[1]: Finished Create System Users.

Offline

Board footer

Powered by FluxBB