Skip to main content

Questions tagged [systemctl]

Questions about systemctl - the main tool to interact with systemd and the service manager.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

This error may be specific to systemd - or perhaps bluetooth : This is a "headless" system. I would like to auto-connect my BT speaker after a reboot. Before upgrading my system from '...
Seamus's user avatar
  • 3,904
2 votes
2 answers
113 views

Linux Endeavouros. I don't understand how to tell if my firewall is on or not. Using systemctl status ufw gives: ufw.service - CLI Netfilter Manager Loaded: loaded (/usr/lib/systemd/system/ufw....
Paul Benson's user avatar
0 votes
1 answer
33 views

Like it says in the title, I've tried "Zara", "zara" and "22.2", all to no avail. Think I'll try "main" or "mint" next. Is it likely that the value ...
M0nk3yShad0W's user avatar
0 votes
2 answers
37 views

Basically, without giving the user any new permissions, I am looking to be able to write to /sys/bus/usb/drivers/usb/unbind and /sys/bus/usb/drivers/usb/bind via a systemd service running as the ...
Camille Guay's user avatar
5 votes
2 answers
299 views

I'm trying to set up some tasks and services on my machine across different users. One task is to run regular backups using restic with a regular user restic. While I can skip file permission checks ...
Lysann Tranvouez's user avatar
1 vote
0 answers
91 views

Today, while trying to debug some rsyslog issues, I changed the rsyslog configuration files and then ran systemctl restart rsyslog A sytemctl status showed that rsyslog was running, but its log files ...
Steve Summit's user avatar
2 votes
3 answers
224 views

I would like to build a report coming from the output of certain commands. For instance, I have the output of such command: systemctl --type=service --state=running | grep -e cron -e apache2 -e ...
Nick's user avatar
  • 29
0 votes
1 answer
190 views

I have an issue that after each reboot my service will be gone until I do a systemctl daemon-reload. The service: [Unit] Description=MyService Requires=local-fs.target remote-fs.target After=network....
Jesper.Lindberg's user avatar
1 vote
1 answer
526 views

I have a Fedora Linux system under my desk at home. It runs the Workstation setup (with GNOME) even though it mostly is used headless. It is my file server (samba), mail server (dovecot, mailman) and ...
Lars Poulsen's user avatar
0 votes
0 answers
36 views

systemctl status shows a Degraded state after following Chromeos Development Docs associated with and tweaking the ssh and sshd_config. I've got info about my Build&Machine specs and setup sharing&...
Aaron Sullivan's user avatar
8 votes
2 answers
1k views

When I run hostnamectl command, I get this output: $ hostnamectl Static hostname: myhostname Icon name: computer-desktop Chassis: desktop 🖥 Machine ID: ...
user19315471's user avatar
0 votes
2 answers
237 views

I'm writing a systemd service that will literally do something "stupid," such as display an on-screen message at shutdown time, saying something such as "Thank you for using this ...
user729048's user avatar
2 votes
2 answers
196 views

I want to know which services don't start automatically with system boot because PRESET mode is disabled via systemctl list-unit-files. Both commands produce an error message: systemctl list-unit-...
Aleksey's user avatar
  • 75
1 vote
2 answers
300 views

I have a Linux device with several services of my own. Kernel: 4.14.151 systemd: systemd 249 (249.11-0ubuntu3.12) My services are written as sysvinit services and automatically generated as systemd ...
hudac's user avatar
  • 791
0 votes
2 answers
65 views

OS: Nobara Linux 41 (up to date) I have scoured the forums for possible solutions to this issue, however I still cannot seem to make it work. I have a user created service that I am attempting to run ...
Helios5584's user avatar
0 votes
0 answers
145 views

I have been struggling for over a month with a new Lenovo Thinkpad P16 Gen2 laptop running Ubuntu 22.04 LTS, that would not successfully suspend. Maybe 90% of the time it worked okay, the other 10% ...
Steve Cohen's user avatar
0 votes
1 answer
2k views

I've re-written this opening paragraph... trying to hide my disdain for systemd. I'll settle for saying that I find systemd's "logic" baffling, and let it go at that. To get to the question: ...
Seamus's user avatar
  • 3,904
