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

Systemd: locking the console

I have a laptop that runs Debian Jessie with only the Linux console - no X server installed. A recent dist-upgrade replaced sysvinit with systemd. Now I'm trying to get systemd to lock the console ...
1
vote
1answer
41 views

Does updating disabled services re-enable them?

I remember going through this list to disable some of the services that I do not need on my Fedora desktop. By going through my bash history, I can also see clearly that I have disabled rsyslog with ...
0
votes
2answers
174 views

systemd-timesyncd.service inactive on Arch on VMWare

On Arch Linux running as a guest OS on VMWare Fusion, I noticed the system time of Arch falls behind when I sleep the host OS and never gets back in sync. It appears systemd-timesyncd is loaded but ...
4
votes
1answer
102 views

Real chroot on a systemd machine

I'm trying to get used to systemd, because it seems to be the way that Debian is going. I want to run Xorg in a chroot on hardware, rather than using networking (which seems to be the canonical way ...
2
votes
1answer
139 views

Missing systemd journal log

While reviewing my journal log, I find that only logs for the recent three days are present. There is only 8 lines worth of log from between September 19 and 27: # journalctl --since="2014-09-19" ...
1
vote
1answer
124 views

What does systemctl enable netctl.service do

I have a small arm server that runs Arch. I wanted to use only dhcpcd for my ethernet connection so I disabled netctl.service and netctl-ifplugd.service. Turns out that didn't work and I have no means ...
0
votes
1answer
51 views

Powerbutton freezes applications

I've just installed Debian Jessie and I'm trying to get systemd to do basic power management. systemctl suspend and systemctl hibernate works well to suspend and hibernate the system. Now, I want ...
2
votes
1answer
177 views

How to force network to wait for DHCP with systemd-networkd?

I'm using systemd-networkd to configure my interfaces: [Match] Name=enp3s0 [Network] DHCP=v4 It works quite well except that at boot, some services are not waiting for DHCP to finish. For ...
2
votes
0answers
68 views

Why will plymouth not update?

I admit I don't update my kernel very often. I used to everytime a stable release of sys-kernel/gentoo-sources came out so I'm very adept at doing it. This last weekend I attempted to update from ...
0
votes
0answers
172 views

Runtime parameters for a systemd service

I am a little confused about how runtime parameters are normally supplied to a systemd service. The general idea I have is that the following happens: There is a file that contains the environment ...
1
vote
0answers
60 views

Why does my Before=sleep.target service run *after resuming*?

I've defined the following service to start a screen locker before suspending: $ cat /etc/systemd/system/screenlock.service [Unit] Description=Lock X session using slock Before=sleep.target ...
2
votes
0answers
28 views

Systemd Unit for reconnecting wireless on failure

I have a systemd service called conWlan0.service which establishes WiFi connection. Now I want to create another Unit which periodically checks the connection. Is this a reasonable start? [Unit] ...
2
votes
0answers
43 views

Systemd Initrd service and persistance

I need to run a simple daemon from system initrd image. According to system.initrd documentation, when sytemd is running directly from initrd all running processes will be killed on switch-root, ...
1
vote
0answers
27 views

MDADM Array Detection Slowing Down Boot - Why?

I have an AMD64 Gentoo (running systemd) build with a RAID0 root and some other arrays (RAID1 boot, RAID1 home etc..). The boot process is being slowed down quite dramatically as mdadm searches the ...
4
votes
2answers
205 views

Log files for kernel panic on Arch Linux

I have recently updated my Arch Linux machine. Since then, I have been getting kernel panics here and there. (the screen freezes and the status lights on my keyboard are blinking) It seems to happen ...
3
votes
1answer
372 views

Cannot get Systemd working on GENTOO: Where am i going wrong?

I'm having a massive amount of trouble installing gentoo with systemd; this is a fresh install and not an upgrade. Steps (after partitions etc.. are setup): Unpack AMD64 stage3 and emerge-webrsync ...
6
votes
2answers
685 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
115 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
163 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
274 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
122 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 ...
9
votes
2answers
707 views

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
137 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
1answer
594 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
32 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
44 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
4answers
2k 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
308 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
48 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
3k 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
158 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
62 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 ...
2
votes
0answers
378 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
58 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
1k 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
194 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
63 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
63 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
369 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
127 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, ...
3
votes
3answers
1k 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
2k 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
30 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 ...
5
votes
1answer
3k 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
366 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
3k 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
51 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
135 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
115 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
907 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 ...