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

4
votes
1answer
566 views

How do I get systemd to start my ZFS mount script before doing anything else?

Right now I'm using zfsonlinux on Fedora 19, and it works excellently. Mounting works at bootup as planned using the initscript (included with zfs) that systemd calls, but there's a pretty significant ...
3
votes
1answer
297 views

How to create rootfs for user mode Linux on Fedora 18?

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using ...
2
votes
1answer
389 views

How to force systemd enter in emergency mode?

I'm using Opensuse 12.3. systemd-195-13.45.1.x86_64 After few problems when I added a disc at btrfs mount I'm trying put my system in emergency mode (which I consider all services will be stopped and ...
1
vote
1answer
37 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 ...
1
vote
1answer
658 views

Force fsck check after reboot with single command

I'm looking for systemd's equivalent to the shutdown -F command. I know that I can force fsck by adding fsck.mode=force to kernel options or tweak mount count for disks. I have tried touch /forcefsck ...
1
vote
1answer
138 views

How do I set the tty that GDM spawns on?

On my computer (under Arch Linux), GDM is spawning on tty1 while I would like it to spawn on tty7. Is there any way to do that?
5
votes
0answers
61 views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ...
4
votes
0answers
102 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 ...
3
votes
0answers
53 views

Wildcard automounts with systemd

I’m running jessie/sid with systemd 208 and try to convert the following wildcard autofs configuration to either an /etc/fstab or .mount/.automount definition. $ cat /etc/auto.master /home/* ...
3
votes
0answers
29 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 ...
3
votes
0answers
103 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 ...
3
votes
0answers
510 views

Plymouth splash not working and causing VT problems

Since I tried installing Plymouth (boot splash), I'm facing two problems : It's not working My Virtual Terminals (tt1 - 6) aren't working anymore Here what I did : Added plymouth hook (after ...
3
votes
0answers
110 views

No Login on created on tty2 to 6

On my Debian Linux no Login is possible on terminals 2 to 6. Login on 1 works fine, xorg-session with XDM and awesome wm works, too. The Error Message shown on these 5 screens is: ...
3
votes
0answers
133 views

how to stop Clementine playback on suspend using systemd

As the title says, I'm trying to stop Clementine playback using DBus before entering suspend mode. Here is my service file right now: [Unit] Description=Stop Clementine playback before suspend ...
3
votes
0answers
95 views

Restricting D-Bus access to the logged-in user via ConsoleKit or systemd

I need to restrict the client of a D-Bus service to only the user logged into the system locally, via ConsoleKit or systemd. How must I configure or write the D-Bus service to do so?
2
votes
0answers
16 views

What is needed for a minimal systemd boot to launch getty on a virtual console?

For SysV init, I need /etc/inittab respawning getty entries, the /sbin/init binary, the binaries and shared libraries for the shell, login, the getty, the PAM/security/shadow stuff, and a few device ...
2
votes
0answers
17 views

Systemd user unit that depends on system unit (sleep.target)

I was reading doc and it is still unclear for me, whether the following is possible to accomplish: service defined in ~/.config/systemd/user/task.service that depends on system sleep.target ...
2
votes
0answers
23 views

monitor running services and ports

What is the best way to monitor running services and ports on a system with systemd? My intent is to alert me, when a service stops running or if a new service is listening on a new port (possibly a ...
2
votes
0answers
24 views

CGroup Processes Not Terminated even when main process has been killed through Systemctl stop command

I am running systemctl stop process command for some process. Please find the output for systemctl status process below: Loaded: loaded Active: deactivating (stop-sigterm) CGroup: ...
2
votes
0answers
193 views

How to speed up or get rid boot with network manager on systemd?

Network manager is the one thing that holds my system boot time from becaming really barelly existing. I'm connecting to wi-fi. My boot chain indicates what's wrong with network manager: ...
2
votes
0answers
328 views

How to add a dependency to a systemd.mount that is activated by /bin/mount?

I want systemd on mount /mnt/test to automatically call a program (in real life cryptsetup to unlock the underlying device, for testing here echo) before the file system is mounted and after it is ...
2
votes
0answers
392 views

Can't reboot with systemctl

I'm running openbox, and I'm trying to reboot with systemctl, but I got the following error message: %> systemctl reboot Failed to issue method call: Unix process subject does not have uid set ...
2
votes
0answers
116 views

smartd custom logfile on systemd + journald based system

An excerpt from smartd manpage reads: -l FACILITY, --logfacility=FACILITY Uses syslog facility FACILITY to log the messages from smartd. Here FACILITY is one of local0, local1, ..., local7, or ...
2
votes
0answers
289 views

How do I run Gnome from a systemd-nspawn container in a second X server?

I'm using systemd-nspawn to "boot" a second Linux OS from a USB hard disk. I'd like to launch that OS's Gnome Desktop in a second X server running on the same machine on a different tty than the ...
2
votes
0answers
226 views

Logout user with systemd

I start my window manager with systemd service units (following this tutorial). After I log in at tty1 the following gets executed in .zlogin (I'm using ZSH as a login shell): if [[ -z "$DISPLAY" ...
2
votes
0answers
225 views

Moving /dev/shm/ to /run/shm in Arch?

Dolphin (The KDE4 FM) would not receive file change notifications for /dev/shm, but for /run/shm. So now I would like to migrate /dev/shm/ to /run/shm, but I couldn't find the corresponding part in ...
1
vote
0answers
17 views

systemctl to start cron-like job

In /etc/systemd/system directory I have: rsnapshot-backup.service file, with following content: [Unit] Description=rsnapshot backup automation [cron like] [Service] Nice=19 IOSchedulingClass=2 ...
1
vote
0answers
23 views

How to determine a log's source process spawned from a systemd service?

I have a systemd service which starts multiple 3rd-party processes which output to standard output. Is there anyway to easily determine which logs are from specific process from the system journal? ...
1
vote
0answers
74 views

Inherit environment variables in systemd Docker container

I have a Docker container running systemd. I want to pass environment variables to applications under it. When I start systemd from within Docker (/sbin/init as command line), Docker exposes ...
1
vote
0answers
26 views

systemd start unit after another unit goes inactive

Is there any way to delay a unit from starting up once another unit goes inactive? I have a startup process (oneshot.service) that runs as a one-shot and sets up the environment for all other ...
1
vote
0answers
29 views

clamd randomly stops

I am using clamav in conjuction with c-icap to filter content with squid. I am also using the safebrowsing functionality of clamav to block access to bad domains. For some reason or another, clamav ...
1
vote
0answers
112 views

Modifier keys cannot be mapped to regular keys on USB keyboard with udev

Using an hwdb file, /etc/udev/hwdb.d/99-keyboard.hwdb, I can remap the left Alt key on my USB keyboard as the Ctrl key: keyboard:usb:v*p* KEYBOARD_KEY_700e2=leftctrl This also works when I try to ...
1
vote
0answers
156 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 ...
1
vote
0answers
43 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?
1
vote
0answers
75 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 ...
1
vote
0answers
111 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
466 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 ...
1
vote
0answers
91 views

What are the systemd command line options “--switched-root” and “--deserialize”?

Doing a ps on my Linux box shows that systemd runs with the command line options --switched-root and --deserialize. Nothing in the man page or /usr/share/doc/systemd mentions them, and Google hasn't ...
1
vote
0answers
332 views

How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?

I have a cisco AM10 wireless adapter and every boot, I need to run usb_modeswitch -v 1307 -p 1169 -L -I -u -l to get it to function as an adapter. Then I have to run a netcfg profile to connect to ...
1
vote
0answers
68 views

Can't run vlock-cmatrixreloaded with acpid anymore, after switching to systemd

In the old days, I configured acpid to launch vlock-cmatrixreloaded when I press Fn + F2, now it no longer works since systemd handles TTYs, I just got a screen flash when I press those keys. The ...
1
vote
0answers
107 views

How to make system startup to not wait on particular systemd service start

I have few virtual machines running under libvirt, and they are stared on the host system startup. This is controlled by libvirtd.service systemd configuration. This delays the availability of the ...
0
votes
0answers
21 views

Can't access GPIOs when switching to systemd, but why?

I'm using this ARM AT91 Sam9x5ek Embedded Device, with my Linux Images made by a Buildroot. Usually my init-system is Busybox, now I changed it to systemd. Since then I can't access the GPIO anymore, ...
0
votes
0answers
41 views

Issue with network interfaces in Fedora 20

I am using Fedora 20 with NetworkManager disabled and the network service enabled. I am creating virbr0 with eth0 binded to it and using dhcp. I have disabled current network interface naming ...
0
votes
0answers
26 views

Modifying networking and daemons using systemd

I'm trying to follow this guide however, it appears rc.conf is discontinued and systemd has taken over. How can I modify the networking and daemons shown in step one using systemd? Any help is ...
0
votes
0answers
65 views

Systemd: Timeout a service

Is there a way to have systemd stop a service after it has been running for X amount of seconds? I looked at just wrapping ExecStart with timeout, however I believe it might not work if my service is ...
0
votes
0answers
40 views

Why is there no graphical.target listed by “systemctl list-units --type=target”?

According to Fedora documentation, graphical.target is the default. And, # systemctl list-units --type=target will list all available targets. However, the command above outputs as follows without ...
0
votes
0answers
47 views

Changing systemd dependencies during boot

I am looking for a way to instruct systemd to recalculate service dependencies while the system is booting. Specifically, I need one service to be able to enable another service, and have the second ...
0
votes
0answers
207 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 ...
0
votes
0answers
184 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 ...
0
votes
0answers
212 views

Chromium run from within systemd on Fedora 18 does not start

Target is building a Linux box, using X, to display commercials (there is a movie in background played by mplayer) and applets (like newsticker, delivered as web apps working locally). I have ...