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
9 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
1answer
26 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
25 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
16 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
14 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
37 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 ...
1
vote
0answers
14 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
28 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
52 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
67 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
33 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
36 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 ...
1
vote
1answer
60 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
19 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
52 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
42 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
29 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
48 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
35 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
36 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
67 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
40 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
61 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
38 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
54 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
31 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
94 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
0answers
15 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
29 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
49 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
2answers
96 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
43 views

Where are the systemd configuration Files?

How do I enable particular units in particular targets? Once enabled, where is the configuration stored?
1
vote
2answers
80 views

How to configure network for pluggable ethernet adapter under ArchLinux (systemd)?

I have an USB ethernet adapter, but I am not sure how to configure it that the network is set up properly when the adapter is plugged in and out. Can I add something to netctl's config file to link it ...
4
votes
2answers
110 views

How to create user cgroups with systemd

I use unprivileged lxc containers in Arch Linux. Here are the basic system infos: [chb@conventiont ~]$ uname -a Linux conventiont 3.17.4-Chb #1 SMP PREEMPT Fri Nov 28 12:39:54 UTC 2014 x86_64 ...
2
votes
1answer
42 views

Problem mounting additional partitions after kernel update

Today I upgraded my pretty ancient Debian Linux kernel (3.2-23) to 3.16-7. The machine boots okay, except that some fstab entries are suddenly causing issues. # /etc/fstab: static file system ...
0
votes
1answer
38 views

What exactly `systemctl --user enable SERVICE` means?

I expected systemctl --user enable SERVICE to start the service on login, which is not happening. Then what is it supposed to mean?
1
vote
1answer
65 views

Why does my script does not run in runlevel 0?

I made a script with following LSB header #! /bin/sh ### BEGIN INIT INFO # Provides: updateservice # Required-Start: $local_fs $time $network $named $syslog # Required-Stop: $local_fs ...
2
votes
3answers
148 views

Why is my Debian jessie always in runlevel 5?

I have configured the line in /etc/inittab as follows: # The default runlevel. id:2:initdefault: But after logging in the output of runlevel is as follows: N 5 So why am I in runlevel 5 instaed ...
2
votes
1answer
48 views

How to direct the journal output of certain units to a particular file?

I've got a system with several daemons running (as systemd units) that output log information to the journal in Arch Linux. I want to direct the journal output of some of those unit files into a ...
0
votes
1answer
31 views

LUKS partition is unlocked after first use

I just tried to move /usr to a small ssd I recently purchased. The ssd is formatted with LUKS and btrfs. Apparently systemd fails to start the cryptography target before the partitions are first ...
0
votes
2answers
94 views

list of selectable units for journalctl

In a CentOS 7 server, I want to get the list of selectable units for which journalctl can produce logs. How can I change the following code to accomplish this? journalctl --output=json-pretty | ...
1
vote
1answer
186 views

log files in CentOS 7 [closed]

In CentOS 7, how can I locate and view all the system logs that tell me who tried to enter the system, who got in, what processes they contacted, what they accomplished, etc. I want to be able to ...
1
vote
2answers
133 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 ...
2
votes
1answer
121 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
236 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
123 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 ...
3
votes
1answer
46 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
29 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
215 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
24 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 ...