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
48 views

Boot into rescue mode in systemd

After I installed KDE Plasma, I used systemctl enable sddm-session, and after reboot I found a black screen and I can't do anything. Is there any way to boot into the command line? I can't disable ...
3
votes
1answer
58 views

SystemD not running an ExecStartPre until I reload and restart the service

I am overriding the Docker SystemD start-up script to extend it with an environment file. I have defined my configuration file at /etc/systemdb/system/docker.service.d/docker.conf like so: test -d ...
1
vote
1answer
73 views

How do I clear journalctl entries for a specific unit only?

I spent a few days writing a python script, and creating a systemd unit file for it. During testing, the script logged a lot of errors to journald. I would like to clear those errors from journald now ...
0
votes
1answer
32 views

/etc/issue file does not get reflect without login logout

I changed my /etc/issue file to display IP and system info with background color, and built a system which run on CentOS 7, but problem is when i deploy my machine on ESX it display regular /etc/issue ...
0
votes
1answer
63 views

Running systemctl vs systemctl status

I know systemctl by itself is supposed to give me all the running services and using systemctl status (with application name, ie foobar) gives me more details on that service. However I noticed I can ...
1
vote
1answer
28 views

Systemd: Run a job at startup _successfully_ to completion

I've read the systemd service manpage a few times, but I still cannot figure out a basic systemd pattern: I want to run a startup process once (like a docker container, or format a drive) at bootup, ...
2
votes
0answers
33 views

How would I limit users' sudo permissions for journalctl to a specific unit?

I want to provide our users access to journalctl of a specific unit. For e.g., httpd. My initial thought was to specify the command spec like this: /usr/bin/journalctl -u httpd.service * This will ...
3
votes
0answers
35 views

How do I run a systemd oneshot service whenever my system gets a new IPv6 address?

I would like to run a systemd oneshot service whenever my system gets a new IPv6 address assigned to it from the network router (this would be on boot, and periodically throughout its uptime). ...
0
votes
0answers
23 views

Upgrade package Ubuntu 15.10

I would like to upgrade systemd to it's most recent version 229( currently I have 225) but when I try to do it via command line I get systemd is already the newest version. I suspect 225 is the ...
1
vote
0answers
57 views

Enabling 'linked' unit files in Systemd

I am still getting to grips with systemd and have run into something. It's not so much a problem, but I would like to learn more about the way this is. I could not find any reference to this ...
1
vote
1answer
100 views

How do I start Unicorn using systemd/systemctl?

I've wrote a systemd file for systemctl to start unicorn: [Unit] Description=Unicorn server [Service] SyslogIdentifier=my-app-unicorn User=deployer PIDFile=/tmp/unicorn.my-app.pid ...
0
votes
0answers
251 views

Cannot start snmpd correctly

I trying to setup snmp in an ubuntu-server 15.10 to perform some tests. I have installed snmp as: sudo apt-get install snmp snmpd snmp-mibs-downloader After the installation I commented the ...
1
vote
1answer
75 views

Ubuntu 15.10 - Unable to disable daemon using Systemd

I've tried disabling MPD (Music Player Daemon) using Systemd: sudo systemctl disable mpd sudo systemctl status mpd mpd.service - Music Player Daemon Loaded: loaded (/lib/systemd/system/mpd.service; ...
0
votes
0answers
12 views

journald 'forgets' correct unit name for shell-based units?

With a unit file like this one here, and an (exectuable, with shebang) shell script as named: [Service] Type=oneshot ExecStart=/some/shell/script.sh I get journal output like this: Mar 10 17:11:27 ...
0
votes
1answer
78 views

Timeouts with authd on CentOS 7

I am currently trying to augment my mailsystem by allowing servers that received mails from me within the last ten seconds to perform ident lookups. While the needed iptables rules are working ...
1
vote
0answers
32 views

How to encrypt a live root fs remotely and unlock it via ssh

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
1
vote
1answer
24 views

Where to put socket so PrivateTmp can be true

I have a C++ program which must communicate with other services (including httpd), and does so via a socket in /tmp With the advent of systemd and the PrivateTmp=true setting, processes like httpd ...
3
votes
1answer
101 views

