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

NixOS no login prompt in virtual terminals

I have NixOS built using 15.09 channel, session manager is sddm, display manager is KDE 5. Switching to virtual ttys from 1 to 6 gives me no login prompt, I see same piece of log everywhere: ...
0
votes
1answer
49 views

How to start my own server as a service using systemd

I have written my own server in Qt with QtWebApp Now I want start that server on Ubuntu 15.10 startup using systemd I created this service file [Unit] Description=This service maintains a ...
1
vote
2answers
44 views

How to tell journald to re-read its configuration?

My question is simple: how do I tell journald to re-read its configuration file without rebooting? I've made some changes to /etc/systemd/journald.conf and I'd like to see if they are correct and ...
1
vote
1answer
379 views

Asus UX303UA rebooting instead of resuming from suspend (ubuntu 15.10)

I installed ubuntu 15.10 (kernel 4.2.0-22-generic) on a brand new Asus UX303UA laptop. Almost everything works fine, but I have some trouble with suspending: When the laptop is plugged in (charging), ...
0
votes
0answers
167 views

Universal Media Server not working

I'm trying to get Universal Media Server to work on a headless Debian 8 home server to stream video to my PS4 and other devices. I followed this tutorial ...
1
vote
1answer
57 views

Secure way to back up systemd logs

I have arch linux installed on a raspberry pi and want to start backing up my logs regularly to some external write-once media. It'll probably be a CD, but I'm not sure yet, and it will probably ...
2
votes
1answer
116 views

Why is a reboot necessary for HAVEGED to start?

Today, I installed havaged to my Arch Linux System (rolling release, systemd). # systemctl start haveged is supposed to start the daemon but that just wouldn't work. This is what the log had to ...
1
vote
1answer
43 views

a good way to “backup” systemd settings?

I wonder if there is a recommended way, or any good experience to show my current systemctl status in a complete way so I can back them up periodically. I understand I could simply backup the output ...
0
votes
0answers
22 views

Does the systemd unit bluetooth.service drain battery?

As in the title, I was curious about the following: does the activation of systemd units drains a significant amount of battery power? Take bluetooth.service as an example, is it a bad idea if I ...
5
votes
1answer
468 views

Why doesn't my systemd user unit start at boot?

I'm trying to create a systemd user unit and have it start when the system boots. The service does start manually, however it does not start at boot. From searching the Internet I learned that in ...
0
votes
1answer
55 views

init.d script doesn't give standard output

I'm using Debian Jessie and when I'm trying to use some script from init.d (start, stop, restart). There are functions log_failure_msg log_daemon_msg log_end_msg which should give something on ...
0
votes
0answers
28 views

Use systemd and msmtp to report system change

I would like to use systemd and msmtp to send logs about my system to my email address. I have a bash script that uses msmtp (properly configured) to send the email provided some conditions are met. ...
0
votes
1answer
29 views

systemd not playing a sound

I have a systemd unit which execute a script that is supposed to play a sound in case a certain event happens i.e. it contains a line mplayer /home/myusername/Music/audiofile.WAV This does not ...
1
vote
1answer
137 views

can one use script commands in systemd Environment field?

I've got a docker-compose file that I use to start up several containers for my service. One of these containers requires an environmental variable to be set (the public ip of the server, to be ...
2
votes
1answer
1k views

systemctl keeps timing out on service restart

I'm running CentOS 7.2; see below: # systemctl stop firewalld Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was ...
2
votes
1answer
115 views

Explanation of systemd startup

Raspbian Jessie uses systemd and most system startup processes seem to be run from .service files. There are still a lot of SysV init entries. I gather from reading various articles that Debian 8 has ...
1
vote
0answers
62 views

Unable to emerge SystemD on Hardened/SELinux

I'm on the hardened/linux/amd64/selinux profile on a recent Stage 3 of Gentoo amd64. I'm trying to install SystemD, and I see the following: > emerge -aq sys-apps/ The following mask changes are ...
1
vote
0answers
63 views

How to add a dependency to internet to a service with systemd on arch?

My openVPN connection start perfectly on boot with connman service for Internet and openVPN for my vpn connection. But, If I boot with a connection to Internet at boot and after many time I ...
1
vote
0answers
74 views

