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

2
votes
1answer
22 views

Completely remove remains of sysvinit

As opposed to people who want to get rid of systemd, I want to completely and safely remove sysvinit. I've been using Debian since Debian 7.0 (Wheezy). Currently I'm using Debian 9.0 (Stretch). ...
0
votes
1answer
17 views

systemd in Raspbian for NZBGet

Having shifted to systemd I am having to run software such as NZBGet, Sonarr and from /etc/systemd/system folder. I have managed to get all but NZBGet running here is the file: [Unit] ...
-2
votes
0answers
22 views

systemd systemctl service on Debian [on hold]

● nzbget.service - NZBGet Loaded: loaded (/etc/systemd/system/nzbget.service; enabled) Active: inactive (dead) since Sat 2015-07-04 16:34:56 BST; 1h 5min ago Process: 774 ExecStop=/opt/nzbget/nzbget ...
0
votes
1answer
24 views

Why can't I properly locate Debian 8.1 on my BeagleBone Black?

I was using the BBB (BeagleBone Black) for a while now but with Arch Linux. Now that Debian also supports systemd I decided to give it a try. So I followed this guide and used the eMMC flasher image ...
2
votes
1answer
29 views

Why to choose (sd-pam) as a process name?

On my machine (Debian testing), when I do ps aux | grep pam I obtain orto 609 0.0 0.0 58532 2148 ? S 08:06 0:00 (sd-pam) orto 5533 0.0 0.0 12724 1948 pts/1 ...
3
votes
0answers
38 views

Restarting systemd service on dependency failure

What's the right approach to handle restarting a service in case one of its dependencies fails on startup (but succeeds after retry). Here's a contrived example to make the problem clearer. ...
0
votes
0answers
14 views

Debian 8 sytemd “found device” multiple times

I currently run a Debian 8 system (upgraded from Debian 7) with a software raid 1. Once in a while systemd reloads 3 times in a relatively short period and logs it into syslog. If it reloaded only ...
0
votes
0answers
14 views

Fedora 21 Samba Share Troubleshooting

I've recently upgraded my server's OS from CentOS 6 to Fedora 21. I understand there have been a bunch of new changes regarding the SystemV vs SystemD updates but I cannot get my Samba share to work ...
1
vote
1answer
18 views

nfs-kernel-server starts too early

I have an RPI-based NFS server with an external USB hard disk. After a recent upgrade to Raspbian 8.0 and systemd I noticed that now nfs-kernel-server seems to be starting before all file systems on ...
1
vote
1answer
62 views

Debian 8 Jessie with OpenVPN client

I have a Debian 8 Jessie server that I need to connect to my home network and I'm using an OpenVPN server on a pfSense 2.2 box at home. I have done this fine under older Debian versions, so I'm ...
2
votes
1answer
28 views

How to stop all units belonging to the same target?

I'm wondering how to stop all units that are grouped together by the same target. My setup is as follows. I have several unit config files that read: [Unit] ... [Service] ... [Install] ...
2
votes
1answer
48 views

systemd custom status message?

I'm trying to write a systemd service which should expose the options start|stop|status|restart. This is the current script: [Unit] Description=Daemon to start ark server After=network.target ...
0
votes
1answer
20 views

effect of reboot signal on systemd service state

I am working with systemd services at the moment. What is the sequence of state changes that all of the services undertake when, for example, init 6 or reboot or init 0 are executed? Here is the ...
1
vote
0answers
11 views

Why does a broken mount point break netfilter-persistent using systemd?

I have a relatively clean Debian Jessie install. I'm running into two related problems: 1) I have a cifs mount that shows me an error on boot. The error says to run systemctl status ...
2
votes
2answers
66 views

Run top instead of getty

Here's a simple question. I'm not sure the answer is very simple, but anyway. By default, systemd auto-launches getty on each VT except VT7. What I would like is for systemd to launch top on VT6 ...
2
votes
1answer
27 views

How to get kernel messages on serial console on a systemd system?

I'm trying to set up an A20-OLinuXino-LIME2 as a headless fileserver with a Debian 8 image from Igor Pečovnik's builds. I would like the system to output its kernel messages to the serial console ...
1
vote
1answer
22 views

How to write a systemd service unit file so it waits until a specific interface is up before starting?

