Package: systemd
Version: 254.22-1~bpo12+1
Severity: normal
A service installed by a user with
~/> systemctl --user enable someservice
(which means it is autostarted on user login)
inherits the wrong environment (e.g. the PATH is set to the root path:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin).
It is different from the environment that is printed by
~/> systemctl --user show-environment
If the user restarts the service it gets the expected environment.
# Step by step description #
I created the following setup to debug the situation:
1. Create new user testuser
2. Create debug.service (attached), which is a simple service I created
that logs the current environment to /tmp/debug_env.log
3. Log in (gdm, into gnome) as testuser, run
testuser:~/> systemctl --user enable debug
4. Log out, make sure no testuser processes are running
5. Log in again
6. Inspect content of /tmp/debug_env.log
(attached as after-login_debug_env.log):
While some environment variables are set correctly
(e.g. USER=testuser) others are inherit from root (e.g.
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
7. Restart the service:
testuser:~/> systemctl --user restart debug
8. Inspect content of /tmp/debug_env.log
(attached as after-restart_debug_env.log) again:
Now I get a different environment, especially
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
The environment I get in 8. is the same that
testuser:~/> systemctl --user show-environment
>systemd-gui-user-environment.log
(file is attached) shows.
I expect the environment in the service to be the same as what
~/> systemctl --user show-environment
shows me.
# Original error occurence #
I stumbled upon this when using emacs.service:
~/> systemctl --user enable emacs
After reboot/new login:
~/> emacsclient -e '(getenv "PATH")'
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
~/> systemctl --user restart emacs
~/> emacsclient -e '(getenv "PATH")'
"/home/steink/bin:/home/steink/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/steink/.gem/ruby/3.1.0/bin"
This is the PATH which is (dynamically) constructed from ~/.profile.
# Additional system information #
The laptop has a fresh bookworm install.
On another laptop where I upgraded from bullseye I did not see this problem.
I first noticed the problem with the original systemd package. During
debugging I upgraded to systemd from backports, the problem persisted.
If I login testuser on the text console (tty4) and do
testuser:~/> systemctl --user show-environment
>/tmp/systemd-console-user-environment.log
(file is attached) I get the root environment.
So I assume the systemd user environment is somehow modified during
graphical startup and the emacs.service (or debug.service) is simply
started too early.
I would want a consistant behaviour for this (and at least not sbin in
the PATH). It would make things easier if I get the environment
(PATH and others) from ~/.profile (which I end up getting on graphical
login, but too late?), even though this is not documented systemd
behaviour as far as I understand this.
I also attached
~/> systemd-cgls >/tmp/systemd-cgls.log
I don't fully understand the systemd startup in debian (I still have to
adapt to systemd) so I may be completely wrong (is there some overview
document for the whole thing?).
Thanks a lot for your work!
-- Package-specific info:
-- System Information:
Debian Release: 12.10
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'stable'), (100, 'bookworm-fasttrack'), (100,
'bookworm-backports-staging')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.22+bpo-amd64 (SMP w/14 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages systemd depends on:
ii libacl1 2.3.1-3
ii libaudit1 1:3.0.9-1
ii libblkid1 2.38.1-5+deb12u3
ii libc6 2.36-9+deb12u10
ii libcap2 1:2.66-4+deb12u1
ii libcryptsetup12 2:2.6.1-4~deb12u2
ii libfdisk1 2.38.1-5+deb12u3
ii libgcrypt20 1.10.1-3
ii libkmod2 30+20221128-1
ii liblz4-1 1.9.4-1
ii liblzma5 5.4.1-1
ii libmount1 2.38.1-5+deb12u3
ii libp11-kit0 0.24.1-2
ii libseccomp2 2.5.4-1+deb12u1
ii libselinux1 3.4-1+b6
ii libssl3 3.0.16-1~deb12u1
ii libsystemd-shared 254.22-1~bpo12+1
ii libsystemd0 254.22-1~bpo12+1
ii libzstd1 1.5.4+dfsg2-5
ii mount 2.38.1-5+deb12u3
ii systemd-dev 254.22-1~bpo12+1
Versions of packages systemd recommends:
ii dbus [default-dbus-system-bus] 1.14.10-1~deb12u1
ii systemd-timesyncd [time-daemon] 254.22-1~bpo12+1
Versions of packages systemd suggests:
ii libfido2-1 1.12.0-2+b1
ii libqrencode4 4.1.1-1
ii libtss2-esys-3.0.2-0 3.2.1-3
ii libtss2-mu0 3.2.1-3
ii libtss2-rc0 3.2.1-3
ii polkitd 122-3
ii python3 3.11.2-1+b1
pn python3-pefile <none>
pn systemd-boot <none>
ii systemd-container 254.22-1~bpo12+1
pn systemd-homed <none>
pn systemd-resolved <none>
pn systemd-userdbd <none>
Versions of packages systemd is related to:
ii dbus-user-session 1.14.10-1~deb12u1
pn dracut <none>
ii initramfs-tools 0.142+deb12u3
ii libnss-systemd 254.22-1~bpo12+1
ii libpam-systemd 254.22-1~bpo12+1
ii udev 254.22-1~bpo12+1
-- no debconf information
--
http://lapiz.istik.de/
[Unit]
Description=Debugging user environment
[Service]
ExecStart=/usr/bin/dash -c '/usr/bin/env >/tmp/debug_env.log'
Restart=false
[Install]
WantedBy=default.target
USER=testuser
HOME=/home/testuser
GTK_MODULES=gail:atk-bridge
MANAGERPID=49864
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
SYSTEMD_EXEC_PID=49891
LOGNAME=testuser
JOURNAL_STREAM=9:256440
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1001.slice/user@1001.service/app.slice/debug.service/memory.pressure
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
INVOCATION_ID=d7da2b1b487145f18336e917b466577b
XDG_RUNTIME_DIR=/run/user/1001
LANG=de_DE.UTF-8
SHELL=/bin/bash
QT_ACCESSIBILITY=1
PWD=/home/testuser
XDG_DATA_DIRS=/home/testuser/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
USER=testuser
XDG_SESSION_TYPE=wayland
SHLVL=0
HOME=/home/testuser
DESKTOP_SESSION=gnome
GTK_MODULES=gail:atk-bridge
MANAGERPID=49864
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
SYSTEMD_EXEC_PID=60731
IM_CONFIG_PHASE=1
WAYLAND_DISPLAY=wayland-0
LOGNAME=testuser
_=/usr/bin/gnome-session
JOURNAL_STREAM=9:308857
XDG_SESSION_CLASS=user
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1001.slice/user@1001.service/app.slice/debug.service/memory.pressure
USERNAME=testuser
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
GDM_LANG=de_DE.UTF-8
SESSION_MANAGER=local/comix:@/tmp/.ICE-unix/50091,unix/comix:/tmp/.ICE-unix/50091
INVOCATION_ID=905d18961da74a1c9a59f2e78e61c4a4
XDG_RUNTIME_DIR=/run/user/1001
GNOME_SETUP_DISPLAY=:2
XDG_MENU_PREFIX=gnome-
DISPLAY=:1
LANG=de_DE.UTF-8
XDG_CURRENT_DESKTOP=GNOME
XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.J8CC62
XDG_SESSION_DESKTOP=gnome
XMODIFIERS=@im=ibus
SSH_AGENT_LAUNCHER=openssh
SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
SHELL=/bin/bash
QT_ACCESSIBILITY=1
GDMSESSION=gnome
QT_IM_MODULE=ibus
PWD=/home/testuser
XDG_DATA_DIRS=/usr/share/gnome:/home/testuser/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
HOME=/home/testuser
LANG=de_DE.UTF-8
LOGNAME=testuser
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
SHELL=/bin/bash
USER=testuser
XDG_DATA_DIRS=/usr/share/gnome:/home/testuser/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
XDG_RUNTIME_DIR=/run/user/1001
GTK_MODULES=gail:atk-bridge
QT_ACCESSIBILITY=1
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
DESKTOP_SESSION=gnome
DISPLAY=:1
GDMSESSION=gnome
GDM_LANG=de_DE.UTF-8
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SETUP_DISPLAY=:2
IM_CONFIG_PHASE=1
PWD=/home/testuser
QT_IM_MODULE=ibus
SESSION_MANAGER=local/comix:@/tmp/.ICE-unix/50091,unix/comix:/tmp/.ICE-unix/50091
SHLVL=0
SSH_AGENT_LAUNCHER=openssh
SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
USERNAME=testuser
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.J8CC62
XDG_CURRENT_DESKTOP=GNOME
XDG_MENU_PREFIX=gnome-
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_TYPE=wayland
XMODIFIERS=@im=ibus
_=/usr/bin/gnome-session
HOME=/home/testuser
LANG=de_DE.UTF-8
LOGNAME=testuser
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SHELL=/bin/bash
USER=testuser
XDG_DATA_DIRS=/home/testuser/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
XDG_RUNTIME_DIR=/run/user/1001
GTK_MODULES=gail:atk-bridge
QT_ACCESSIBILITY=1
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
CGroup /:
-.slice
├─user.slice
│ ├─user-1001.slice
│ │ ├─session-24.scope
│ │ │ ├─49849 gdm-session-worker [pam/gdm-password]
│ │ │ ├─49970 /usr/libexec/gdm-wayland-session /usr/bin/gnome-session
│ │ │ └─49985 /usr/libexec/gnome-session-binary
│ │ └─user@1001.service …
│ │ ├─session.slice
│ │ │ ├─gvfs-goa-volume-monitor.service
│ │ │ │ └─49962 /usr/libexec/gvfs-goa-volume-monitor
│ │ │ ├─org.gnome.SettingsDaemon.MediaKeys.service
│ │ │ │ └─50380 /usr/libexec/gsd-media-keys
│ │ │ ├─org.gnome.SettingsDaemon.Smartcard.service
│ │ │ │ └─50397 /usr/libexec/gsd-smartcard
│ │ │ ├─xdg-permission-store.service
│ │ │ │ └─50301 /usr/libexec/xdg-permission-store
│ │ │ ├─org.gnome.SettingsDaemon.Datetime.service
│ │ │ │ └─50373 /usr/libexec/gsd-datetime
│ │ │ ├─xdg-document-portal.service
│ │ │ │ ├─50632 /usr/libexec/xdg-document-portal
│ │ │ │ └─50641 fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,sub…
│ │ │ ├─org.gnome.SettingsDaemon.Housekeeping.service
│ │ │ │ └─50376 /usr/libexec/gsd-housekeeping
│ │ │ ├─xdg-desktop-portal.service
│ │ │ │ └─50621 /usr/libexec/xdg-desktop-portal
│ │ │ ├─org.freedesktop.IBus.session.GNOME.service
│ │ │ │ ├─50366 sh -c /usr/bin/ibus-daemon --panel disable $([ "$XDG_SESSION_…
│ │ │ │ ├─50370 /usr/bin/ibus-daemon --panel disable
│ │ │ │ ├─50511 /usr/libexec/ibus-dconf
│ │ │ │ ├─50518 /usr/libexec/ibus-extension-gtk3
│ │ │ │ └─50612 /usr/libexec/ibus-engine-simple
│ │ │ ├─pipewire-pulse.service
│ │ │ │ └─49899 /usr/bin/pipewire-pulse
│ │ │ ├─org.gnome.SettingsDaemon.Keyboard.service
│ │ │ │ └─50378 /usr/libexec/gsd-keyboard
│ │ │ ├─org.gnome.SettingsDaemon.A11ySettings.service
│ │ │ │ └─50367 /usr/libexec/gsd-a11y-settings
│ │ │ ├─wireplumber.service
│ │ │ │ └─49898 /usr/bin/wireplumber
│ │ │ ├─org.gnome.SettingsDaemon.Wacom.service
│ │ │ │ └─50414 /usr/libexec/gsd-wacom
│ │ │ ├─gvfs-daemon.service
│ │ │ │ ├─49915 /usr/libexec/gvfsd
│ │ │ │ └─49926 /usr/libexec/gvfsd-fuse /run/user/1001/gvfs -f
│ │ │ ├─gvfs-udisks2-volume-monitor.service
│ │ │ │ └─49949 /usr/libexec/gvfs-udisks2-volume-monitor
│ │ │ ├─org.gnome.SettingsDaemon.Sharing.service
│ │ │ │ └─50392 /usr/libexec/gsd-sharing
│ │ │ ├─org.gnome.SettingsDaemon.Color.service
│ │ │ │ └─50369 /usr/libexec/gsd-color
│ │ │ ├─org.gnome.SettingsDaemon.ScreensaverProxy.service
│ │ │ │ └─50388 /usr/libexec/gsd-screensaver-proxy
│ │ │ ├─org.gnome.SettingsDaemon.PrintNotifications.service
│ │ │ │ ├─50383 /usr/libexec/gsd-print-notifications
│ │ │ │ └─50548 /usr/libexec/gsd-printer
│ │ │ ├─org.gnome.SettingsDaemon.Power.service
│ │ │ │ └─50382 /usr/libexec/gsd-power
│ │ │ ├─org.gnome.Shell@wayland.service
│ │ │ │ └─50122 /usr/bin/gnome-shell
│ │ │ ├─gvfs-gphoto2-volume-monitor.service
│ │ │ │ └─49958 /usr/libexec/gvfs-gphoto2-volume-monitor
│ │ │ ├─org.gnome.SettingsDaemon.UsbProtection.service
│ │ │ │ └─50412 /usr/libexec/gsd-usb-protection
│ │ │ ├─gvfs-metadata.service
│ │ │ │ └─54483 /usr/libexec/gvfsd-metadata
│ │ │ ├─org.gnome.SettingsDaemon.Sound.service
│ │ │ │ └─50403 /usr/libexec/gsd-sound
│ │ │ ├─pipewire.service
│ │ │ │ └─49894 /usr/bin/pipewire
│ │ │ ├─dbus.service
│ │ │ │ ├─49905 /usr/bin/dbus-daemon --session --address=systemd: --nofork --…
│ │ │ │ ├─49966 /usr/libexec/goa-daemon
│ │ │ │ ├─50012 /usr/libexec/goa-identity-service
│ │ │ │ ├─50303 /usr/libexec/gnome-shell-calendar-server
│ │ │ │ ├─50331 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notificat…
│ │ │ │ ├─50506 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver
│ │ │ │ └─50521 /usr/libexec/ibus-portal
│ │ │ ├─org.gnome.SettingsDaemon.Rfkill.service
│ │ │ │ └─50385 /usr/libexec/gsd-rfkill
│ │ │ ├─gvfs-mtp-volume-monitor.service
│ │ │ │ └─49954 /usr/libexec/gvfs-mtp-volume-monitor
│ │ │ └─gvfs-afc-volume-monitor.service
│ │ │ └─50031 /usr/libexec/gvfs-afc-volume-monitor
│ │ ├─background.slice
│ │ │ └─tracker-miner-fs-3.service
│ │ │ └─49944 /usr/libexec/tracker-miner-fs-3
│ │ ├─app.slice
│ │ │ ├─app-gnome-at\x2dspi\x2ddbus\x2dbus-50117.scope
│ │ │ │ ├─50117 /usr/libexec/at-spi-bus-launcher --launch-immediately
│ │ │ │ ├─50140 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi…
│ │ │ │ └─50332 /usr/libexec/at-spi2-registryd --use-gnome-session
│ │ │ ├─app-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-50454.scope
│ │ │ │ └─50454 /usr/libexec/gsd-disk-utility-notify
│ │ │ ├─evolution-calendar-factory.service
│ │ │ │ └─50351 /usr/libexec/evolution-calendar-factory
│ │ │ ├─xdg-desktop-portal-gnome.service
│ │ │ │ └─50644 /usr/libexec/xdg-desktop-portal-gnome
│ │ │ ├─dconf.service
│ │ │ │ └─50651 /usr/libexec/dconf-service
│ │ │ ├─gnome-keyring-daemon.service
│ │ │ │ └─49902 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs1…
│ │ │ ├─app-gnome\x2dsession\x2dmanager.slice
│ │ │ │ └─gnome-session-manager@gnome.service
│ │ │ │ └─50091 /usr/libexec/gnome-session-binary --systemd-service --sessi…
│ │ │ ├─gcr-ssh-agent.service
│ │ │ │ └─50080 /usr/libexec/gcr-ssh-agent /run/user/1001/gcr
│ │ │ ├─evolution-source-registry.service
│ │ │ │ └─50313 /usr/libexec/evolution-source-registry
│ │ │ ├─ssh-agent.service
│ │ │ │ └─50082 ssh-agent -D -a /run/user/1001/openssh_agent
│ │ │ ├─app-org.gnome.Terminal.slice
│ │ │ │ ├─gnome-terminal-server.service
│ │ │ │ │ └─51582 /usr/libexec/gnome-terminal-server
│ │ │ │ └─vte-spawn-48665c5c-ff10-43a1-b01d-8f176b584348.scope
│ │ │ │ └─51789 bash
│ │ │ ├─gnome-session-monitor.service
│ │ │ │ └─50081 /usr/libexec/gnome-session-ctl --monitor
│ │ │ ├─emacs.service
│ │ │ │ └─49892 /usr/bin/emacs --fg-daemon
│ │ │ ├─xdg-desktop-portal-gtk.service
│ │ │ │ └─50681 /usr/libexec/xdg-desktop-portal-gtk
│ │ │ ├─app-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-50418.scope
│ │ │ │ └─50418 /usr/libexec/evolution-data-server/evolution-alarm-notify
│ │ │ ├─app-gnome-org.gnome.Software-50405.scope
│ │ │ │ └─50405 /usr/bin/gnome-software --gapplication-service
│ │ │ └─evolution-addressbook-factory.service
│ │ │ └─50567 /usr/libexec/evolution-addressbook-factory
│ │ └─init.scope
│ │ ├─49864 /lib/systemd/systemd --user
│ │ └─49868 (sd-pam)
│ └─user-1000.slice
│ ├─…
│ […removed for privacy…]
├─init.scope
│ └─1 /sbin/init
└─system.slice
├─bolt.service
│ └─1081 /usr/libexec/boltd
├─apache2.service
│ ├─1168 /usr/sbin/apache2 -k start
│ ├─1258 /usr/sbin/apache2 -k start
│ └─1259 /usr/sbin/apache2 -k start
├─low-memory-monitor.service
│ └─1005 /usr/libexec/low-memory-monitor
├─systemd-udevd.service …
│ └─udev
│ └─486 /lib/systemd/systemd-udevd
├─cron.service
│ └─998 /usr/sbin/cron -f
├─polkit.service
│ └─1006 /usr/lib/polkit-1/polkitd --no-debug
├─rtkit-daemon.service
│ └─1334 /usr/libexec/rtkit-daemon
├─bluetooth.service
│ └─997 /usr/libexec/bluetooth/bluetoothd
├─accounts-daemon.service
│ └─994 /usr/libexec/accounts-daemon
├─wpa_supplicant.service
│ └─1070 /sbin/wpa_supplicant -u -s -O DIR=/run/wpa_supplicant GROUP=netdev
├─ModemManager.service
│ └─1077 /usr/sbin/ModemManager
├─nmbd.service
│ └─2111 /usr/sbin/nmbd --foreground --no-process-group
├─systemd-journald.service
│ └─468 /lib/systemd/systemd-journald
├─power-profiles-daemon.service
│ └─1007 /usr/libexec/power-profiles-daemon
├─unattended-upgrades.service
│ └─1160 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-s…
├─ssh.service
│ └─1162 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
├─fwupd.service
│ └─3457 /usr/libexec/fwupd/fwupd
├─colord.service
│ └─1154 /usr/libexec/colord
├─exim4.service
│ └─2156 /usr/sbin/exim4 -bd -q30m
├─NetworkManager.service
│ └─1057 /usr/sbin/NetworkManager --no-daemon
├─gdm.service
│ └─1194 /usr/sbin/gdm3
├─systemd-machined.service
│ └─1016 /lib/systemd/systemd-machined
├─switcheroo-control.service
│ └─1011 /usr/libexec/switcheroo-control
├─system-postgresql.slice
│ └─postgresql@15-main.service
│ ├─1199 /usr/lib/postgresql/15/bin/postgres -D /var/lib/postgresql/15/main…
│ ├─1315 postgres: 15/main: checkpointer…
│ ├─1316 postgres: 15/main: background writer…
│ ├─1318 postgres: 15/main: walwriter…
│ ├─1319 postgres: 15/main: autovacuum launcher…
│ └─1320 postgres: 15/main: logical replication launcher…
├─iio-sensor-proxy.service
│ └─1001 /usr/sbin/iio-sensor-proxy
├─rng-tools-debian.service
│ └─1206 /usr/sbin/rngd -r /dev/hwrng
├─redis-server.service
│ └─1115 /usr/bin/redis-server 127.0.0.1:6379…
├─cups-browsed.service
│ └─1877 /usr/sbin/cups-browsed
├─cups.service
│ └─1091 /usr/sbin/cupsd -l
├─pcscd.service
│ └─6648 /usr/sbin/pcscd --foreground --auto-exit
├─geoclue.service
│ └─1520 /usr/libexec/geoclue
├─upower.service
│ └─1460 /usr/libexec/upowerd
├─udisks2.service
│ └─1019 /usr/libexec/udisks2/udisksd
├─smbd.service
│ ├─2163 /usr/sbin/smbd --foreground --no-process-group
│ ├─2168 /usr/sbin/smbd --foreground --no-process-group
│ └─2169 /usr/sbin/smbd --foreground --no-process-group
├─dbus.service
│ └─999 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile…
├─systemd-timesyncd.service
│ └─990 /lib/systemd/systemd-timesyncd
├─avahi-daemon.service
│ ├─ 996 avahi-daemon: running [comix.local]
│ └─1039 avahi-daemon: chroot helper
└─systemd-logind.service
└─1014 /lib/systemd/systemd-logind