Can not suspend when lid switches off if external display is connected

My laptop has Fedora 22 with Gnome 3.16.4. Normally, it will go suspend if the lid is switched off. But with external display connected (via VGA), the gnome desktop is simply transferred to the ...
0
votes
0answers
35 views

Restart service after boot then enable networking ordering

Problem: Server application when first started upon boot has memory leak. When service is restarted, it will then run without issue. Temporary solution is to: AFTER the OS has completed booting, ...
0
votes
1answer
144 views

centos 7.1 - supervisord terminates if run with systemctl

So I have a weird problem and I've been banging my head for the entire day. I have a centos 7.1 with supervisord 3.2.0 installed. If I run the supervisor with systemctl, it runs and then it shuts down ...
0
votes
0answers
80 views

Systemd: service doesn't restart with WatchdogSec option set

I'm trying to manager qemu with systemd. If qemu crashes, it can be restart automatically. I have the following unit file: [Unit] Description=vm manager After=network.target Before=shutdown.target ...
1
vote
1answer
281 views

Can I delay a systemd script from running at boot?

I have two systemd scripts that I want to run on boot up. The first systemd script starts OpenVPN, which then executes a shell script that writes the IP of the connection to the file vpn.env. The ...
1
vote
1answer
54 views

Configure linux laptop to switch off screen but otherwise remain running when lid closed

Hi i'm trying to set up an old laptop as a 'server' for testing purposes. As such, I don't want the screen on all day, however i do want the cpu running 24x7. Can the 'lid close' switch be ...
1
vote
1answer
101 views

How to mount /usr at boot time without an initramfs?

I'm having trouble booting into my system with systemd installed. I wouldn't like to use an initramfs, so I use a self-configured kernel which starts my kernel with the following in-built command ...
1
vote
0answers
40 views

Systemd breaks usbmount

I use the usbmount package in Debian. This package is currently broken in stable and also unstable because of the issue described in usbmount: Can't mount ntfs drive (Transport endpoint is not ...
2
votes
1answer
101 views

How can I get systemd to use qingy as my default tty program instead of agetty (debian jessie)?

I'd like to use a different tty program than agetty on my debian jessie machine (specifically, qingy). The tty creation is controlled by systemd via the (auto-created as I understand) ...
4
votes
1answer
61 views

What is the proper way to unlock a root filesystem spanning two LUKS devices by only entering the password once, using systemd?

I have been having a lot of issues getting an encrypted multi-disk root filesystem to boot up reliably under systemd on Debian Jessie while only having to enter the password once. Previously I've ...
2
votes
2answers
615 views

Set systemd service to execute after fstab mount

I'm working on a systemd .service script that is supposed to start after a CIFS network location is mounted via /etc/fstab to /mnt/ on boot-up. The script waits for an OpenVPN dependency script to ...
2
votes
1answer
133 views

How can the link target of /dev/rtc be changed?

On my Beaglebone Black I added a I2C real-time-clock to not being reliant on ntpd to maintain accurate timing. The outcome is that there are two special device files in /dev. These are /dev/rtc0 and ...
3
votes
1answer
1k views

How to set a dynamic Message of the Day (motd) in Debian Jessie 8.2 for ssh?

I would like to have a dynamic motd, but I can't figure out how to do it. I tried what I found, adding /etc/update-motd.d/00-header, 10-sysinfo, 90-footer, and symlinking to /etc/motd ...
2
votes
1answer
64 views

systemd service with timer as user

I am trying to write a service with timers. But it is not being executed: example@host /etc/systemd/system/mbsync.service: [Unit] Description=Mailbox synchronisation service for user example ...
0
votes
0answers
22 views

Service cleanup before reboot

Is it possible to determine or control how much time rc6.d scripts have to stop service (e.g. perform some cleanup, complete network transaction) before being forcibly killed? Do newer init systems ...
1
vote
1answer
296 views

systemd[1]: Job raspi-config.service/start deleted to break ordering cycle starting with basic.target/start

I see these errors in the startup log of Raspberry Pi running Raspbian. What do you think these errors indicate and what should be done about them? systemd[1]: Job raspi-config.service/start deleted ...
5
votes
1answer
116 views

