Questions tagged [systemd]

systemd is a modern replacement for the traditional Linux init. Its main features include the ability to express dependencies between services and aggressive parallelization of service startup.

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

dnsmasq fails to resolve queries and restart after sleep mode

i'm yet another user trying to unwrap systemd-resolved, NetowrkManager and dnsmasq horror with addition of proprietary vpn that messes with /etc/resolve.conf. I want to have dnsmasq as my only ...
0
votes
1answer
17 views

How to run minikube start as a linux service on startup?

This question is related to How to arrange a non admin command as a systemd service? I have the following minikube.service file: [Unit] Description=Runs minikube on startup After=vboxautostart-service....
0
votes
1answer
18 views

How to arrange a non admin command as a systemd service?

For example, I want to run minikube start. First I created the following minikube.service file: [Unit] Description=Runs minikube on startup After=vboxautostart-service.service vboxballoonctrl-service....
0
votes
0answers
17 views

Systemd: Unlock drives before ZFS import

I have LUKS encrypted drives and ZFS on top of that. I unlock the drives on boot using a script. I made a systemd service for that, but the script take some time and the zfs-import-cache.service ...
0
votes
0answers
18 views

systemd-gpt-auto-generator doesn't mount EFI system partition

according to the documentation, the systemd-gpt-auto-generator should automatically find the EFI system partition and generate a mount unit to mount it on /efi. However this does not appear to work on ...
0
votes
1answer
33 views

How to solve “Active: activating (auto-restart)” when starting collectd.service?

I have problem with starting collectd.serivce in my Fedora 31 64-bit OS which I've installed via sudo dnf install collectd command. When I type sudo systemctl status collectd.service I get following ...
1
vote
3answers
82 views

systemctl --user cannot start docker containers on Ubuntu 20.04

I am in the process of migrating some services from Ubuntu 18.04 to 20.04. In 18.04 I run these services under a non-root user. All these services start a docker container, and they're working just ...
0
votes
1answer
54 views

systemd 219 capabilities behavior

We're running systemd verson 219 on CentOS 7, inside an LXC container, and we're having trouble with capabilities. systemd appears to be dropping capabilities, contrary to the systemd.exec(5) man ...
0
votes
0answers
91 views

Group permissions on Linux directories with Systemd

Context Operating System: Debian 10 The context is the following: a Python web service needs to execute a Bash script via subprocess in a sub-directory, let's say /a/b/script.sh. A user, let's name it ...
0
votes
1answer
39 views

listing Systemd target unit's dependencies in a machine readable format

I have a complex systemd target unit with a number of dependency units. I would like to list and parse the status of these without falling back to a loop. the 'list-dependencies' sub-command only ...
0
votes
1answer
44 views

Systemd socket activation for multiple ports on Apache

On an Apache Server (2.4.37) running on CentOS 8, there should be a redirection of HTTP traffic on port 8765 to the default https port. Therefore, I am trying to make the server listen to port 8765 in ...
0
votes
2answers
87 views

CentOS 7 systemd.exec configuration: alternatives to LogsDirectory & CacheDirectory?

On a CentOS Linux 7.8 system, if I create a systemd service configuration file and include LogsDirectory and/or CacheDirectory in the [Service] section, then do a systemctl daemon-reload, the ...
2
votes
1answer
47 views

use a service to start a new, shared, tmux session (and detach)

I'm trying to use systemctl to launch a process in a new, shared, tmux session. I'm pretty sure my tmux command is all set: I have the socket path set with a shared group. the service is executing ...
0
votes
1answer
96 views

cgroup fork rejected by pids controller

Have a small server program written in C/C++ that uses nginx and Postgres, currently all are hosted on the same ubuntu system. I usually run the server program from the bash command line. Recently on ...
2
votes
1answer
45 views

Samba won't start with systemd

I install samba 4.12.6 from source on centos 8. When I start samba directly /usr/local/samba/sbin/samba it run es expected. Now I create a systemd unit: [Unit] Description=Samba Active Directory ...

15 30 50 per page
1
2 3 4 5
77