systemd is an alternative approach to SystemV init daemon for Linux. It is intended to provide a better framework for expressing services' dependencies, allow more work to be done in parallel at system startup, and to reduce shell overhead.

learn more… | top users | synonyms

0
votes
1answer
12 views

Start radio with systemd service

On a headless RaspberryPi, I would like to automatically start radio on boot, without any human action. I have written this file as /etc/systemd/system/radio.service : [Unit] Description=Radio ...
0
votes
1answer
42 views

Why does /etc/machine-id changes at reboot?

/etc/machine-id changes at each boot on my recent Debian Jessie install. The docs say it shouldn't: The machine ID is usually generated from a random source during system installation and stays ...
0
votes
0answers
6 views

A lot of warnings and errors from `org.freedesktop.Tracker1`

In my systemd log each boot I can see a lot of warnings and errors from org.freedesktop.Tracker1. I use gnome and this is the ouput of: journalctl -b -t org.freedesktop.Tracker1 ...
0
votes
0answers
7 views

Create aMule daemon systemd .service file

I recently moved to Raspbian Jessie on my RPi and now I'd like to move all my services from init.d to systemd. aMule daemon it is now working with init.d but I want to move the script to a ...
0
votes
0answers
32 views

systemd-timesyncd on Debian 8 (fails silently?)

I'm having troubles on a Debian 8 installation to get systemd to synchronise time properly. NTP has been enabled with timedatectl set-ntp true and systemctl status systemd-timesyncd reports: ● ...
4
votes
0answers
14 views

journalctl process eating up memory

I have a process run by root journalctl -b --system showing up on htop that is eating a ton of CPU. I understand journalctl is for querying the journal, so is it safe to kill the job without impact on ...
0
votes
0answers
11 views

Suspend isn't working anymore after upgrade to xubuntu 15.10

Suspend doesn't halt my old computer (DELL Precision T7400) since I updated to xubuntu 15.10. I have a black screen after suspending but the computer is still working (fan, led, ...) I suspect ...
2
votes
0answers
47 views

Running a service before log in

I don't like opening a question here for such a, seemingly, simple issue; but I've been stuck on this for a while now and I have no idea what to do next. I'm running a Fedora 22 system on a ...
1
vote
1answer
37 views

Run service once a week, not also at boot

I have to run a systemd service only once a week and not also at system boot. These are the .service and .timer files: .service: [Unit] Description=kodi backup [Service] Type=simple ...
1
vote
1answer
100 views

Dependency failed for mount after dist-upgrade

Last weekend, I ran an apt-get dist-upgrade on a home Debian 8.3 system, and was surprised to see that it entered emergency mode on the next boot. The server in question runs LVM on top of a mdadm ...
1
vote
1answer
33 views

How is /dev/null created on archlinux

Just wondering how is /dev/null created on my archlinux box. I investigated udev rules under /usr/lib/udev/rules.d, but there are no rules relating to to name null. > ag null ...
1
vote
0answers
19 views

systemd dynamic (runtime) dependencies

In our embedded device we have a main app and several services. Both main app and services are managed by systemd. The main app has a plugin system, its plugins may be enabled or disabled at ...
3
votes
0answers
29 views

How can I have a filesystem mounted during user login?

I would like a file based filesystem (~/Archives/inventory.locker) mounted upon user login and unmounted upon logout (~/Documents/Inventory). pam_mount seems to provide the functionality I am after, ...
0
votes
1answer
32 views

systemd: how to enable a service automatically from the first boot?

I am using systemd to handle some tasks and I have a service file which works fine once enabled with systemctl. Now, I would like to enable it automatically from the first boot. I know that putting ...
1
vote
1answer
22 views

Cryptsetup: LVM is missing (on a system without LVM)

So, I have a problem with the partitions setup of my laptop. I will try to include as many details as possible in order to make it easier to help. In the past, I had an ubuntu 15.10 system on my ...
1
vote
0answers
39 views

Linux: Why do init and systemd use so much I/O?

This is probably unanswerable. But maybe someone else will have this problem and find this question, append to it, or proffer an answer. I discovered the pidstat command with its -d option, today. ...
0
votes
1answer
25 views

