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
1answer
220 views

Changing systemd HandleLidSwitch setting during run-time?

The setting HandleLidSwitch is defined in /etc/systemd/logind.conf as follows: HandleLidSwitch=<hibernate,ignore,...> The setting is applied successfully on boot. However, I would like to ...
0
votes
1answer
81 views

Get a faster response for a ping

I noticed that the answer to my ping is slower in one debian machine that another. For the first one when i ping to 8.8.8.8: 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=29.6 ms For the second ...
1
vote
0answers
198 views

Boot time discrepancy using systemd on Debian 7.4

I recently installed systemd on my Debian 7.4 system. The time from pressing the power button to usable desktop is around 42-44 seconds. The BIOS takes 6-7 seconds to load and transfer control to ...
0
votes
1answer
67 views

Change network values from sysctl.conf

Can I change the value of those parameters (spoofprotect, syncookies, dynaddr_hack, notimestamps, nobroadcasticmpecho, ip_forward) from sysctl.conf file in systemd?
1
vote
1answer
72 views

Change sysctl parameters for all interfaces

How can i change a parameter for all interfaces in systemd ? For example: sysctl -w "net.ipv4.conf.eth0.rp_filter=0" sysctl -w "net.ipv4.conf.eth1.rp_filter=0" How can change it for all ...
2
votes
1answer
392 views

systemd timer every 15 minutes

I'm trying to make a systemd timer that runs every 15 minutes. Right now I have: [Unit] Description=15min timer [Timer] OnBootSec=0min OnCalendar=*:*:0,15,30,45 Unit=timer-fifteen.target ...
4
votes
0answers
126 views

Execute code on shutdown on Fedora 19

I need to catch any OS shut down and execute some actions before letting the OS be shutted down. I'm using Fedora 19 and C++. I'm able to catch a shutdown signal given by the console with the ...
6
votes
4answers
1k views

Systemd: cause a script to execute *after* networking has started?

I am relatively new to systemd and am learning its architecture. Right now, I'm trying to figure out how to cause a custom shell script to run. This script needs to run after the networking layer has ...
0
votes
1answer
60 views

Forking in a systemd script

I want systemd service to handle forking (my file doesn't handle forking by itself. So I'm relying on systemd for handling that) My .service file: [Unit] Description=swamp services management ...
9
votes
2answers
633 views

How can I find available network interfaces?

This is in regard to linux, but if anyone knows of a general *nix method that would be good. I booted a system yesterday with an ethernet cable plugged in. "NetworkManager" is not installed, so once ...
2
votes
1answer
278 views

Migrate socat init script to systemd

I use socat with following init script on debian 7.2 with sysVinit. It works perfectly: #!/bin/bash DESC=socat DAEMON=/usr/bin/socat LIB=/usr/lib/socat SOCAT_ARGS="-d -d -lf /var/log/socat.log" [ ! ...
2
votes
2answers
180 views

What's the best way to have uwsgi create a '/run/uwsgi' folder on reboot?

I have set up a Django project to run with uwsgi and nginx and it's all running as expected, except that when I reboot uwsgi will not launch correctly until the /run/ folder is recreated on the fs. ...
0
votes
0answers
343 views

Unit couchdb.service failed to load: No such file or directory

I have couchdb on Sabayon running # couchdb -version getopt: invalid option -- 'v' Try `couchdb -h' for more information. kernel-poll not supported; "K" parameter ignored Apache CouchDB 1.5.0 ...
1
vote
0answers
45 views

linux watchdog and systemd watchdog

I'm in trouble with watchdog :( Is there any way to register application into systemd watchdog at runtime? Does linux watchdog only use for system reset or it can be use for application reset?
3
votes
1answer
591 views

rsyslog not logging

This is an odd issue. I was testing the chrony/ntp services on a RHEL7 VM and was resetting its time as well as the host's. Once I was satisfied with it I checked /var/log/messages and realized it ...
1
vote
0answers
92 views

Writing a systemd service to be executed at resume

my Dell laptop is subject to this bug with kernel 3.14. As a workaround I wrote a simple script /usr/bin/brightness-fix: #!/bin/bash echo 0 > /sys/class/backlight/intel_backlight/brightnes ...
3
votes
2answers
3k views

Can't boot system with systemd version above 208