I am trying to write a unit file for hostapd on Debian. The hostapd daemon seems to need the interface for the associated Wifi interface to be up before it is run or else it SEGV's. I've tried ...
0
votes
1answer
23 views

Wrong timestamp in systemd log

I read systemd log of my home server using journalctl and I've noticed that the timestamp of log is totally out of order. Here's some logs from my server using journalctl -o=short-iso ...
1
vote
0answers
17 views

systemd MAILTO-replacement failing

I'm trying to setup systemd to notify me via email if a unit fails, like Cron can be set up to do. I followed the guide on the Arch Linux wiki. So I set-up a sendmail shell script in ...
1
vote
2answers
108 views

How to set up a runlevel 3 in Debian 8?

I have installed Debian 8, but I neeed to use just multi-user text mode, runlevel 3, instead of appear my Gnome 3. But I saw that doesn't exist /etc/inittab. And now?
1
vote
2answers
20 views

Systemd will not start xenstored, xenconsoled, and xendomains

I am running a Gentoo installation and recently moved to systemd and whenever I boot with Xen, I cannot issue any xl commands, getting this error: xc: error: Could not obtain handle on privileged ...
1
vote
1answer
15 views

Two networking interfaces trying to get an IP via DHCP

When using: /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "<myssid>" wpa-psk ...
0
votes
1answer
29 views

Boot blocked during 1min30sec because /etc/network/interfaces

With the following config (see config file below): if only ethernet cable is connected, it 100% works: I can quickly SSH the computer via eth0's IP, if both ethernet cable and wifi dongle are ...
3
votes
0answers
28 views

Debian systemd network-online.target not working?

So, I'm trying to make systemd service on Debian Jessie. I need it to start after network-online.target is reached. The problem is network-online.target fires in the same time as network.target and ...
1
vote
1answer
31 views

What are the default Polkit privileges on Arch Linux for shutdown, halt, etc., and why are they so?

On Arch Linux, with systemd, the following commands are all symlinks to systemctl: /usr/bin/telinit /usr/bin/poweroff /usr/bin/runlevel /usr/bin/reboot /usr/bin/halt /usr/bin/shutdown I find their ...
2
votes
0answers
51 views

How do I tell systemd-logind that the session is not idle, without using a desktop environment or session manager?

I want to use logind for power management. After 30 minutes of inactivity, I would like the computer to suspend. Problem is, right now, it suspends after 30 minutes, even when I am active with mouse ...
0
votes
1answer
52 views

systemd Failed at step EXEC spawning /opt/autologger/placeholder.sh: Permission denied

This is a really simple question, I know, but I am jumping right into systemd with little prior knowledge of system management and Linux in general. I am attempting to create a "Hello World" service, ...
1
vote
0answers
61 views

CentOS 7 systemd service file (run python script) working, but logging errors?

I have an application written in python which I've used many times with CentOS 6, and am now setting it up on CentOS 7. I've created a systemd service file that contains the following: # # Systemd ...
2
votes
1answer
45 views

How can I prevent a module from flooding my kernel log with useless output?

I'm using the atmel_mxt_ts module, and it floods my kernel log with useless status messages, about 10 per second. I'm worried this will make my journal massive and cause unnecessary writes to my SSD. ...
2
votes
0answers
30 views

Why is systemd unmounting my fuse file systems right after I mount them?

I am trying to troubleshoot an issue with a fuse library, where my fuse file system is mysteriously unmounted shortly after mounting it. After screwing around with a bespoke unmount executable that ...
0
votes
1answer
41 views

What traditional Linux facilities/configurations have been incorporated by systemd?

As I work more with latest distro versions (Debian Jessie or CentOS 7), everyday I find 1 thing that was previously configured in some way, and now is managed by systemd. i.e. swap partition mount no ...
0
votes
1answer
52 views

what is the difference between cron and systemd ?

what is the difference between cron and systemd ? Why we can't use use only one of this two?
1
vote
3answers
106 views

systemd: permission issue with mkdir & ExecStartPre

I've got a problem with this (shortened) systemd service file: [Unit] Description=control FOO daemon After=syslog.target network.target [Service] Type=forking User=FOOd Group=FOO ...
1
vote
1answer
42 views

Running a systemd service once a day (on a CoreOS cluster)