Managing another user's systemd units

Can one user, or maybe root, control another user's user level systemd services? I've tried sudo -u <some user> systemctl --user restart <some service>, but it complains about dbus: ...
1
vote
0answers
201 views

Systemd networking: IPv6 networking not available at boot

I've a Debian machine running multiple static IPv4 and IPv6 addresses managed by systemd itself at /etc/systemd/network/10-static-eth0.network as follows: [Match] Name=eth0 [Network] ...
3
votes
1answer
115 views

How do I get the standard output/error of a service, controlled by systemd on EL7, to go somewhere other than /var/log/messages?

My use cases are what Fabrice A. Marie's Logs duplicates with systemd article (published by Kibin Labs) places into its "ugly" category, and its brief advice to add in an entire ELK stack (it's the ...
1
vote
0answers
37 views

Empty output file in systemd unit file

I created the below systemd unit file (Centos 7) to run KMS server and logs the client requests to the kms-server.txt file. The service runs without any problem and responses to the client's requests ...
1
vote
1answer
103 views

Saving process output to a file in systemd unit file

I created a systemd file unit (Centos 7) and I wanted to save the Python output to a file but the service won't start with the below code. [root@static ~]# cat /etc/systemd/system/pykms.service ...
0
votes
1answer
60 views

How do I change the verbosity of the service command?

I am running Kali 2 Linux. I use the systemctl or service command to start a service such as Apache. On the previous version of Kali the command actually prints an "OK" message when starting a ...
0
votes
0answers
91 views

Bridge interface does not use networkd configuration

I am using Archlinux and Docker. I configured my docker0 interface using networkd because the default subnet used by docker is the same of my school network (172.17.0.0/16). I wrote the following ...
0
votes
0answers
137 views

debian not shutting down properly

I have an acer aspire e1-572 with intel core i5-4200u, intel graphics HD 4400, 8 gb ram and a 500gb samsung 840 evo ssd. In this machine there are windows 10 and debian testing + gnome shell 3.18 in ...
1
vote
1answer
69 views

systemd: how to print a service's default configuration?

I take a simple example: systemd-timesyncd.service This service is responsible to keep time accurate (like the regular NTP server, but it only act as a lightweight client, and synchronize to only one ...
1
vote
0answers
169 views

Network related services do not start correctly after using a systemd based networking [closed]

I managed to narrow the scope of this question to an IPv6 issue at boot time, basically the IPv4 networking is available but IPv6 isn't. Here is a new question for this issue: Systemd networking: IPv6 ...
1
vote
0answers
55 views

How do I configure a systemd service to execute simple /bin/echo “Hello world” command to show the output on the console?

I am trying to boot up a vm with qemu-system-ppc64(similar to lkvm). I am using the following command: qemu-system-ppc64 --enable-kvm -vga none -nographic -nodefaults -chardev stdio,id=id1 ...
1
vote
0answers
16 views

Relative benefits of systemd and update-rc.d for boot scripting

I've been using update-rc.d to get scripts to run on startup on Yocto, which lacks an /etc/rc.local file. Now I've just come across systemd, which appears to do exactly the same thing. Can anyone ...
0
votes
0answers
76 views

systemd-networkd: Set VLAN device MAC based on host MAC

I am working on a platform with an ARM CPU running linux that has a single MAC in the CPU directly connected to a switch IC. I am trying to set up a VLAN mode using systemd-networkd which I have done ...
1
vote
1answer
134 views

How can I set default CPU Affinity for all the daemons in systemd?

I need to set the default CPU affinity for all the daemons managed by systemd, except a specific service. Setting service's CPU affinity at /etc/systemd/system/myname.service.d/scheduler.conf works ...
3
votes
1answer
123 views

How to debug systemd “init” freeze during boot?

I'm trying to get my own init script running on some ARM hardware and Debian Jessie with systemd. The overall boot concept and init script is almost identical to a x86 variant, which works fine. For ...
0
votes
1answer
100 views

What is the [PATTERN] parameter for “systemctl list-units”

The man page for systemctl says: Unit Commands list-units [PATTERN...] List known units (subject to limitations specified with -t). If one or more PATTERNs are specified, only units ...