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

5
votes
2answers
348 views

Why does Fedora 20 request a restart after software updates?

I have a Fedora 20 installation in a VirtualBox virtual machine. Now it notifies me of "OS Updates", that "Includes performance, stability and security improvements for all users", and I have the ...
1
vote
1answer
20 views

Show Custom Boot-Message

I would like to show a custom message during boot, or even better the program cmatrix. I boot with the "quiet" parameter so there are no startup messages, instead I would like to show a ...
2
votes
0answers
11 views

how to run a user script after systemd wakeup?

When my debian jessie desktop box wakes up from sleep (via the new shiny systemd) my mouse settings are returned to their defaults, having reset my customisation xinput set-prop 12 'Device Accel ...
2
votes
1answer
44 views

How to disable systemd's “Time has been changed” message spam in /var/log/syslog on Debian jessie?

Due to combined use of Debian jessie, that uses systemd by default, and sdwdate (that uses Slow Clock Adjuster ( gh )), my system clock is frequently changed. As a result /var/log/syslog gets ...
1
vote
1answer
25 views

controlling module loading order using a shell script or systemd(fedora) service?

Using Ubuntu 12.04 with systemd(default). I have a broadcom 4312 wireless card which needs "wl" driver and broadcom NIC which uses "b44" "ssb" modules. now, the problem is, at boot the wireless card ...
6
votes
2answers
102 views
+50

What is needed for a minimal systemd boot to launch getty on a virtual console?

For SysV init, I need /etc/inittab respawning getty entries, the /sbin/init binary, the binaries and shared libraries for the shell, login, the getty, the PAM/security/shadow stuff, and a few device ...
1
vote
0answers
19 views

systemctl to start cron-like job

In /etc/systemd/system directory I have: rsnapshot-backup.service file, with following content: [Unit] Description=rsnapshot backup automation [cron like] [Service] Nice=19 IOSchedulingClass=2 ...
5
votes
0answers
84 views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ...
1
vote
1answer
22 views

Why my systemctl v208 command doesn't support some features?

I'm presuming there's a patch somewhere where Debian decided to disable it, but I can't find it nor the changelog entry. There are several commands that aren't available, like dot, dump, list-timers ...
1
vote
0answers
23 views

How to determine a log's source process spawned from a systemd service?

I have a systemd service which starts multiple 3rd-party processes which output to standard output. Is there anyway to easily determine which logs are from specific process from the system journal? ...
3
votes
3answers
82 views

Using OpenVPN with systemd

Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running ...
2
votes
1answer
57 views

systemd timer needs to run ExecStop at shutdown/reboot

The scenario is that I have a CentOS v7.0 system that can have up to four instances of JIRA running, the instances are Production, Staging, Development and BETA. When I start the system I want all ...
0
votes
0answers
22 views

Can't access GPIOs when switching to systemd, but why?

I'm using this ARM AT91 Sam9x5ek Embedded Device, with my Linux Images made by a Buildroot. Usually my init-system is Busybox, now I changed it to systemd. Since then I can't access the GPIO anymore, ...
0
votes
2answers
78 views

Can't start mysql service

Trying to start my mysql service. /etc/init.d/mysql start returns: Job failed. See system logs and 'systemctl status' for details. Further: systemctl status mysql.service returns: ...
2
votes
1answer
42 views

systemd mount volume using device symlink

I'm trying to have systemd mount a volume by symlink. Unfortunately when I try it times out waiting for the systemd device to show up. # systemctl start mnt-ephemeral0.mount A dependency job for ...
2
votes
0answers
20 views

Systemd user unit that depends on system unit (sleep.target)

I was reading doc and it is still unclear for me, whether the following is possible to accomplish: service defined in ~/.config/systemd/user/task.service that depends on system sleep.target ...
1
vote
0answers
94 views

Inherit environment variables in systemd Docker container

I have a Docker container running systemd. I want to pass environment variables to applications under it. When I start systemd from within Docker (/sbin/init as command line), Docker exposes ...
1
vote
0answers
28 views

systemd start unit after another unit goes inactive

