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

1
vote
2answers
16 views

service vs. systemctl scripts — which to use

In Fedora we have 'systemctl' and 'service' scripts. It seems that service internally calls systemctl. So what is the correct/right way on Fedora to start or stop services -- via systemctl or service ...
1
vote
1answer
22 views

systemd keeps unmounting a removable drive

I have following line in /etc/fstab: UUID=E0FD-F7F5 /mnt/zeno vfat noauto,utf8,user,rw,uid=1000,gid=1000,fmask=0113,dmask=0002 0 0 The partition is freshly created by gnome-disks under the ...
1
vote
0answers
18 views

How does _netdev mount option in /etc/fstab work?

I'd like to know what is the exact mechanism (implementation) used to defer mounting until after network interface is up when one uses _netdev option in /etc/fstab? Does systemd alter this behavior? ...
1
vote
1answer
32 views

systemd mount only mounts on boot, fails to remount afterwards

I have created a mount, mnt-stoneshare.mount, placed in /etc/systemd/system: [Unit] Description=StoneOS Storage Mount [Mount] What=/dev/disk/by-uuid/62721034-29ee-4894-a19e-905bcbb20c7c ...
2
votes
0answers
23 views

How to implement policy conform systemd custom actions on Debian?

What do I mean by custom actions? Here are some examples. sudo service apache2 stop-htcacheclean sudo service apache2 graceful-stop sudo service apache2 start-htcacheclean sudo service apparmor ...
0
votes
1answer
11 views

How to script with systemd-cgtop?

The manpage for systemd-cgtop says that if there is no attached tty it will do one iteration and then print it out, saying that this would be useful in scripts. However when I try to do this from a ...
1
vote
2answers
52 views

Can't start systemd user instance

I'm using CentOS 7, and am trying to create a systemd service for my local user. However, before I can do that, I need my systemd user instance, which I cannot find or create to begin with. Running ...
0
votes
0answers
19 views

Limit system reboot burst

Systemd allows to automatically restart services if they have crashed. To prevent indefinite services restart it uses @StartLimitInterval@ and @StartLimitBurst@ variables. Moreover, I can reboot ...
0
votes
1answer
110 views

What is wicked taking so long during boot?

This is wicked 0.6.12 and systemd 210 on openSUSE 13.2. Networkmanager is not installed. The network interface is configured with a static IPv4 address. Plymouth is not installed because I prefer to ...
0
votes
0answers
34 views

Disabling all systemd messages from appearing on console

Is there an option to completely prevent all of systemd's messages from appearing on the console? I see these messages appearing on the console and they often come in the way of console logins and ...
1
vote
0answers
21 views

Enable core dumps for all applications started by a user with systemd

This is a follow-up to How to enable crash reports/core dumps/stack trace logging globally?: How can I achieve this on OpenSUSE 13.1 (which uses systemd) and 13.2 for all processes started from an ...
4
votes
1answer
100 views

How to disable systemd's “Time has been changed” message spam in systemd journal while using sdwdate?

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 journalctl -f gets endlessly ...
2
votes
1answer
35 views

Preserve environment variables using systemd?

Do systemd unit files support preserving existing environment variables? (Something similar to sudo -E?) Not referring to Environment= or EnvironmentFile= here. It would be be useful if systemd ...
2
votes
1answer
89 views

Mounting NFS via systemd in Centos 7

I am trying to mount an NFS share on a CentOS 7 box using systemd. This is my /etc/fstab entry: 10.0.0.104:/export /mnt nfs ...
4
votes
1answer
165 views

CentOS 7 boots too fast and network is not ready when executing cron scripts

I have just upgraded from CentOS 6.5 to 7.0 and I am not too happy as the new systemd is probably giving me problems. It seems it is just simply booting too fast, starting up processes asynchronously ...
0
votes
0answers
61 views

system won't poweroff, restarts with :“Synchronizing SCSI cache”

