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

3
votes
2answers
4k views

Setting console font in vconsole.conf does not work (systemd)

I am trying to set a different default console font for my new Arch Linux installation (using systemd). I set up my vconsole.conf in /etc as so: KEYMAP=us FONT=Lat2-Terminus16 I rebooted and saw ...
4
votes
1answer
2k views

Why do I have to restart NetworkManager.service all the time?

After switching to systemd, I started to use NetworkManager.service, I got connected to WIFI automatically at boot, but I got the following message when I run nmcli con: ** (process:4433): WARNING ...
2
votes
1answer
630 views

systemd failure on binfmt services

Systemd has several failed services, and I don't know how to work it out: # systemctl --failed UNIT LOAD ACTIVE SUB JOB DESCRIPTION proc-sys-fs-binfmt_misc.automount ...
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 ...
7
votes
1answer
2k views

How to get fewer ttys with Systemd?

In the old days I just modified /etc/inittab. Now, with systemd, it seems to start tty[1-6] automatically, how should I disable tty[4-6]? Looks like there's only one systemd service file, and it use ...
11
votes
3answers
613 views

Eject CD on shutdown

OK, so I have a simple problem: I have a live CD, and I want the CD to eject when the computer is rebooted or halted. Executing /usr/bin/eject -m makes the CD eject just fine... trouble is, as you ...
3
votes
1answer
159 views

Run backup on HD plugged with systemd

When I plug a HD via USB, it should a) mount it b) run my backup script. What I currently have is backintime.service [Unit] Description="Runs backintime to backup." [Service] User=user ...
2
votes
1answer
203 views

systemd stuck on mounting an encrypted volume

systemd seems to stuck on mounting an encrypted volume, when I set the init to /usr/sbin/systemd in grub.cfg, I have one line in /etc/crypttab secure /dev/sda8 /etc/cb.key That works with original ...
1
vote
1answer
210 views

How to move rc.conf HARDWARE section to /etc/modules-load.d/?

I've just begun moving my Arch system to systemd, and started by moving the deprecated parts of rc.conf to their respective configuration files. The rc.conf wiki article lists files for most options, ...
3
votes
1answer
580 views

dropboxd hangs at `Connecting…` when started trough systemd on boot

I've got a systemd service file dropbox.service set up as follows: [Unit] Description=dropbox After=local-fs.target network.target [Service] User=romeovs ExecStart=/usr/bin/dropboxd [Install] ...
3
votes
3answers
215 views

systemd service that needs .ssh/id_dsa password

I have a systemctl service that starts a process smd-loop in a screen session. This process requires acces to remote SSH sources (for syncing purposes) and thus needs to be able to access my id_dsa ...
6
votes
2answers
799 views

`systemd` messages after starting login

After boot-up process systemd starts agetty, but after 1--2 seconds additional messages are appeared: How to avoid this? I use Arch Linux, systemd 194. $ grep '^[^#]' ...
1
vote
1answer
260 views

systemctl output is truncated

A need to grep the output for this command: systemctl | grep failed The problem is that it does not show complete units: systemd-...-clean.service loaded failed failed Cleanup of Temporary ...
2
votes
1answer
1k views

How to automatically force fsck disks after crash in `systemd`?

Sorry for bad english. How to set systemd for automatically force fsck disks after crash (hard poweroff)? When I used sysvinit (in Arch Linux) as /sbin/init I used the hack: in the rc.local I create ...
4
votes
3answers
974 views

How can I set power button (on computer case) to power off system with `systemd`?

How can I set the power button (on my computer case, not keyboard) to power off the system with systemd (without acpid)?
7
votes
3answers
1k views

Run Script once a day with systemd

I want to run a backup script 10 minutes after booting up my machine but only once a day. Is it possible to build up such scenarios with systemd?
11
votes
1answer
20k views

How to write startup script for systemd

I have 2 graphics cards on my laptop, one is IGP and another discrete, I've written a shell script to to turn off discrete graphics card. How I can convert it to systemd script, to runt at start-up?
1
vote
0answers
105 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 ...
2
votes
1answer
2k views

Start systemd service after mysql

I am working on a project which is a mono EmailServer. I have tried adding a service to the systemd so that it starts up automatically during boot but I am having a problem. I have created the ...
5
votes
1answer
6k views

How can I autologin to desktop with systemd?