Debian-Jessie: How do you check iptables status?

In old sysvinit I would just do service iptables status and see if it was running or not. But in newer Debian-Jessie I grep for iptables in the list of services and don't see iptables listed ...
0
votes
1answer
56 views

Simple manager for systemd

Is there a manager that would run in the console, similar to sysv-rc-conf, that works with the latest systemd under Linux? Ideally it would be able to operate on all runlevels, and be ncurses based. ...
0
votes
0answers
33 views

autofs asks password for passwordless samba share on Centos 7

I have a samba share that does not require password. Here are non-default lines in my smb.conf: [global] map to guest = Bad User [distr-ro] path = /home/distr public = yes ...
2
votes
0answers
31 views

systemd: Restart units stopped by Conflicts option

I have two services A and B which run continuously, for them I use systemd service units. At specific times service C should be run, I can do this using a timer and a service with the same name. C ...
1
vote
1answer
72 views

Why does systemd prints “Looping too fast” and what to do?

I'm running a server (VPS) with Debian 8.3 (jessie) and systemd manages different processes. The load of the system is below 1, but it uses nearly all memory and some share of swap space. When I try ...
0
votes
0answers
76 views

systemd vs xinetd

I have a CentOS 7 system which uses systemd, and I want to start a tftp server. I'm confused about the right way to do this. I've seen some posts that say install xinetd and launch it from there ...
0
votes
0answers
48 views

Does the following error indicate my system is compromised?

[FAILED] Failed to Verify Integrity of password and group files. See 'systemctl status shadow.service' for details. I get this message in T1 every time I start up the computer but I havn't noticed ...
0
votes
1answer
66 views

help understand /var/run/systemd/sessions/2 file / or hacked?

I have a ubuntu box and found this "2" file in /var/run/systemd/sessions. First thought was that I have been hacked because I don't recognize this IP address and have not explicitly configured this ...
3
votes
0answers
36 views

Workaround for mount -bind behavior change between wheezy and jessie?

I recently upgraded a system from wheezy to jessie that makes use of bind mounts. But with the update the behavior of the bind mount has changed, and now acts as bind one filesystem will recursively ...
1
vote
0answers
17 views

Service doesn't start on boot [duplicate]

I created following service in /etc/systemd/system/conkyAutostart.service [unit] Description=Conky Autostart [Service] Type=simple ExecStart=/AutostartScripts/conkyAutostart.sh [Install] ...
2
votes
2answers
77 views

Start/stop a systemd.service at specific times

I want to start and stop a systemd.service at specific times. Presumably I will use a .timer unit to start the job, but is there a built in way to stop the job after a specific duration, or at a ...
1
vote
0answers
45 views

FUSE hangs trying to mount network filesystem on login

I am using Fedora 23 and I have autofs set to automount some s3fs FUSE filesystems when directories under /mnt/s3 are accessed. Since I set this up, I always experience an additional delay upon ...
1
vote
2answers
124 views

Custom service (systemd) won't run on startup

I'm creating a non-interactive kiosk in Raspbian. I gutted everything I didn't want - desktop managers, various graphical services etc - the script starts X, an absolutely minimal desktop manager and ...
1
vote
1answer
25 views

How to configure options for a systemd unit file?

The systemd blog contains two articles that advice against using /etc/sysconfig or /etc/default: http://0pointer.de/blog/projects/on-etc-sysinit.html ...
1
vote
2answers
37 views

Custom systemd process on debian slow to start up

I'm setting up rtpproxy on a debian 8.3 server through the default package available in the repos. The package comes with the sysvinit script still, and I want to use a keepalive so I'm trying to set ...
0
votes
1answer
50 views

Do I need set ulimit for system services, such as nginx.service(systemd)/nginx(sysv)?

I know, when we run application in shell for a large website, we'd better set ulimit for our shell, But most of the service is started by systemd/sysv. Do I need set the ulimit in the service ...
1
vote
1answer
62 views

How to start a script on tty instead of asking for login in systemd?

I need to start and print a script on tty1 instead of asking for login. In link with : How to parse /proc/cmdline before asking tty login with systemd I tried to make a service which launch a simple ...
2
votes
0answers
69 views