How do I see the iptables logs in systemd

I have a system with Debian Jessie. It comes with systemd. I want to see the kernel logs for iptables. I have a bunch of iptables and at the end I want to log what doesn't get allowed. I do it like ...
0
votes
1answer
18 views

What service executes that sets up the real time clock

I'm looking for the service that runs that sets up the correct time on my system. Does anyone know what service does this?
0
votes
2answers
39 views

Systemd wait for network interface to be up before running service

I have a couple questions about systemd. I'm having issues consistently getting my script to run once the network interface is up. I have tried Requires and After as seen below but is inconsistent ...
0
votes
3answers
23 views

How can I tell if service and systemctl are the same command?

I'm trying to run Nginx using Systemd as a process manager. When I run sudo service nginx start and then type ps -aux | grep nginx it appears to be the same process running as when I started it using ...
0
votes
1answer
16 views

After upgrade to Jessie, service control doesn't return result

Actually not debian, but Raspbian Wheezy to Raspbian Jessie. I upgrade it using some commands which found on Raspbian official forum. cat /etc/debian_version = 8.0. The problem is, I can't view any ...
0
votes
0answers
17 views

Systemd user and permissions

I'm trying to deploy an NodeJS app using systemd, the matter is that I've copied my code into /root/dataServer as root. And then I added this service: [Service] ExecStart=/usr/bin/node ...
2
votes
1answer
63 views

docker compose create containers without starting them

My docker containers are build with docker-compose and I automatically start them container on my CentOS 7 system using derivatives from the documentation example:: [Unit] Description=condb container ...
0
votes
0answers
18 views

systemctl script not able to read and write

I have a script running at start up using systemctl. Shown below. The script that runs just reads and writes data from a txt file. [Unit] Description= Start sample script After=local-fs.target ...
0
votes
0answers
31 views

Autostart TeamSpeak via systemd under Ubuntu

I have a systemd service script to let me start and stop TeamSpeak. It works fine if I manually start and stop it, but it won't autostart TeamSpeak on server reboot. Here's the file: [Unit] ...
1
vote
0answers
16 views

Log on standard output

I'm using Debian Jessie and I'm having big init.d script which starts or stops variety of daemons (more than 10), which list is taken from configuration file. Using systemctl restart parstart.service ...
1
vote
1answer
17 views

whats the best way to remove pid files before starting a service

I have a service that does not always remove its pid files when shutting down. So when it goes to start up again it fails. My system is a RHEL 7.2 system and what I want to do is have the system look ...
0
votes
0answers
10 views

wpa_supplicant -u doesn't work, wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf works

Arch linux, up-to-dayte system, Dell Precision M6300 laptop. Short question: Why does wpa_supplicant -u (as run by systemd) not let built-in and USB wireless interfaces work, but wpa_supplicant -c ...
0
votes
1answer
33 views

How to install/enable `syslog.target`?

The output I get when I run systemctl list-units --type=target --all includes the line ● syslog.target not-found inactive dead syslog.target How do I install/enable whatever it is ...
3
votes
0answers
30 views

What is wrong with my systemd unit file?

Here is my unit file: [Unit] Description=Backend Service After=mariadb.service Requires=mariadb.service [Service] Type=simple ExecStart=/var/www/html/pythonscripts/Backend.py [Install] Alias=BEd ...
0
votes
0answers
29 views

Syslog stopped logging after using journalctl

Today I was configuring some things in my VPS running CentOS 7, and checked /var/log/secure several times without noticing any problems.Later I used journalctl to look for some cron logs, and now it ...
0
votes
1answer
22 views

Running a script on power off needing wireless network

I am trying to run a script that rsyncs a directory from one linux box to another on shutdown. I thought I had it working but all my tests were on a box connected via a wired connection. When I tried ...
2
votes
0answers
59 views

Fedora 22 loop on boot

After using F22 for some time (3-4 months) I encountered a problem. THE PROBLEM After choosing Fedora in grub there appears to be a loop (i do not know in what- systemd? gdm?): [ OK ] Created ...
1
vote
1answer
24 views