Running Debian testing, after a system upgrade a while back my machine started to refuse to power down. It hangs with: Synchronizing SCSI cache Waits a few seconds, and then reboots itself. It ...
2
votes
1answer
39 views

Output of a python script running as unit is out of order while shells seems unnafected

How would I get all outputs of systemd managed python2 script instantly into journal, just like it appears in terminal I'm on centos 7, but seems to be same on arch according to systemd manual, ...
4
votes
2answers
169 views

Non-graphical boot with systemd

I want to boot to console instead of a GUI using systemd. How can I do that?
-1
votes
1answer
299 views

systemd slow boot - systemd-tmpfiles-setup

Recently I upgraded to debian jessie (current testing) and after that avg boot time has increased to 3-4 minutes. Between grub and gdm start, I get this message for 2-3 minutes. A job is running for ...
1
vote
1answer
51 views

Auto-hibernate with udev rule

I'm using Debian Jessie with systemd. In the past I've used an acpid script that let's my computer hibernate when the battery is 5% or below. In an attempt to make a replacement for that I've made ...
1
vote
1answer
121 views

With systemd-networkd, perform an action upon network configuration change

I am switching from Debian’s ifupdown to systemd-networkd, and it mostly works fine. One missing bit is that upon every network change, I want to call killall -ARLM tinc, so that my VPN is going up in ...
0
votes
1answer
130 views

service command does not work in centos 7

I used to use service command for restarting, reloading, and checking status of service on centos 6.5 like below: $ sudo service nginx restart OK $ sudo service nginx status ...
2
votes
1answer
236 views

Why does my systemd unit fail to run on server reboot?

I'm having troubles getting a systemd service unit file to run correctly when the server reboots. This server is a fresh CentOS 7.0.1406 install. I'm trying to set it up with multiple Apache httpd ...
0
votes
2answers
42 views

how to get info about the user and the processes he is running in systemd?

If I wanted to know who is logged in since when and what are the processes currently running under his control, how can I do that in systemd?
0
votes
0answers
44 views

Systemd, restart service when ip address changed

I wrote a pretty simple service: [Unit] Description=Service on interface %I [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/lib/project/my_script.sh start %I [Install] ...
2
votes
2answers
138 views

What is systemd's target, service and socket?

I know that all of them are unit files, but I can't understand the special meaning of them. I think that targets are similar to daemons and sockets are the same as socket (IP + port) but also with ...
0
votes
0answers
43 views

systemd with 10 ttys and Desktop on Ctrl+Alt+F5

I am running systemd on ArchLinux. I have read various posts of doing this but it seems impossible (i.e. I am incompetent in implementing this:)) ). I want to disable the on-demand tty spawning of ...
0
votes
1answer
191 views

Graceful shutdown via power button

I want to be able to shutdown my CentOS 7 machine by pressing the power button. Since it doesn't work out of the box, I tried the following: yum -y install acpid service acpid start chkconfig acpid ...
1
vote
2answers
33 views

How can I count the time that needs systemd to boot a default target and then graph it?

When I wanted to know how long systemd actually needed to boot the default target, how would I do that ? An then, is it possible to create a graph to show which unit takes how much time to initialize ...
1
vote
2answers
144 views

In systemd what is the difference between inactive vs disabled and active vs enabled services?

I'm studying SystemD and I am little bit confused by the concept of enabled or active and disabled or inactive. Can you explain it or provide a sort of an example?
2
votes
1answer
38 views

linux systemd intercept shutdown if service is active

I've created a little update/upgrade program for my arch-based linux. Instead of using a cronjob I'm using systemd and created following files: in /etc/systemd/system: uupgrades.target & ...
2
votes
2answers
90 views

Does systemd still know about runlevels?

Does systemd still have the concept of runlevels? For example is it pointless to use telinit <number>?
2
votes
1answer
67 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
40 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
132 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
85 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
117 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" ...
0
votes
1answer
88 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
46 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
137 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
60 views
+100

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
100 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
47 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
25 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
39 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
20 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
1answer
154 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
304 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 ...
5
votes
2answers
622 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
99 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 ...