0 votes
1 answer
94 views

I am trying to setup SpamAssassin on my mail server (Rocky Linux 9.5). Just a basic setup! This is the options variable at /etc/sysconfig/spamassassin: SPAMDOPTIONS="-d -c -m5 -H --create-prefs --...
Ali Sarbanha's user avatar
-2 votes
1 answer
432 views

When you run systemctl enable and provide it a service name, what happens if there is no [Install] section in the service? ❯ systemctl enable myapp.service The unit files have no installation config (...
Evan Carroll's user avatar
  • 35.2k
2 votes
1 answer
326 views

I want to automatically start a GUI application, whenever I plug in a certain USB device. When started, the application runs in the foreground and should not run as root. How can I do that? In my ...
luziferius's user avatar
0 votes
0 answers
67 views

I have a situation where I want to migration from using system slice to ABC slice for a systemctl service. Now that service is running some child processes as well during communication from data plane ...
samay varshney's user avatar
0 votes
1 answer
377 views

I am trying to run a systemd-enabled container using Podman, specifically with a Rocky Linux base image. While I have seen multiple references to Podman supporting systemd, I haven't been able to set ...
Moha's user avatar
  • 1
0 votes
0 answers
101 views

I have 2 systemd services. a.service b.service b depends on a but I don't want to explicitly mention the dependency in b.service file. Instead I am waiting on the org.freedesktop.DBus.Properties....
nishad kamdar's user avatar
0 votes
2 answers
511 views

I use the networking through the networking.service and the /etc/network/interfaces configuration file on a Debian 12 system (as shown here). Problem I added a GPU and after rebooting, the computer ...
A.L's user avatar
  • 2,018
1 vote
1 answer
395 views

I’m facing an issue with a systemd service I created on an Ubuntu 20.04.6 system running on an ARM64 platform. The service is supposed to execute a simple Bash script at boot, but it does not start ...
RiccardoB's user avatar
0 votes
2 answers
222 views

I have created and enabled my custom systemd 253.1 service file on Linux. I ran 'systemctl enable samba-container' successfully and the 'systemctl status' command shows that the service is enabled. I ...
PhilBot's user avatar
  • 101
0 votes
1 answer
105 views

Trying to run a systemd service with systemctl --user start foo.service which contains ExecStart=touch /bar/baz where /bar has permissions drwxrwxr-x 1 root storage. The user running the command ...
josh-stackexchange's user avatar
0 votes
2 answers
465 views

Running Fedora on WSL2, I find that the socket activation on ssh-agent doesn't quite work properly: the first request that triggers the actual service starting fails. This may be a git fetch or git ...
ncoghlan's user avatar
  • 1,091
0 votes
1 answer
251 views

While regular updating (not version upgrade) my fedora 39 system via dnf update this error message appeared. Ausgeführtes Scriptlet: audit-3.1.5-1.fc39.x86_64 ...
black_hole_sun's user avatar
0 votes
1 answer
172 views

I'm trying to create a systemctl unit, that will only start if another one is active. As far as i know, it can be done by specifying a Requisite field. Thus, i've configured my unit like so: [Unit] ...
Guaiacol's user avatar
1 vote
0 answers
1k views

This appears similar to another question, but nothing was ever followed up on it. I'm currently having trouble with pppd as a systemd service. I'm waiting for the network adapter to come online before ...
Synthetic Ascension's user avatar
0 votes
0 answers
34 views

I have a systemctl service which does not take the arguments. It works on the command line, but not within systemctl. [Service] Type=forking User=sunyata WorkingDirectory=/home/sunyata/steamsrv/...
Sunyata Nothing's user avatar
0 votes
2 answers
144 views

On my Gentoo Linux with dunstify as a notification daemon and StumpWM as a window manager, I wrote the following bash-script that is meant to inform me about my battery status: #!/bin/bash #This ...
Alexander Praehauser's user avatar
1 vote
2 answers
935 views

I run the following command : systemctl status tomcat10.service #and get the following warning: Warning: The unit file, source configuration file or drop-ins of tomcat10.service changed on disk. Run '...
Kiwy's user avatar
  • 9,892
2 votes
1 answer
705 views

I managed to resize my LVM partitions, set up my swapfile, and disable secure boot, so now I can hibernate with sudo systemctl hibernate. However, I want to be able to hibernate from my power menu (...
Hari's user avatar
  • 202
0 votes
1 answer
256 views

I attempted to follow this guide on Ubuntu 22.04: https://wiki.gentoo.org/wiki/GPU_passthrough_with_libvirt_qemu_kvm I didn't need to change my BIOS or my Kernel, and I skipped the step involving the ...
adamlaughlin's user avatar
1 vote
0 answers
164 views

We have a constant issue where sssd is getting itself in failed state when an oom-killer event happens and kills a user's memory hog job. No idea why this happens as the oom-killer is not touching ...
raines's user avatar
  • 334
0 votes
1 answer
74 views

I want to execute an interactive session on the console via systemctl on boot up. My .service file looks something like this: [Unit] Description=My service. [email protected] network-online....
ZaPaDoS's user avatar
-1 votes
2 answers
1k views

I see from manual of systemctl that's the difference is high- and low- levels. What does that mean? I suppose that active means "started automatically while OS starts" and running means &...
palmasd1's user avatar
  • 127
0 votes
1 answer
86 views

I am running AlmaLinux 9, and I have a service (called it "X"). I want to figure out what is starting service X (since it is disabled). Is there a command that will show which other service ...
TSG's user avatar
  • 1,993
0 votes
1 answer
210 views

This is a somewhat mystifying situation - not a crisis as far as I can tell, since the service in question still seems to work. The background is, I wanted to upgrade to the latest apache2, which isn'...
j4nd3r53n's user avatar
  • 779
0 votes
1 answer
642 views

I created a linux service to start a shell script when the server (re)starts. While testing my server I saw that the service is able to start when I do it manually but won't start when I enable it ...
ansible_usah's user avatar
0 votes
0 answers
125 views

I have a weather station service, weewx, on a Raspberry Pi 3. When there is a power cut (thunderstorm), the Pi reboots when the power is back, but not the service weewx which remains in "inactive&...
user509010's user avatar
0 votes
1 answer
230 views

I have wireguard installed on a Manjaro host, and Debian Server host The following commands show wireguard in the results on Manjaro, but nothing on the Debian server, yet the wireguard is definitely ...
Rachel1983's user avatar
1 vote
1 answer
700 views

I tried the following: sysctl -w net.ipv6.conf.Ethernet1.200.disable_ipv6=0, but it gave following error: sysctl: cannot stat /proc/sys/net/ipv6/conf/Ethernet1/200/disable_ipv6: No such file or ...
gerrit_noob's user avatar
4 votes
2 answers
2k views

My situation I installed a few new unit files under $HOME/.local/share/systemd/user/ ls -1 $HOME/.local/share/systemd/user/ some.service some.timer some_other.service I ran the following command to ...
LiveWireBT's user avatar
5 votes
2 answers
844 views

In a script, I've found a curious way to process systemctl status's output: echo "$(systemctl status the_unit_name)" | grep -q 'Active: active' instead of the obvious: systemctl status ...
Marcus's user avatar
  • 991
0 votes
1 answer
218 views

I have 1 service registered with systemd open_ssh.script autossh -M 0 -L 8080:127.0.0.1:8080 -i .ssh/id_rsa USER@HOST -fN auto_open_ssh.service [Unit] Description=SSH Tunnel Service After=network....
Hoang Anh Nguyen's user avatar
1 vote
1 answer
219 views

systemd 219 version Ubuntu 22.04.2 LTS [Unit] Description=Run myscript.service every 5 minutes [Timer] OnCalendar= *-*-* 10-23:10/5:00 Persistent=true [Install] WantedBy=timers.target I need to run ...
Aigerim's user avatar
  • 11
0 votes
1 answer
84 views

I am debugging some embedded system running systemd. The behavior I am observing is that the systemd targets basic.target, local-fs.target and multi-user.target are disabled after I run systemctl ...
Étienne's user avatar
  • 153

1
2 3 4 5
7