Systemd is a replacement for the classic init during boot.

0
votes
1answer
14 views

Configuring routing with systemd-networkd and a non-network-address destination results in an error: Could not set route: Invalid argument

My machine was to act as the router for an IP address 10.0.0.66 inside a /29 subnet with gateway 10.0.0.65. It would thus be physically connected to the downstream machine 10.0.0.66 on one network ...
0
votes
0answers
12 views

Configuring routing with systemd-networkd via a gateway results in error: Could not set route: Network is unreachable

I run several LXC containers on my machine, some of which have their own IP address outside a network shared with the host. This IP address, as well as the corresponding network mask and gateway was ...
-2
votes
1answer
15 views

Not able to connect to session dbus from systemd service

I have an application which has to communicate with session dbus. If I start my application manually or start using Init.d, it is connecting to session d-bus. But if I start my application through ...
0
votes
0answers
13 views

Ubunut systemcontrol service run Qt app as root

Hi I need to run a Qt app as root using a service on startupHere is the systemctrl script[Unit]Description=QtApp[Service]User=rootGroup=rootExecStart=/usr/bin/sudo /AppDir/QtApp --no-sandbox...
0
votes
0answers
40 views

First boot fails when mounting partitions

I am building a system using buildroot. It uses systemd.When I flash and start the system for the first time, systemd reports only one error:[FAILED] Failed to start File System Check on Root ...
0
votes
1answer
33 views

Running Solr with SystemD: user limitations (ulimit) applied at runtime different from the configured limitations

I'm trying to run solr as a SystemD service. When I start the service I get this warning then the solr server stops.jun 22 16:20:07 solr_start[1488]: *** [WARN] *** Your Max Processes Limit is ...
3
votes
2answers
192 views

How do I disable kernel logging into the systemd journal?

I'm using a device that spams kernel messages excessively (10-100 messages a second, Mediatek drivers...), where it is infeasible to remove the logging from the kernel itself (spread across hundreds ...
3
votes
3answers
67 views

stop systemctl using graphical sudo prompt

My question is how could I configure systemd(?) to stop opening this annoying pop-up whenever I forget to type sudo. Just give me a text-based sudo prompt or show an error, so I can correct the ...
1
vote
1answer
33 views

Redis socket permissions caught between /var/run and http

I'd like my PHP web application (run as user apache) to connect to redis via a UNIX socket. So I thought of running redis as user apache as well and the socket permissions can be 0700 owned by apache. ...
0
votes
0answers
62 views

Unable to run commands such as hostnamectl in centos 7 Virtual Machine

I have a Centos 7 image running as a virtual machine (not as a Docker image).When the VM boots up, it uses systemctl to start several services, one of which is my application that tries to set the ...
1
vote
1answer
61 views

In systemd service file, how do I say “after USB is ready”?

I have a program running on Raspbian Stretch, talking to a mobile phone via USB, using a specialized protocol implemented on top of libusb.I'd like the program to run on startup, so I make up a ...
0
votes
0answers
19 views

How to run SecComp in Systemd to only get warning in the logs about systems calls?

I would like to run a program in systemd with SecComp enabled, but only get warning in the logs when the filtered systems calls are done by the program (or its libraries). Note: I already used ...
0
votes
2answers
298 views

Failed at step EXEC spawning: No such file or directory

Given the following one-shot service, enabled at boot,[Unit]Description=My Server DaemonDocumentation=https://etcetc.orgWants=network-online.target getty.target NetworkManager-wait-online....
2
votes
1answer
121 views

Systemd process is exited immediately after start

I'm extremely new to systemd and am trying to write a .service file that runs my php script. The script runs and needs to wait for input from someone else to do anything, and remains open til I ctrl-C....
0
votes
2answers
62 views

Byobu Systemd Error with ownership

Trying to run#!/bin/sh# byobu_launcher.sh ver 20170915122301 Copyright 2017 alexx, MIT Licence ver 1.0byobu new-session -d -s $USER# mongodbyobu new-window -t $USER:1 -n 'MLT'byobu send-...

153050per page