I recently upgraded systemd from version 208 to 212 (also tried any other version between these two numbers) And the system can't boot anymore. Looks like it cannot mount /tmp, but in emergency shell ...
2
votes
0answers
22 views

How to find what thing make a cycle in systemd [duplicate]

when boot with systemd, my system display this message: systemd[1]: Found ordering cycle on basic.target/start systemd[1]: Walked on cycle path to sysinit.target/start systemd[1]: Walked on cycle ...
0
votes
1answer
586 views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
2
votes
1answer
111 views

Check `fsck` automatically

I need to run fsck so that it automatically fixes problems (i.e., fsck -y). And because I am using "systemd" instead of "init" in the linux system, I cannot modify the /etc/default/rcS. So what ...
0
votes
0answers
219 views

death_handler: Fatal signal 15 received

I have problem with my Linux when I try to shut it down. init 0 I get the following error: death_handler: Fatal signal 15 received setsockopt recvref[30]: Protocol not available The sytem will ...
2
votes
1answer
17k views

Convenient way to check if system is using systemd or sysvinit in BASH? [duplicate]

I am defining common bash files which I want to use across different distributions. I need a way to check if system is using systemd or sysvinit (/etc/init.d/). I need this so I run appropriate ...
1
vote
1answer
41 views

How can I translate these OpenVPN client configuration instructions to work with Fedora 20?

Here's the link to the full instructions. When I get to step 9, under the heading "9. Setup Client Config Files", it says: Now we will configure the openVPN to work as client. Remember that we ...
5
votes
2answers
402 views

Arch does not mount btrfs array on boot

As data partition I have a multi-disk btrfs filesystem. My root disk is ext4 Fstab: UUID=290624c6-6b95-41fd-94a1-923ebca64b83 / ext4 rw,relatime,data=ordered 0 1 /dev/sdc ...
3
votes
0answers
33 views

Is there a way to make sure only one systemd@.service instance is running resp. gets started

I would like to use one .service file for starting a service from varying directories but it would be nice if there was a way to automatically stop any running instance with a different instance name ...
1
vote
2answers
189 views

80-net-setup-link no longer functions when I downgraded systemd

I've downgraded systemd to version 208. Although I still have /etc/udev/rules.d/80-net-setup-link.rules on my disk, but the names of network interfaces were not named correctly: e.g wlp3s0 is not ...
0
votes
1answer
59 views

How do I resume booting process after sulogin procedure

I upgraded Arch Linux today and systemd stopped booting again. So I logged in with sulogin, mounted the drive. How do I resume the booting process? Like in old days, init 3 somethings like that.
3
votes
0answers
121 views

How to start to use httpd with socket activation (systemd)?

The apache httpd server is seldom needed on one of our small servers, so it would be nice to start it via socket activation by systemd (and later stopped it when no traffic occurred for some time). Is ...
1
vote
2answers
428 views

Writing own daemon. systemd error: Failed to read PID from file: Invalid argument

I'm trying to write own daemon a la very simple MPD (it's operating systems laboratory work). I made it work: it starts like a daemon (output of ps): 1 14877 14877 14877 ? -1 Ss 0 ...
1
vote
1answer
330 views

Starting NetworkManager before gdm.service with systemd

In arch linux I would like to have NetworkManager service available at gdm login page. I enabled the two services like this: systemctl enable gdm.service systemctl enable NetworkManager The issue ...
2
votes
1answer
425 views

PID file /var/run/named/named.pid not readable (yet?) after start

Feb 24 15:54:34 ns1 named[20308]: all zones loaded Feb 24 15:54:34 ns1 named[20308]: running Feb 24 15:54:34 ns1 systemd[1]: PID file /var/run/named/named.pid not readable (yet?) after start. Feb 24 ...
1
vote
1answer
111 views

journalctl process groups

I recently tried setting up the ChrootDirectory property in sshd_config and ran into the ownership problems for chroot targets. After i have fixed the problem i noticed that syslog-ng had created log ...
2
votes
0answers
103 views

How to use systemd hybrid-sleep instead of suspend under GNOME in Linux? [closed]

How can I make GNOME 3 use systemd hybrid-sleep instead of suspend, when closing the lid or using suspend from the menu?
2
votes
1answer
210 views

Systemd boot time trimming

