[systemd-devel] Failed to determine supported controllers: No such process
Reindl Harald
h.reindl at thelounge.net
Tue Jan 21 15:17:15 UTC 2020
Am 21.01.20 um 16:13 schrieb Lennart Poettering:
> On Di, 21.01.20 15:55, Reindl Harald (h.reindl at thelounge.net) wrote:
>
>> Hi
>>
>> about to upgrade prepare Fedora 31 upgrades
>>
>> ------------------------------
>>
>> Jan 21 15:30:01 testserver systemd[17664]: Failed to determine supported
>> controllers: No such process
>> Jan 21 15:30:01 testserver systemd[17664]: Failed to allocate manager
>> object: No such process
>> Jan 21 15:30:01 testserver systemd[1]: user at 48.service: Failed with
>> result 'protocol'.
>> Jan 21 15:30:01 testserver systemd[1]: Failed to start User Manager for
>> UID 48.
>
> How does user "user at 48.service" and its drop-ins look like?
as shipped as part of systemd which is the one starting full sessions
just because of a cronjob
[root at testserver:~]$ systemctl status user at 48.service
● user at 48.service - User Manager for UID 48
Loaded: loaded (/usr/lib/systemd/system/user at .service; static; vendor
preset: disabled)
Active: failed (Result: protocol) since Tue 2020-01-21 16:00:02 CET;
16min ago
Docs: man:user at .service(5)
Process: 34694 ExecStart=/usr/lib/systemd/systemd --user (code=exited,
status=1/FAILURE)
Main PID: 34694 (code=exited, status=1/FAILURE)
CPU: 35ms
Jan 21 16:00:01 testserver.rhsoft.net systemd[1]: Starting User Manager
for UID 48...
Jan 21 16:00:01 testserver.rhsoft.net systemd[34694]:
pam_unix(systemd-user:session): session opened for user apache by (uid=0)
Jan 21 16:00:02 testserver.rhsoft.net systemd[34694]: Failed to
determine supported controllers: No such process
Jan 21 16:00:02 testserver.rhsoft.net systemd[34694]: Failed to allocate
manager object: No such process
Jan 21 16:00:02 testserver.rhsoft.net systemd[34709]:
pam_unix(systemd-user:session): session closed for user apache
Jan 21 16:00:02 testserver.rhsoft.net systemd[1]: user at 48.service:
Failed with result 'protocol'.
Jan 21 16:00:02 testserver.rhsoft.net systemd[1]: Failed to start User
Manager for UID 48.
[root at testserver:~]$ cat /usr/lib/systemd/system/user at .service
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=User Manager for UID %i
Documentation=man:user at .service(5)
After=systemd-user-sessions.service user-runtime-dir@%i.service dbus.service
Requires=user-runtime-dir@%i.service
IgnoreOnIsolate=yes
[Service]
User=%i
PAMName=systemd-user
Type=notify
ExecStart=-/usr/lib/systemd/systemd --user
Slice=user-%i.slice
KillMode=mixed
Delegate=pids memory
TasksMax=infinity
TimeoutStopSec=120s
KeyringMode=inherit
More information about the systemd-devel
mailing list