How can I configure systemd to automatically log me in to my desktop environment, preferably without using login manager? I'm using Arch.
5
votes
2answers
386 views

Why is a service being started if it isn't mentioned in /etc/init.d?

After a clean install of Fedora 17 and distcc-server, I did a service distccd start, which completed successfully. man service indicates that it would merely be running the distccd script at ...
1
vote
1answer
397 views

How to start a webserver with systemd?

I copied this this file (vokabel_daemon.service) [Unit] Description=Start vokabeltrainer daemon After=network.target [Service] ExecStart=/home/mm/lib/vokabeltrainer/box_vokabeltrainer.pl daemon ...
5
votes
3answers
9k views

How to mount NFS 3 volumes on Fedora 17?

I installed the package nfs-utils and tried it via: # mount -t nfs server:/mnt /mnt mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep ...
1
vote
2answers
1k views

inittab equivalent in fedora 15?

I have just installed Fedora 15 on my laptop. I want to study /etc/inittab as I studied it in RedHat 9. I don't see any script in /etc/inittab. Also , the way the default runlevel can be changed in ...
8
votes
3answers
5k views

How to run a script with systemd right before shutdown?

What do I need to put in the [install] section, so that systemd runs /home/me/so.pl right before shutdown and also before /proc/self/net/dev gets destroyed? [Unit] Description=Log Traffic [Service] ...
1
vote
2answers
1k views

how to setup virtual box guest additions (drivers) on systemd system (exherbo)

The trouble is when I run ./VBoxLinuxA... I'm getting: Unable to determine your Linux distribution so there is build in script : check_system_type() { if [ ! "$ro_SYS_TYPE" = "" ]; then ...
7
votes
5answers
3k views

Fedora 16 strange /tmp permissions: mysqld will not start

I installed mysql on a brand-new Fedora 16 server and it would not start. This is the line from the log file (^G and all): ^G/usr/libexec/mysqld: Can't create/write to file '/tmp/ibNPyIlu' (Errcode: ...
10
votes
1answer
397 views

Actkbd as service with systemd

A while ago I asked for how to stop a music player while the screen is locked. The answer was to use actkbd which works like a charm. Now I wanted to add actkbd as a service to systemd in order to ...
1
vote
2answers
231 views

Creating one-time cgroup

I would like to be able to create a one-time temporary group in hierarchy. For example: #!/bin/sh run_with_csubgroup /sys/fs/cgroup/group/subgroup/ Which creates group say ...
7
votes
1answer
897 views

How to shutdown with consolekit without sysvinit (but with systemd)

I have systemd (and no sysvinit) installed on a Arch Linux box. However, I cannot shutdown/reboot with consolekit (dbus interface). # systemctl {shutdown,reboot} work just fine, so I guess it's ...
0
votes
2answers
3k views

vncserver refuses to start

I have a Fedora 15 server that has been running just fine for months until I suffered a power outage. After the recovery, all services came back up just fine except vncserver. When I try to start the ...
6
votes
3answers
1k views

Is there a way to speed up boot time by loading things into RAM immediately?

I'm looking to lower my boot time by whatever means possible. I have about 8GB of RAM in my laptop, and if there's any way I could leverage that into faster boot time, that'd be awesome. Is there a ...
5
votes
1answer
2k views

How do I disable udevd in systemd?

I'm trying to boot a Fedora Rawhide LXC container from a Fedora 16 host, and it's not working - systemd just keeps dropping into emergency mode. Because udevd doesn't work in LXC containers, I thought ...
2
votes
1answer
3k views

Fedora 16 using systemd kernel boot parameters to change 'runlevel'

It says in the fedora documentation that you can append this line to the boot options to change the *.target that loads temporarily at boot. systemd.unit=rescue.target Nothing seems to happen it ...
16
votes
2answers
7k views

View stdout/stderr of systemd service

I have created a simple systemd service file for a custom application. The application works well when I run it manually, but my CPU gets maxed out when I run it with systemd. I'm trying do track ...
14
votes
4answers
7k views

Writing basic systemd service files

I am developing a Nodejs application that the user interacts with via HTTP on localhost. There are practically no parameters and the daemon has virtually no dependencies and it just needs to be up by ...
60
votes
4answers
24k views

What are the pros/cons of Upstart and systemd?

It appears systemd is the hot new init system on the block, same as Upstart was a few years ago. What are the pros/cons for each? Also, how does each compare to other init systems?