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.
1,179
questions
1
vote
1answer
21 views
Disk Quota with Systemd Nspawn
I have a setup where I need to run several apps, each one in a different container. I'm trying to setup a "disk quota" system using systemd-nspawn, to limit the disk space each one would be ...
0
votes
1answer
40 views
Systemd timers will not fire
I have a very weird issue on Debian Buster. I've enabled unattended-upgrades on the server as this is a very bare bones server and it should just update automatically. However, it seems that the apt ...
0
votes
1answer
88 views
Create init.d Apache service for multiple instances on debian
I am trying to install a second instance of apache on debian. I used the multiple instance script. during the installation it says:
[email protected]:/usr/share/doc/apache2/examples# sudo sh setup-...
1
vote
1answer
24 views
How do you get systemd to reparse /etc/fstab auto mounts?
If x-systemd.automount entries are modified in /etc/fstab, how do I get systemd to reparse the entries?
0
votes
0answers
20 views
systemd: switch between targets without restarting services from third target
i have two custom targets A and B:
A.target:
Description=A
Requires=multi-user.target
Wants=
Conflicts=B.target
After=multi-user.target
AllowIsolate=yes
B.target:
Description=B
Requires=multi-user....
2
votes
1answer
70 views
How to make systemd network-online.target wait for multiple networks?
We have an ESXi virtual machine running Debian 10 and are encountering a problem with postfix starting too early. This is causing issues with resolv.conf not being populated before the postfix chroot. ...
0
votes
0answers
22 views
How to slice a /56 prefix into a /64 one and assign IPs to intefaces with systemd-networkd (only) and DHCPv6-PD?
I know people do use mixtures of tools (radvd, dhclient, dibbler, dhcpd, etc.).
I am provided with a /56 IPv6 slice. SLAAC is not available, just PD/RA.
I just want to know how to get a routable, ...
0
votes
0answers
18 views
How to have systemctl track the spawned process of a script?
As a followup to one of my previous posts, I'm using systemd to run a GMod server on Ubuntu 18.04. My systemd script looks like this:
[Unit]
Description=Gmod Server
After=network.target
[Service]
...
0
votes
1answer
45 views
“Failed to get shell PTY: Protocol error” for an nspawn container with systemd inside
I create containers with
# debootstrap --variant=minbase --include=systemd,iproute2 buster "/var/lib/machines/test"
And then I run it with:
# systemd-nspawn --machine test
Just for testing ...
0
votes
0answers
299 views
Warning: The unit file, source configuration file or drop-ins of X changed on disk. Run 'systemctl daemon-reload' to reload units
I am running Debian 10.4 on kernel 4.19.66+.
It seems that my unit files are changing on their own (It sounds crazy, I know), with no interaction from me, the only user of the system.
I found this ...
1
vote
0answers
54 views
systemd-nspawn container DNS not working
I'm trying to launch a container with systemd-nspawn (from the systemd-container package, version 241), but the container is not able to resolve host names. The host environment is PureOS 9.0, which ...
0
votes
0answers
42 views
Make journalctl keep all logs forever (SystemMaxUse = unlimited)
How do I configure journald so that it never, ever, ever deletes my logs.
Yes, what I want to do is tell journald to keep writing until the disk (read: /var partition's filesystem) is full.
No, I don'...
0
votes
1answer
107 views
What is the perfect tomcat virtualization config file?
I am managing tomcat server behind the nginx. In tomcat multiple webapps are there. My OS is Ubuntu 18.04LTS on Digital Ocean.
Everything working fine, but suddenly I have one issue popped up. Tomcat ...
0
votes
1answer
238 views
How to disable suspend on Ubuntu 20.04 (systemd) via CLI
I have a laptop that has been installed with ubuntu 20.04 that is being used as a server. Thus I want it to never suspend.
By default it automatically suspends when the lid is closed.
As I can only ...
0
votes
0answers
215 views
Cannot get redis 5 to run with systemctl
Installed Redis 5 (have Redis 3 working on server)
Modified various configurations in /etc/opt/rh/rh-redis5/redis.conf as necessary including setting supervised to "systemd" and setting ...