Is there any way to delay a unit from starting up once another unit goes inactive? I have a startup process (oneshot.service) that runs as a one-shot and sets up the environment for all other ...
8
votes
1answer
177 views

What makes systemd-nspawn still “unsuitable for secure container setups”?

This is stated in the man page for systemd-nspawn Note that even though these security precautions are taken systemd-nspawn is not suitable for secure container setups. Many of the security ...
0
votes
0answers
50 views

Issue with network interfaces in Fedora 20

I am using Fedora 20 with NetworkManager disabled and the network service enabled. I am creating virbr0 with eth0 binded to it and using dhcp. I have disabled current network interface naming ...
1
vote
0answers
29 views

clamd randomly stops

I am using clamav in conjuction with c-icap to filter content with squid. I am also using the safebrowsing functionality of clamav to block access to bad domains. For some reason or another, clamav ...
2
votes
0answers
23 views

monitor running services and ports

What is the best way to monitor running services and ports on a system with systemd? My intent is to alert me, when a service stops running or if a new service is listening on a new port (possibly a ...
7
votes
1answer
118 views

How to enable “Predictable Network Interface Names”?

I decided to check out what name my ethernet device will end up with, but contrary to other distros, Debian doesn't seem to have activated this change (or is holding it back?), * Keep the old ...
5
votes
1answer
50 views

How do I start service in systemd right after cryptsetup?

I have an ArchLinux installation with systemd. I am trying to run a hook immediately after my encrypted data device is mounted in order to put flashcache on top of it. I have scripts that work, ...
1
vote
2answers
340 views

disable init.d script in systemd

I changed the init system from sysvinit to systemd on a raspbian installation. The install boots fine, but now starts lightdm on boot. I don't want it to do that. I noticed lightdm.service is started ...
4
votes
2answers
433 views

ERROR: Root device mounted successfully, but /sbin/init does not exist

I've installed Linux Mint and Manjaro Linux on my computer. I installed only the Linux mint on the MBR. For Manjaro, I created a /boot/efi partition, but I have not checked to install to MBR. So, I ...
0
votes
0answers
26 views

Modifying networking and daemons using systemd

I'm trying to follow this guide however, it appears rc.conf is discontinued and systemd has taken over. How can I modify the networking and daemons shown in step one using systemd? Any help is ...
2
votes
1answer
366 views

How to clear journalctl

I couldn't find in google any safe way to clear systemd journal. Do anyone know any safe and reliable way to do so? Added: As a reason, let's say I was experimenting with something and my logs got ...
2
votes
1answer
91 views

How can I prevent systemd from freezing my system when Flash dies?

Since a recent update, when I quit a web page containing a Flash animation in Firefox, the plugin-container process becomes a zombie, and then the systemd-journald process (also maybe something like ...
2
votes
2answers
345 views

Arch Linux run script a minute after boot

I have set up a bridge between eth0 and wlan0 with netctl. It works fine if I tell it to configure eth0 and wlan0 at startup and then for me to manually start the bridge after it boots. If I tell the ...
2
votes
0answers
24 views

CGroup Processes Not Terminated even when main process has been killed through Systemctl stop command

I am running systemctl stop process command for some process. Please find the output for systemctl status process below: Loaded: loaded Active: deactivating (stop-sigterm) CGroup: ...
0
votes
0answers
70 views

Systemd: Timeout a service

Is there a way to have systemd stop a service after it has been running for X amount of seconds? I looked at just wrapping ExecStart with timeout, however I believe it might not work if my service is ...
3
votes
1answer
50 views

SIGKILLing after a grace period

I've seen a lot of process managers that try to do this. It was my understanding that you should only use SIGTERM to kill a process. The process could take an unknown amount of time to clean up after ...
3
votes
1answer
208 views

Why is my Systemd unit loaded, but inactive (dead)?

I'm trying to set up Graphite on my server. I can start the Carbon Cache daemon no problem with sudo /opt/graphite/bin/carbon-cache.py start, but I'm struggling to run it as a Systemd unit. Here's ...
0
votes
0answers
44 views

Why is there no graphical.target listed by “systemctl list-units --type=target”?

According to Fedora documentation, graphical.target is the default. And, # systemctl list-units --type=target will list all available targets. However, the command above outputs as follows without ...
0
votes
0answers
50 views

Changing systemd dependencies during boot

I am looking for a way to instruct systemd to recalculate service dependencies while the system is booting. Specifically, I need one service to be able to enable another service, and have the second ...
4
votes
1answer
99 views

How to get access to the root journal for systemd?

When I execute journalctl -f -a under Fedora 20 for different users I get different results. For root I get something similar to tail -f /var/log/syslog on older systems. As normal user I get ...
2
votes
1answer
27 views

Failed to open netctl@.service configuration file

I have installed Network Manager, I don't have netctl installed. Whenever I boot my Linux computer I get the following error message: systemd[1]: Failed to open configuration file ...
2
votes
1answer
117 views

Remove the newline before `/etc/issue` in tty

I want to remove the default newline inserted before the content of /etc/issue on login prompt in tty. I'm using agetty and systemd. I tried to add the --nonewline option to my getty@tty5.service : ...
1
vote
1answer
73 views

Systemd fails to start after removal of encrypted swap partition on Fedora 20

In order to resize my boot partition I had to recreate my swap partition. After this systemd does not seem to be able to start. I am new to Fedora/systemd and don't quite understand where I could ...
1
vote
1answer
61 views

Sysctl parameter change after every reboot

I have found that the value of net.netfilter.nf_conntrack_count variable change every time i reboot the system. Did any one have an explanation for that?
3
votes
0answers
55 views

Wildcard automounts with systemd

I’m running jessie/sid with systemd 208 and try to convert the following wildcard autofs configuration to either an /etc/fstab or .mount/.automount definition. $ cat /etc/auto.master /home/* ...
1
vote
0answers
115 views

Modifier keys cannot be mapped to regular keys on USB keyboard with udev

Using an hwdb file, /etc/udev/hwdb.d/99-keyboard.hwdb, I can remap the left Alt key on my USB keyboard as the Ctrl key: keyboard:usb:v*p* KEYBOARD_KEY_700e2=leftctrl This also works when I try to ...
1
vote
1answer
165 views

Changing systemd HandleLidSwitch setting during run-time?

The setting HandleLidSwitch is defined in /etc/systemd/logind.conf as follows: HandleLidSwitch=<hibernate,ignore,...> The setting is applied successfully on boot. However, I would like to ...
0
votes
1answer
73 views

Get a faster response for a ping

I noticed that the answer to my ping is slower in one debian machine that another. For the first one when i ping to 8.8.8.8: 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=29.6 ms For the second ...
1
vote
0answers
167 views

Boot time discrepancy using systemd on Debian 7.4

I recently installed systemd on my Debian 7.4 system. The time from pressing the power button to usable desktop is around 42-44 seconds. The BIOS takes 6-7 seconds to load and transfer control to ...
0
votes
1answer
63 views

Change network values from sysctl.conf

Can I change the value of those parameters (spoofprotect, syncookies, dynaddr_hack, notimestamps, nobroadcasticmpecho, ip_forward) from sysctl.conf file in systemd?
1
vote
1answer
61 views

Change sysctl parameters for all interfaces

How can i change a parameter for all interfaces in systemd ? For example: sysctl -w "net.ipv4.conf.eth0.rp_filter=0" sysctl -w "net.ipv4.conf.eth1.rp_filter=0" How can change it for all ...
1
vote
1answer
298 views

systemd timer every 15 minutes

I'm trying to make a systemd timer that runs every 15 minutes. Right now I have: [Unit] Description=15min timer [Timer] OnBootSec=0min OnCalendar=*:*:0,15,30,45 Unit=timer-fifteen.target ...
4
votes
0answers
106 views

Execute code on shutdown on Fedora 19

I need to catch any OS shut down and execute some actions before letting the OS be shutted down. I'm using Fedora 19 and C++. I'm able to catch a shutdown signal given by the console with the ...