How to create a .deb that deals with different init systems

I'm learning how to create a .deb file using jdeb in order to deliver a maven based java headless application inside debian based distributions. It needs to be installed in such a way it auto start ...
1
vote
1answer
42 views

One systemd service depend on another

I'm trying to refactor a single systemd service/program into multiple programs and services. My single big service looked like: [Unit] Description=Runs the App loop After=network-online.target ...
1
vote
0answers
22 views

Making systemctl to shutdown process gracefully

I made a small systemctl service to manqge HLTV server (it records demos from a game and stores them on disk): [Unit] Description=HLTV server Requires=cs16.service After=cs16.service [Service] ...
1
vote
0answers
22 views

Trouble setting up systemd service on Centos 7 system

An application from a vendor was installed with a non-root user. This is supported by the vendor and all is good. So the non-root user owns all the installed application executables and files. One of ...
0
votes
0answers
15 views

Linux - Modifying (adding a command execution to) systemd-poweroff.service

I need to execute a command before the poweroff procedure starts. This command is basically a call to i2cset, and nothing more. I modified the file /lib/systemd/system/systemd-poweroff.service ...
0
votes
0answers
18 views

Why does my user's login cause systemd to use up a CPU?

Recently I asked this question and this one about systemd and a few related processes using 100% CPU just 5 minutes after every boot. I have a quadcore Intel processor, each core has two virtual ...
1
vote
0answers
35 views

SystemD uses 100% of CPU 5 minutes after my user's login

Yeah, I already asked this on AskUbuntu but it's got no up/down votes, 20 views and no comments or answers over 16 hours. It's not Ubuntu-specific, because for all intents and purposes, Ubuntu is ...
0
votes
1answer
11 views

Debian systemd boot error with macspoofing: job sockets.target/start deleted to break […]

What I did is adding macspoofing at every boot, following this guide at exactly this section: https://wiki.archlinux.org/index.php/MAC_address_spoofing#macchanger (I'm on Debian Testing) Everything ...
1
vote
1answer
26 views

Unable to re-create /tmp directory

Recently, I have found that my debian 8.2 (jessie) installation is taking forever to boot because systemd will hang for several minutes on a start job is running for create volatile files and ...
1
vote
0answers
15 views

Interaction of initrd commands and systemd services doing same thing

I have a general idea of how the boot process works, but now that I'm customizing the initrd process, I can't wrap my mind around this. If there's a systemd service that can connect to a remote ...
1
vote
0answers
27 views

how does one force the network service to use an updated interface file on system start

I've got an application that we deploy via ovf template. I have it set up so that a customer can enter the network settings into vSphere and they come through via ovfTools. All that works just fine. ...
2
votes
1answer
47 views

How to not mount a partition in fstab file on boot but rather on click on shortcut in nautilus?

I am mounting a samba share using fstab file as: //192.168.2.2/Expansion /samba/raspberry/ cifs ...
0
votes
0answers
46 views

g-io-error-quark 39 error when stopping dbus-service

When I restart a particular computer there is an error message, # init 6 Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39) I ...
0
votes
1answer
50 views

Auto-restart apache2 on crash with systemd(Ubuntu 15.10)

There is no apache2.service file on ubuntu 15.10. I want to restart apache2 if the apache2 process gets killed. For most services I can add a ... [Service] Type=simple ExecStart=/path/to/bin ...
3
votes
1answer
117 views

How to run an executable with systemd before NetworkManager shutsdown

I am trying to run an executable, right before shutdown, that needs NetworkManager running. Here is the service file that I currently have (located in /lib/systemd/system), and it works fine if I have ...
1
vote
0answers
8 views

Is there a way to automatically restart docker after updating firewall rules with iptables?

A recent update of iptables and firewall rules caused errors in our app. The culprit was finally found: the docker daemon needed to be restarted. Docker adds own NAT rules to the firewall. A way to ...
1
vote
1answer
46 views

Fedora system doesn't finish booting unless a display was connected - why?

I installed Fedora 23 Workstation on an Intel NUC. When I boot without a display connected and log in over SSH, I see some anomalies. systemd shows the boot process has not finished. The problem seems ...