Questions tagged [systemctl]
Questions about systemctl - the main tool to interact with systemd and the service manager.
343 questions
0 votes
1 answer
70 views
Help with a systemctl error from cron in Debian
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 '...
2 votes
2 answers
158 views
I'm confused. Is my UFW firewall working or not?
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....
0 votes
1 answer
54 views
"set value" for [linuxmint] 22.2 as "APT::Default-Release" in [apt-config] or "/etc/apt/apt.conf.d/*"
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 ...
0 votes
2 answers
63 views
Unbind/re-bind usb device via systemctl service running as user (with a custom group)
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 ...
5 votes
2 answers
317 views
Permissions required to use machine transport with systemctl
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 ...
1 vote
0 answers
94 views
Should systemctl restart be equivalent to stop + start?
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 ...
2 votes
3 answers
241 views
How to extract specific fields from systemctl output for a custom report
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 ...
0 votes
1 answer
216 views
systemctl daemon-reload needed after reboot
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....
1 vote
1 answer
630 views
How do I keep Fedora to try to suspend my system when idle?
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 ...
0 votes
0 answers
42 views
Degraded status in Crostini container after Developer config and SSH config
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&...
8 votes
2 answers
1k views
hostnamectl: source of Firmware Age
When I run hostnamectl command, I get this output: $ hostnamectl Static hostname: myhostname Icon name: computer-desktop Chassis: desktop 🖥 Machine ID: ...
0 votes
2 answers
269 views
Can't get a systemd service to start in Fedora
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 ...
2 votes
2 answers
210 views
How to list services are only in "disabled" preset via systemctl?
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-...
1 vote
2 answers
342 views
systemd-random-seed.service takes a lot of time to start / timeout
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 ...
0 votes
2 answers
71 views
Unable to get user created service to launch on boot
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 ...