Skip to main content

All Questions

Tagged with
1 vote
1 answer
3k views

How to analyze system errors when journalctl fails?

One of my KVM servers (2 Xeon E5-2680 v2, 1 AMD Vega 10 GPU, Ubuntu 20.04.1 LTS) became unresponsive last night. Of the 5 VMs running on the server, only one could be reached. The server itself ...
4 votes
1 answer
3k views

How to start a program in a container as a service using systemd-nspawn, systemd-run?

How do I run a listening program (specifically unoconv as a listener) inside a container using systemd-nspawn, so that it can run in the background (without a console) and be reached by other ...
2 votes
1 answer
2k views

Setup .pkla rule for polkit

I'd like to start a systemd service using DBus in one of my apps which is run as non-root user myuser. For that I need to set up a PolicyKit where I'm using polkit 0.105 and added the following .pkla ...
0 votes
0 answers
54 views

Systemd service for backup during boot or shutdown

Is it possible to configure systemd service that will delay the boot process (by about 10-20 minutes) to run a local backup script (something like dd if=/dev/sdb of=/dev/sdc) while filesystem is still ...
1 vote
1 answer
32 views

Systemd: should I use wants/requires for already enabled service listed in After=

I have a systemd service named webserver.service that is wanted by multiuser.target (enabled by default on system). I have another service under another target named test.service that I want to run ...
4 votes
2 answers
3k views

Limiting users ram with cgroups not working (for me)

I registred because I didn't manage running cgroups with several tutorials/comments/whatever you find on google. I want to limit the amount of ram a specifix user may use. Internet says "cgroups". My ...
0 votes
1 answer
117 views

systemd service restarting without any obvious cause

I have two Spring applications that chug along nicely, nothing special happening, and then out of the blue the applications restart; journalctl shows these lines: Jan 15 04:43:11 nyota.softworks.nl ...
0 votes
1 answer
3k views

How to disable LLMNR on Ubuntu 17.10

My understanding is that if I am using third party DNS (Google, etc.) or DNS provided by my ISP (Comcast, etc.), I do not need the LLMNR feature on.  I am attempting to disable it, but setting LLMNR=...
3 votes
1 answer
4k views

network interfaces rename not working as expected. Where to look?

System is Ubuntu 16.10. It has been updated quite some times, so it might have some remaining stuff from earlier versions in there (at least back till 14.04, probably much longer). The issue it the ...
0 votes
1 answer
37 views

How is the default nice value of a user's processes implemented in Ubuntu server 22.04.4 LTS

I've noticed that all services and processes with my user in Ubuntu Server 22.04.4 LTS have a nice value of 19. I connect to the server through ssh, and my ssh sessions also have a nice value of 19. I ...
0 votes
0 answers
102 views

systemd: Failed to attach to cgroup...No such file or directory

OS Ubuntu-22.04 Kernel-version 6.2.0-39-generic systemd --version systemd 249 (249.11-0ubuntu3.12) Problem description: From a perl script I am trying to stop and start myservice, this script has no ...
0 votes
1 answer
31 views

Systemd timer only starts when service is stopped

I have a service that runs a python script: [Unit] Description="Daily python service" [Service] WorkingDirectory=/home/ubuntu/python_project/ ExecStartPre=/bin/bash -c 'truncate -s 0 /var/...
1 vote
2 answers
65 views

systemd.network management

I try to follow the manual example from man systemd.network: # /etc/systemd/network/27-xfrm.netdev [NetDev] Name=xfrm0 Kind=xfrm [Xfrm] InterfaceId=7 # /etc/systemd/network/27-eth0.network [Match] ...
0 votes
1 answer
3k views

Ubuntu stuck at boot

My Ubuntu 20.04 is stuck at the boot. The screen becomes black and the only visible thing is a small underscore on top. I cannot enter the command line. I think I might have screwed something with ...
122 votes
5 answers
136k views

Systemd service - what is `multi-user.target`

I have come across a .service that contains the following: [Install] WantedBy=multi-user.target The original .service file can be found here. What is the the meaning of multi-user.target? I am on ...

15 30 50 per page
1
2 3 4 5
20