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
0answers
20 views

Getting started with D-Bus using C++ and systemd

I'm trying to get up & running with systemd dbus on my Linux desktop machine. What is a good place to start ? Is there an exhaustive documentation of systemd dbus API ? My first goal is to enable ...
0
votes
1answer
7 views

Service that runs once when ppp0 connection shows up

We use wvdial to initiate a cell modem connection. We wrap it with nohup, launched by a cron job that checks if all is well every minute (everything we read said that wvdial and the associated ...
1
vote
1answer
17 views

Send sleep command to usb disk mounted as /home (Fedora 20) from shutdown script

I have a usb sata2 drive connected to usb that is mounted as /home. When I turn off the computer/laptop the disk makes some high pitch sound as if the disks were still spinning and heads were not ...
1
vote
1answer
26 views

How to restore normal boot process after pacman update on EFI?

I just updated my system and upon reboot I've found myself in emergency mode. This is a dm-crypt+LUKS EFI system (thinkpad) using gummiboot. journalctl -xb reports that /boot could not be mounted. ...
0
votes
1answer
34 views

Starting Services without Systemd?

Is it possible to start services on and post startup in CentOS/Fedora distributions without using systemd (systemctl)? If yes, how? Systemd does not work in non-privileged docker containers; ...
1
vote
1answer
40 views

systemd and *.service have been not existed (Are they generic?)

As you know, units of systemd have stored in /lib/systemd/system such as : rsync.service avahi-daemon.socket bluetooth.service cups.service When you use the following command : systemctl enable ...
2
votes
1answer
17 views

How to wait for a /dev/video0 before starting a service

First off, I am systemd noob. I can write unit files, which depend on a mount, because I can list them and then add to Requires=xxx, such as: # systemctl list-units | grep data mount-data.service ...
0
votes
0answers
14 views

Do dracut handles boot parameters mentioned in dracut.cmdline (7)

If I understand correctly, in boot time the kernel will mount initramfs and then calls /sbin/init from it(which is a symbolic link to /lib/systemd/systemd on Fedora/RHEL systems) and dracut itself ...
1
vote
0answers
12 views

Make opensuse 13.2 accept remote logging?

My question is how can one make opensuse 13.2 accept remote logging? Since it uses systemd-journal, which conflicts an installation attempt of syslog or rsyslog? Many thanks!
1
vote
0answers
28 views

writing systemd unit file and specfile for a python twistd application [closed]

I have given a task to write the systemd unit file for a python twistd application and create rpm of it. The application is open source and you can find it here: ...
0
votes
0answers
15 views

logging file system events (like read, write, access file/directory) [duplicate]

I want to get file system events on my arch linux local host, and don't get how to make it. I want to tail throw the logs of file system events to see what processes making changes to my system in ...
2
votes
0answers
27 views

debian wheezy extreme boot delay

I migrated from Arch to Debian(wheezy) recently. Since Debian was still using sysVinit, I migrated to systemd, but following this. The system booted after a long init, using fallback LSB scripts for ...
1
vote
1answer
23 views

Possible to deliver centrally configured login scripts on Linux?

In Windows you can assign login scripts to users which run whenever they log into a system which allowing admins to do things like map drives/printers and generally do anything for which there isn't a ...
3
votes
1answer
48 views

How to change timeout in systemctl

When I boot on my debian, startup hangs for approx 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/3491328 blocks ...
1
vote
1answer
42 views

Why does `systemctl enable rpcbind' change the volume of my sound? And how do I prevent this?

I just did: $ systemctl enable rpcbind And this caused the volume on my headphones to increase severly. First off, I don't understand why this happens, as rpcbind seems completely unrelated to my ...
0
votes
0answers
52 views

nginx won't to start

I have run nginx -t and it returns successful. On boot I see messages about nginx has failed to start, and it wont start when I try nginx or service nginx start Instead i get a message to check ...
0
votes
2answers
90 views

arch linux systemd RTC clock script does not execute

I have rtc.service service in /etc/systemd/system: [Unit] Description=RTC Service [Install] WantedBy=multi-user.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/scripts/script_rtc.sh ...
3
votes
2answers
81 views

Can a systemd dependency be applied only to a unit's “ExecStart” action?

I have a scenario where a number of storage volumes are encrypted using keys contained on a removable encrypted USB "keyring" flash drive. I am running Arch Linux and this question is about systemd ...
0
votes
0answers
54 views

Acer Aspire v5 571 Power off reboots Arch linux

Everytime I try to power off my arch linux it will turn off and reboot. I assume the reasoning why it does this is because the usb ports don't turn off and it somehow turns it back on. I was trying ...
0
votes
2answers
38 views

Systemd, change order of unit file starts?

I have written a sample test service and it looks as below, [Unit] Description=Test service [Service] Type=dbus BusName=test.sample Restart=on-failure ExecStart=/usr/sbin/testbin -n ...
0
votes
1answer
27 views

Network card seems to be active but config file is missing?

I have a CentOS 7 virtual machine with an internal network as well as 2 bridged connections, I am unable to find the config file for the third network card. Any ideas where it could be? or what the ...
0
votes
1answer
32 views

many systemd-udevd spawns on embedded device

On my embedded device I observe a lot of systemd-udevd processes. Every few minutes a new systemd-udevd is spawning. At the same time a usb device (GSM Module) gets recognized and disconnect a few ...
0
votes
0answers
23 views

systemd service not being triggered on sleep

I have the following service file in /etc/systemd/system, supposed to run upon resume (after suspend, hybrid-sleep or hibernate): [Unit] Description=Set APM level for rotating media on resume ...
2
votes
0answers
57 views

Why is systemd-nspawn not appropriate for production deployments?

While reading about systemd-nspawn, it is mentioned that it should not be used in a production environment. The reason seems to be the lack of management and deployment infrastructure. Is practicality ...
2
votes
1answer
32 views

How to set a service to start after autofs has started with systemd

I have to set up a license server on a RHEL7 machine with systemd. The license server should start upon boot and load a license file from a shared disk on the network. So I need to wait for the ...
0
votes
2answers
32 views

How do Linux PIDS increment

Why do PIDS under Linux (generally) increment by 4? The only exception I can think of is startup processes run by systemd, which increment by 1 when they are related or 2 otherwise. How was the ...
0
votes
1answer
153 views

Systemd hangs in Xen Dom0 immediately after switch_root in boot process

I've been trying to set up Xen to work with UEFI and my Arch Linux install (3.18.2) as a Dom0 but have been unable to boot. Of note is the fact that it will boot completely fine otherwise, just not ...
1
vote
1answer
69 views

What exactly is the lack of transparency in systemd? [closed]

Is the claim that systemd log files have "a complete lack of simplicity and transparency" about their being binary files or because the binary files are difficult to parse and understand or because ...
1
vote
2answers
55 views

How do I run systemctl command on root mount

On my Arch systemd install, the name of the root mount unit is -.mount. (It is not listed in /etc/fstab, rather, it get the details of the root mount for the kernel options specified in the boot ...
1
vote
1answer
56 views

Unable to set mac address to tap interface using systemd-networkd

I'm trying to migrate some tap interfaces setup from tunctl to systemd-networkd. I'm using systemd version 215-8. So I have this test.netdev file: [Match] [NetDev] Name=tap_test Kind=tap ...
2
votes
1answer
88 views

How to enable systemd's service without waiting?

I'm trying to make fastest boot possible and did run systemd-analyze critical-chain: graphical.target @5.800s └─multi-user.target @5.800s └─NetworkManager.service @4.201s +1.598s └─basic.target ...
0
votes
1answer
26 views

How to setup network subnet mask with systemd-networkd?

The systemd's systemd-networkd service enables to setup a networks using the .network unit files. However, as far as it is documented in the official man page (man systemd.network) it allows to ...
0
votes
2answers
79 views

systemd-networkd won't reload virtual network interface configuraion file

I'm trying to configure a tap interface using systemd-networkd configuration files. I created the files: /etc/systemd/network/tap_test.network /etc/systemd/network/tap_test.netdev with the ...
2
votes
1answer
55 views

Prevent systemd from writing to syslog each time it starts the same service

I have a service that runs every 30 seconds. The systemd timer file for this service is as below: ~# cat /etc/systemd/system/speed_check.timer [Unit] Description="Check device speed" [Timer] ...
0
votes
2answers
43 views

Exim Systemd Service Times out

I have compiled EXIM from source and am trying to get it to run as a service on Centos 7. I created my own exim.service file. The EXIM process starts when I run systemctl start exim but systemd ...
0
votes
2answers
67 views

Runs perfectly through the command line, will not work through systemd ExecStart

I've installed Butterfly http terminal server, written in python, on my Arch machine. I'm new to systemd, but I'm having an issue with one of the command line parameters. /usr/bin/butterfly.server.py ...
0
votes
0answers
57 views

Systemd config for later mounted encrypted volume with services working on it

Hi everyone, I am working on a Banana Pi with Arch Linux and i am currently trying to accomplish the following: After someone mounted the encrypted keyfiles for my external storage systemd shall use ...
1
vote
1answer
46 views

How to remove a service that keeps the system from booting?

I created a service that starts a script using exec, because it works on upstart. On systemd it keeps the system from booting, because it waits for my script to end, but since it is a webserver, it ...
2
votes
2answers
156 views

How stop rpcbind from being started on Arch Linux?

My Arch Linux's systemd starts rpcbind automatically. What do I have to do to stop systemd to do this? There are no remote filesystems in /etc/fstab. The only thing I found why rpcbind gets started is ...
2
votes
0answers
56 views

Is there a way to develop upstart scripts on fedora 21?

I'm working on creating upstart scripts for an internal service I'm working on. I realize systemd has triumphed over upstart, but our company already has an investment in upstart and I'm just tacking ...
1
vote
0answers
84 views

Fedora 21 akmods.service long boot time

I updated from 20 to 21 today and while booting into 21 I noticed the boot time being really long. The result of systemd-analyze blame: http://pastie.org/9794252 systemctl status akmods.service: ● ...
1
vote
1answer
69 views

How to use quote and dollarsign with systemd

I'm using this in a service declartion: ExecStartPre=/usr/bin/docker pull "$DOCKER_USERNAME/redis-replication:latest" In the log of systemd, I can see this when I try to start the service: Usage: ...
1
vote
1answer
110 views

systemd: default value for environment variable

I would like to migrate some OpenRC init script to systemd but I think that it is general problem of environment variables handling in systemd. Original OpenRC files There is a file e.g. ...
1
vote
0answers
45 views

Error file system check

I enabled the package e2fsprogs and always when the system starts it return the following error (when partition mounting): Jan 01 00:00:03 xxxx systemd[1]: Found device /dev/mmcblk0p3. Jan 01 ...
2
votes
2answers
182 views

How can I enable wpa_supplicant on boot?

I'm trying to enable wpa_supplicant on boot in Fedora 20. I created /etc/wpa_supplicant/wpa_supplicant.conf and am able to connect to my wireless network manually by running wpa_supplicant -B -i ...
0
votes
1answer
23 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
2
votes
0answers
45 views

How do I run my program (and dbus) as a service on a headless server?

I have a Fedora 20 server running headless, which I want to run my service. I'd like it managed by systemd so that it runs whenever the server is powered on. My service is written in Python, and ...
1
vote
1answer
70 views

Enable systemd service file?

I have created a debian package for one of my autotool project.I don't have any problem in debian creation and installation.The problem is that debian includes a systemd service file and I'm ...
0
votes
3answers
155 views

I need to run a one line startup script under gnome and systemd

nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 now what is the easiest way to run this one bash line of code at startup??? I am running Gnome 3.14.
1
vote
1answer
50 views

Where are the systemd configuration Files?

How do I enable particular units in particular targets? Once enabled, where is the configuration stored?