I currently have a CoreOS cluster on AWS. The cluster runs multiples containers, mainly for Rails applications. However, one of this container is a pure Ruby app processing a lot of data from specific ...
2
votes
0answers
18 views

What is the systemd equvalent to sysvinit 'X-Start-Before'?

Quoted from https://wiki.debian.org/LSBInitScripts. X-Start-Before: boot_facility_1 [boot_facility_2...] X-Stop-After: boot_facility_1 [boot_facility_2...] provide reverse dependencies, ...
0
votes
1answer
35 views

systemd daemon & python getting the wrong time

I made a daemon that it is started by systemd, and inside my daemon I have a python function to get the time. The problem is that the time is wrong, I have 8 hours of difference. This is my service ...
2
votes
0answers
17 views

Systemd resume script is executed only occasionally

I currently use Awesome WM without any desktop environment. This means that I have to get my keyboard and mouse settings there manually. I therefore wrote a shell script which makes a few calls to ...
1
vote
1answer
61 views

SysV init scripts to systemd migration in RHEL7

Please find the Sys V Init scripts for (User processes)Agent and Security daemon in Linux. Agent Daemon startup script /etc/rc.d/init.d/Agentdaemon /etc/rc.d/rc5.d/S91Agentdaemon Security Daemon ...
1
vote
0answers
41 views

keyring best practices with systemd

There plenty of tools working with keyrings: ssh-agent, gpg-agent, gnome-keyring, kwallet, wrappers like keychain, keyctl talking to GNU/Linux kernel. There are various recommendation on how/when to ...
0
votes
0answers
50 views

Using Cgroups with Systemd to restrict bash cpu & memory

I want to restrict every user on my Centos 7 server who is logged in via SSH. They should not be able to use, for example, a forkbomb and kill the whole system. The superuser will have no restriction. ...
2
votes
1answer
36 views

Is it possible to manually execute a single systemd timer-paired service unit for testing purposes?

I have a timer/service unit-set that should run once a day under --user conditions. It shows up with systemctl --user status and gets logged in journal but there is a part of the command that fails. ...
1
vote
1answer
65 views

Force a service to start before networking.service

I would like to start my service samplerbox.service [Unit] Description=Starts SamplerBox [Service] Type=simple ExecStart=/root/SamplerBox/samplerbox.sh # this script does: python ...
3
votes
1answer
51 views

How to make a Systemd service run forever (“Bootup is not yet finished. Please try again later.”)

I have created a systemd service that has to run forever (because it does the main job on my embedded computer): # /etc/systemd/system/samplerbox.service ######################################## ...
-3
votes
1answer
42 views

what is difference between /usr/lib and /etc/systemd?

Before all the unit files were in /etc/systemd/system/ but now some are showing up in /usr/lib/system, what is the difference between these folders?
0
votes
0answers
66 views

fail to start graphical.target on centos7

could not start graphical target after installing kde from minimal centos. startx works fine though. the system has two vcpus and 1GB ram. $ cat /etc/redhat-release CentOS Linux release 7.1.1503 ...
1
vote
1answer
49 views

Configure ordering of systemd services

I have two services that are normally not related to each other: JBoss and WebSphereMQ. Now because an application deployed on JBoss requires WebSphereMQ, I would like to configure JBoss to start ...
0
votes
1answer
72 views

How to start 2FA-using OpenVPN with systemd?

I have openvpn config that users 2 factor authentication. If I start it manually, by running: /usr/sbin/openvpn --writepid /run/whatever --cd /etc/openvpn/ --config /etc/openvpn/work.conf it asks ...
3
votes
0answers
48 views

Make systemd reload only single openvpn process and not the whole group

I'm running several openvpn instances on my server with debian stable; as well some clients as a server instance. Right now, when one of these instances fails, systemd seems to kill and restart the ...
0
votes
1answer
43 views

systemd kill my processes before ExecStop completed

I'm trying to update my application to use it with systemd. When I have used Upstart, I've just create a /etc/init.d/myService script: #!/bin/bash #chkconfig: 2345 90 10 #description: myDescription ...
2
votes
3answers
66 views

Only allow process to run between hours x and y

I use a mobile data connection service. I only have unrestricted bandwidth between 9am and 4pm. I wonder how I can "silence" applications such as the Dropbox applet outside that schedule. I thought ...