Questions tagged [systemd]
systemd is a boot sequencer and service manager for Linux systems, with optional facilities for network management, logging, session control and cryptography. It is used by a majority of desktop Linux users, as its adaptiveness to changing hotplug hardware, network connectivity and its support for sandboxing makes it attractive for workstation/laptop use.
4,832 questions
0
votes
0
answers
28
views
CUPS printer problem
Job for cups.service failed because the control process exited with exit status error failure 1 code
○ cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; ...
0
votes
0
answers
50
views
When opening my wsl terminal it give an error stating "wsl: Failed to start the systemd user session for 'linux'. See journalctl for more details."
I am running Ubuntu 24.04.3 LTS in Windows Subsystem For Linux. When I start my laptop and then open my wsl Terminal it give an error which state:
wsl: Failed to start the systemd user session for '...
1
vote
0
answers
42
views
Systemd service not executing on resume
Similar issue to this post: Writing a systemd service to be executed at resume
I have a service that I want executed when the computer wakes from sleep. Here is the service:
[Unit]
Description=User ...
0
votes
0
answers
23
views
Does loginctl terminate-user USER stop user's process gracefully?
In order to write to a directory, I made a user member of a group called node_exporter.
This user, called podman, had lingering enabled.
I logged out and logged in again and verified with id the new ...
0
votes
1
answer
35
views
Can I have a Systemd service unit stop only when other services have already stopped
I have 5 service units setup in systemd. I need service file 5 to only stop after 1-4 service files have stopped first. How can I make that happen.
0
votes
0
answers
31
views
How can I automatically set some CPU parameters (via `/sys/devices/system/cpu/...``) when the system boots?
DISTRO: Fedora 41 KDE
GOAL: Im trying to automatically set some cpu parameters (per-CPU max frequency, governors, energy policy, etc.) during my boot process. I wrote a script to do this (it lives at /...
0
votes
1
answer
53
views
Why do environment variables in `~/.profile` appear in `systemctl --user show-environment` but not in my terminal?
I added some environment variables to my ~/.profile, for example:
export PIPX_BIN_DIR=$HOME/.pipx-global/bin
This works as expected—the executables installed via pipx are placed in the correct ...
1
vote
1
answer
147
views
Pacman upgrade fails with "Failed to start up manager. Freezing execution"
I have a VPS running Arch (Kernel 6.17.6-arch1-1).
A pacman -Syu upgrade on 2025-11-12 failed with warnings and errors about systemd.
In /var/log/pacman.log, I found the error messages:
[…]
[2025-11-...
0
votes
1
answer
34
views
Tail journalctl until service exits
I'm looking to start or restart a systemd service and immediately tail the output, but if the service exits while tailing, abort as though I had interrupted the command.
I don't want to include ...
0
votes
1
answer
94
views
Failed to activate service 'org.freedesktop.systemd1': timed out
I'm facing this error causing a 25 second timeout on every login. I've searched and attempted multiple suggested troubleshooting steps, but none have resolved the issue:
The error:
Nov 06 12:57:03 ...
0
votes
1
answer
20
views
Systemd mount unit files with ConditionPathExists with same Where and different What clauses
I need to mount either one of two devices to the same mount point. I cannot find a way to do that using .mount unit files because of the requirement that the .mount file name must be same as Where ...
0
votes
1
answer
31
views
Why this systemd service of type "notify" won't be waited for by dependent services?
My application consists of two programs, and three processes: one main application, and two identical child processes. They are launched using some wrapper scripts, but (I think?) that it's not ...
0
votes
1
answer
38
views
Systemback conflicts with live-config-systemd Error
I was trying to install Systemback for building a custom ISO/backup and got this error when installing. I followed the instructions from this site How to Install Systemback...
dpkg: regarding ...
1
vote
0
answers
81
views
GNOME 49.1 unable to start after an update
So I ran yay and updated my stuff after a long time. The next day I login and the GDM login screen just freezes. Oh well. Time to ditch the login manager, I think.
yay ly. Logging into Gnome on ...
3
votes
2
answers
645
views
"Permission denied" error while trying to create and run a systemd service
I have been able to create and run (as root) a systemd service that runs a "Hello World" script logged in as root. The script is just a shebang and an echo command. This is /etc/systemd/...