How to parse /proc/cmdline before asking tty login with systemd

First, I'm trying to parse /proc/cmdline with this script: #!/bin/bash for i in $(cat /proc/cmdline) do export $i done I tried to make a systemd service [Unit] Description=Parse cmdline ...
0
votes
2answers
36 views

How to use user-systemctl as root?

I want to start a user service from my root shell without logging into the users shell. I have tried the following command, but it fails: #> su - username -c "systemctl --user" Failed to connect ...
6
votes
0answers
130 views

How to pause (or capture) the messages that fly by at the end of startup sequence?

Towards the end of the "startup sequence"1, I see a longish series of diagnostic messages fly by very quickly, right before I see the login prompt2. AFAICT, most, if not all, of the lines making up ...
1
vote
0answers
34 views

Galera + systemd: wsrep_notify_cmd fails with sudo (unable to change to sudoers gid: Operation not permitted)

We have a Galera cluster operational on CentOS 7 with sysv, and are looking into migrating to systemd. We are invoking a wsrep_notify_cmd to notify our application of changes in the node states, and ...
1
vote
0answers
58 views

Systemd: Running a script before msyql stops on shutdown

On my Ubuntu 14 vagrant box I use this upstart script to run automysqlbackup on every vagrant halt: description "run automysqlbackup" start on stopping mysql task exec automysqlbackup So ...
0
votes
1answer
62 views

systemd service not starting on boot

Whenever I reboot my Debian Jessie box NZBget fails to start. It has already been enabled with sudo systemctl enable nzbget If I do: $ sudo systemctl status nzbget * nzbget.service - NZBGet Loaded: ...
4
votes
3answers
609 views

How to disable X server autostart in Debian Jessie?

I have a remote machine running Debian 8 (Jessie) with lightdm installed. I want it to start in no-GUI mode, but I don't want to remove all X-related stuff to still be able to run it though SSH with ...
1
vote
0answers
93 views

Configure power button - OpenSUSE LEAP 42.1

I use the method described in this question to configure systemd to power off the laptop when the power button is pressed. (I.e., edit /etc/systemd/logind.conf.) This worked perfectly with OpenSUSE ...
0
votes
2answers
44 views

How to set systemd as the default service manager under debian jessie?

In order to take advantage of all the features of systemd under Debian jessie I consulted many websites, but I have not found answers to my questions: How to set systemd as the default service manager ...
1
vote
1answer
116 views

Is that possible for debian users to connect to network through systemd-networkd?

Systemd offers the ability to manage the network by itself without additional tools such as netctl or NetworkManager. I am running debian 8 and i need to configure my network using systemd-networkd ...
0
votes
0answers
39 views

Systemd doesn't start a timer unit

I would like to create a timer that launch a command every 2 months (the first of the month) I already do that with a cron, but I would like to do the same with systemd and get rid of cron. I have a ...
0
votes
3answers
67 views

Force systemd to check status of service after n seconds

I have a systemd service (for heka) which causes me some headaches. The problem is that "start" returns successfully even if the heka daemon dies shortly after starting. This is happening if the ...
0
votes
0answers
270 views

Debian Jessie start rpcbind and nfs-common at boot with systemd

On my Raspbian (based on Debian Jessie), I need to start at boot rpcbind and nfs-common services because I need them to start autofs at boot for a NFS mount. Since Debian Jessie now has moved to ...
0
votes
1answer
20 views

My systemd slices aren't reporting info to systemd-cgtop

I have a centos VM running via KVM on my Debian laptop. This is what I see when I run systemd-cgtop: I know I have a user,system,and machine slice, but I'm only seeing data from the machine slice. ...
0
votes
1answer
55 views

systemd-networkd - how to force new configuration without reboot?

On my Arch box, I had a network bridge. The goal was to remove the bridge and to only use the network adapter not bridged. In order to do so, I removed all the *.netdev and *.network configuration ...
0
votes
2answers
145 views

NFS mount at boot with autofs on Raspbian Jessie

I'm trying to configure my RPi with Raspbian Jessie to use autofs to mount at boot a NFS share from my QNAP NAS. The manual mount with mount -v -t nfs server://share /mnt/share works and also the ...