I just switched to systemd on debian sid and while it's a big step forward it also makes it easy to see opportunities for improvement Boot from suspend takes too long $ systemd-analyze blame | head ...
7
votes
2answers
2k views

How to replace sysvinit with systemd in debian?

I've been using systemd for a while in my Debian installation, just that to make it possible I had to add a boot parameter to the /etc/default/grub file to make it work, which is added to Ubuntu boot ...
7
votes
1answer
214 views

Why are cgroups mapped differently on these two systems by systemd

I have two systems, both running customized variants of OpenSuSE 12.2 (Mantis), both running exactly the same kernel. I get two very different outputs of /proc/self/cgroup or /proc/$$/cgroup on the ...
0
votes
1answer
90 views

Target filesystem doesn't have requested /lib/systemd/systemd

I have been using systemd for about a month without any problems on my Debian Jessie. I installed it according to the Debian wiki. But all of a sudden today I got this error:     ...
1
vote
0answers
130 views

Suggestions to debug missing kernel messages from systemd journal

I have recently been playing around with a new freescale i.mx6 system. I have installed archlinuxarm on it. Strangely, all kernel messages are missing from the journal. $ sudo journalctl -k -- ...
1
vote
0answers
97 views

How to determine which init system is used? [duplicate]

Is there a way to determine which init system is being used in Linux? (such as sysvinit, upstart, systemd, etc.) I don't care if it can be programmatically determined, I just want to know how I can ...
4
votes
1answer
1k views

How can I start Apache on Arch Linux w/systemd using passphrase protected SSL keys?

I'm relatively new to using Arch Linux and think I must be missing the obvious way to do this correctly, but –short of starting the daemon on my own– I can't figure out how to get passphrase protected ...
18
votes
1answer
1k views

What sets systemd apart from other init systems?

It is not quite official but it looks like systemd is coming to Debian and after reading some of the heated mailing list discussion on that decision, I am curious about the polarizing nature of ...
2
votes
2answers
1k views

Log every command typed in any shell: output (from logger function to syslog-ng/journald) contains duplicate entries for commands?

I installed syslog-ng to use on my desktop (Gentoo 64bit, upgraded to systemd i.e. was OpenRC before, with Openbox and Slim only) with my normal user to log all commands I type in the shell (bash ...
1
vote
0answers
571 views

Enable systemd-baclight@intel_backlight instead of systemd-backlight@acpi_video0

I have 2 files in /sys/class/backlight/ - acpi_video0 and intel_backlight. intel_backlight is the one which controls my screen brightness (echo/cat), however acpi_video0 is the default. By default ...
2
votes
2answers
961 views

launch x11vnc on bootup

I am using archlinux version 3.10.27-1-ARCH on my remote PC and I would like it to launch x11vnc server on successful bootup. Though i can start the x11vnc server manually, I am having trouble ...
0
votes
0answers
36 views

Bash script to identify which init system the system currently using [duplicate]

I have to create a script that will mount my /usr folder as aufs. I compressed it using squashfs. I've managed to install a working systemd init in ubuntu which I am currently using. Because the ...
0
votes
1answer
586 views

Systemd fails to start Nginx on reboot, but it works manually

Here's my situation whenever I reboot: $ systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION nginx.service loaded failed failed A high performance web server and a reverse proxy server ...
5
votes
1answer
449 views

Where is / why is there no log for normal user systemd services?

I'm trying to learn basic systemd usage and I've run into a confusing issue with user service units. When running ordinary services with systemctl start some.service I can find the full log for this ...
5
votes
2answers
174 views

What are the practical implications, if any, of using software which processes are not the descendants of the window manager?

I've set up Openbox on bare X with the slim login manager, all on a systemd init (on Gentoo). I'm using two different terminal emulators on the desktop so as to be able to create different behaviors ...
3
votes
1answer
64 views

Can systemd do some setup before forking as a user?

Having written several small daemons or web applications for my personal use, I like to manage them using systemd (I am using Arch Linux, if that matters). So I write service files like the one below: ...
1
vote
1answer
380 views

Different behaviour of systemctl suspend when executed via i3 wm key binding

I am using the i3 tiling windows manager in combination with light-locker to lock the screen. Light-locker displays a lock message on the locked TTY and shows the password screen on a second TTY. ...