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

2
votes
0answers
8 views

Umount network drives with systemd before shutdown

My shutdown takes quite a long time (I'm on Debian 8.1) and I found out that it can be fixed by unmounting the network drive before shutting down the system. Apparently the network gets disconnected ...
1
vote
1answer
18 views

Bootup is not yet finished. Please try again later

My computer starts in around 40s but I keep getting this message for 10 minutes: Bootup is not yet finished. Please try again later. After 10 minutes I get this: Startup finished in 6.020s ...
2
votes
1answer
23 views

What do systemd “Vacuuming done, freed 0 bytes” messages mean?

I'm seeing messages like the following in my systemd journal: systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming ...
2
votes
1answer
28 views

/sbin/init doesn't exist - Bailing out

My question is similar to this one, but has a few differences. At boot, I get the following message: [ 0.030164] Ignoring BGRT: invalid status 0 (expected 1) :: running early hook [udev] starting ...
1
vote
0answers
3 views

Interrupt systemd mount unit during boot

I've Btrfs RAID1 mounted during boot with this line in fstab: /dev/disk/by-label/storage /mnt/storage btrfs noatime 0 0 Few days ago I was checking data on some old disks, and to connect them I ...
1
vote
0answers
10 views

How to enable unison to login with ssh from systemd service unit?

I have a pdf-sync.path file for systemd runnin in user-space (systemctl --user enable pdf-sync.path). Whenever there is a change in the folder that I defined in the path file I want to synchronize ...
0
votes
0answers
13 views

A lot of systemd messages since upgrade to Fedora 22

I upgraded several systems to Fedora 22. After the upgrade I see every 10-20 seconds a lot of messages form systemd: Aug 27 15:30:09 host.example.org systemd[1]: Created slice user-494.slice. Aug 27 ...
3
votes
3answers
12 views

finding systemd unit 'owning' a running daemon process

To debug a JACK/Pulseaudio issue, I want to understand when and why the pulseaudio daemon is started by systemd (on Fedora). Using $ ps -o'pid,ppid,args' `pgrep pulse` is see that the pulseaudio ...
3
votes
1answer
19 views

Creating a systemd script for Sybase ASE

I've been trying to set up our Sybase installation to run under systemd. The basic commands are covered here but when we control it manually we start it with the following command (startserver exits ...
0
votes
0answers
9 views

systemd: network-online.target is reached before network.target

I observed the following in the Archlinux installation ISO: There is a systemd target definition in /usr/lib/systemd/system/network-online.target containing: [Unit] Description=Network is Online ...
1
vote
1answer
27 views

How to see full log from systemctl status service?

I check service status with systemctl status service-name. By default, I see few rows only, so I add -n50 to see more. Sometimes, I want to see full log, from start. It could have 1000s of rows. ...
0
votes
0answers
13 views

I can't enable or disable a user service: Failed to execute operation: No such file or directory

I want to debug/test a program in eclipse that uses a Redis server so I decided to turn the server into a user service to have the privilege of running it. What bothers me is that I can start or stop ...
1
vote
0answers
32 views

Debian Jessie, copy file on NFS share (autofs) at shutdown

I'm on Jessie 8.1 so I use systemd to launch a service at shutdown. My service uses a script to copy a file on a NFS share (mounted by autofs). It doesn't work, I know the script can copy a file on ...
2
votes
1answer
34 views

Where do I put my systemd unit file on Arch Linux?

Sometimes these things can be hard for first-timers. Being a do-it-myself person, I read that there are two folders for unit files (not in user mode). /usr/lib/systemd/system/: units provided by ...
1
vote
0answers
25 views

How to configure Systemd User Service with a Timer

I have a systemd user service that works as expected. It is started like this: systemctl start test@user The problem is that I need to run this service on a timer possibly for multiple users. There ...
4
votes
2answers
75 views

Where is the `$TERM` environmental variable set in Debian Jessie for console logins?

I have read a lot of articles and SE questions regarding how and where the default $TERM environmental variable gets set. Unfortunately in Debian 8.1 I can't seem to find where the default $TERM ...
4
votes
1answer
31 views

what tools to investigate failure to suspend on laptop lid close?

My laptop sometimes suspends when the lid is closed, and sometimes doesn't. Here's some output from journalctl, which shows the suspend triggering maybe one in five or six times -- Logs begin at Sat ...
3
votes
1answer
29 views

systemd support for toggling mutually exclusive services?

I have two versions of a service that I occasionally want to switch between - my-service-a and my-service-b. I want my-service-a to always be the one which is running when the system is booted. ...
1
vote
3answers
30 views

Dynamic logic in systemd service file

I'm trying to rewrite an init.d service file that contains the following code: if [ ! -r /var/spool/torque/server_priv/serverdb ]; then DAEMON_SERVER_OPTS="-t create ...
0
votes
1answer
27 views

echo or sed out of a ks-file to generate a mysql_secure script

i will create a KS File (Kickstart for automated OS installation). i install mariadb with the ks file. But it seems a problem to execute the mysql_secure script. My idea is to generate a script in ...
2
votes
1answer
21 views

Defer some daemon startups until after disk idle at boot

Background: I have a laptop running Debian testing/unstable and booting with systemd. It's got a normal laptop magnetic hard drive (not an SSD). The machine is set to auto-login when turned on, so it ...
0
votes
2answers
19 views

Systemd optional service dependency that checks for error

I'm trying to rewrite an init script to systemd, but I'm struggling with an issue of optional dependencies. My service depends (optionally) on two other services. These two dependencies are mutually ...
0
votes
1answer
24 views

Why is my Systemd unit arkos-redis loaded, but inactive (dead)?

Here's what I have in my service file, arkos-redis.service: GNU nano 2.4.2 File: /usr/lib/systemd/user/arkos-redis.service [Unit] Description=Advanced key-value store [Service] ...
2
votes
2answers
31 views

Create persistent process without inittab

I have a virtual server running Ubuntu 14.04 LTS x64 and I want to create a persistent process that restarts with the system and when it crashes. To do that, I've added the following lines to the ...
0
votes
1answer
51 views

How to get systemd running correctly?

I'm currently trying to set up a OpenVPN on a Debian GNU/Linux 7 (wheezy) server, via SSH. I haven't really used Linux before, so I'm completely new to the terminal etc. However, in a guide that I ...
0
votes
1answer
33 views

Connecting to network drive on startup

I'm on Debian 8.1 and trying to mount a network drive (WD MyCloud) on startup. At first I added the following to /etc/fstab: 192.168.1.101/the_red_drive /media/the_red_drive cifs ...
1
vote
0answers
45 views

Systemd script not echoing

I've recently setup Fedora 22 onto a machine and it's using the systemd filesystem. I've been reading up on it and now I need to create a systemd start up script for postgresql For testing I created ...
0
votes
0answers
12 views

Cleaning up coredumpctl list

I'm looking for a way to remove any trace of old coredumps in coredumpctl list. At the moment it lists coredumps beginning at 2014-12-14 - I've updated software so often between then and now that I ...
0
votes
1answer
34 views

Systemd postgresql start script

I'm in the process of installing postgresql onto a second server Previously I installed postgresql and then used the supplied script ./contrib/start-scripts/linux Placed into the correct dir # cp ...
-1
votes
0answers
16 views

Will copying everytime from Windows EFI partition to my new EFI partition work? And how to configure my loader conf's

During my Arch install, I didn't like the Windows 10 EFI partition being so small. So I created a new one and moved everything over and deleted it and set the boot flag. I am at the end of the Arch ...
1
vote
1answer
17 views

Getting a service started automatically when another gets started

I have a service that depends on another: [Unit] After=main.service Requires=main.service [Service] ExecStart=/usr/local/bin/dependent Restart=always The kool things: Running systemctl stop main ...
0
votes
0answers
24 views

Why is `systemd-tmpfiles --clean` not working?

I have the following configuration to clean up temporary files (default for CentOS 7), which says that files in /tmp should be removed if they are more than 10 days old. [root]# tail -n +10 ...
0
votes
1answer
28 views

Start service before user logs in

Noob question ahead. I'm running a debian 4.8.4-1 x64 vanilla on a VirtualBox VM on a Win 7 x64 host. Purpose of the installation is to serve as a server for the subsonic music streaming service, ...
1
vote
1answer
116 views

Can I add Windows to my systemd-boot bootloader if I have separate EFI partitions?

I've just installed Arch Linux on to a new set of partitions on my Windows 8 machine. In doing so, I created a new 512MB EFI partition for Linux to load from, leaving the existing Windows EFI ...
1
vote
1answer
63 views

Reload network interfaces without rebooting

I'm doing a BASH script for Arch Linux in a Raspberry Pi 2. The thing is that in some point I'd like to reload the network interfaces without reboot and have my new named network interfaces (en0 and ...
2
votes
1answer
81 views

After switching to Devuan, how do I remove systemd?

So, I've also switched from Debian to the Devuan pseudo-fork. But - this doesn't get rid of systemd... I've followed the instructions here, and did: # apt-get install sysvinit-core sysvinit ...
1
vote
1answer
26 views

strange results from investigating a reboot in auth.log

My Ubuntu 14.04 server is hosted on a well-known cloud provider. I noticed today something that usually makes my heart stop: user@myserver123:/var/log$ screen -ls No Sockets found in ...
0
votes
1answer
51 views

Watchdog daemon doesn't start at boot

I'm using a Raspberry Pi B, with Raspbian. After upgrading to Jessie, watchdog daemon doesn't start at boot anymore. Starting it manually using "sudo service watchdog start" does work. I tried: ...
3
votes
1answer
39 views

Can socat be started directly by systemd?

The following socat command-line works as expected when entered at a shell prompt: # /usr/bin/socat UDP-RECV:4321 STDOUT It listens on UDP port 4321 and writes everything received to standard ...
3
votes
1answer
37 views

How to tell systemd to stop service when it no longer required/wanted

I have 10 TF2 game dedicated servers, they started manually one by one with individual service files tf2-server-1.service ... tf2-server-10.service And they want service hlstatsx ...
1
vote
1answer
40 views

shellinabox on arch linux

I cannot get the systemd service to run [chris@alarmpi shellinabox]$ sudo systemctl status shellinaboxd * shellinaboxd.service - Serve a login-terminal over http on port 80 Loaded: loaded ...
1
vote
1answer
28 views

systemd: How do you query a service's status?

In sys-v-init, to query a service's status you can use the service command and do a service $NAME_OF_SERVICE status. In systemd, how do you query a service's status?
1
vote
2answers
40 views

systemd in the era of hotplugable devices

One argument I hear often about systemd is that it more adapted to current hardware needs, e.g. here Computers changed so much that they often doesn’t even look like computers. And their ...
0
votes
0answers
37 views

How to mount cgroups controllers using cgconfig.conf, while systemd running

I am trying to create a basic cgroups setup on a few Fedora 20 servers (using cgconfig and cgred services). The problem is I would like to create a hierarchy with access to several ...
1
vote
1answer
40 views

How to get systemd-udevd to create a bridge device at start up?

I am running Ubuntu server 15.04 in a virtual machine. I am able to use the brctl program to create and manipulate networking bridges. I've decided to persist the setup (through reboots) by updating ...
3
votes
2answers
119 views

How to permanently disable root-password prompt for recovery mode, RHEL7

Note: I asked a similar quesiton concerning version 6 of these bundles here. Note that 7 uses systemd and may have a different implementation In the rare cases that a RHEL or CentOS 7 system is ...
3
votes
3answers
167 views

if I upgrade from Debian Wheezy (7.x) to Jessie (8.x), will systemd run by default?

I am wary of systemd for various reasons which are irrelevant to this question. Now, I'm about to upgrade my Debian Wheezy to Debian Jessie. Will systemd be used by default after an apt-get ...
4
votes
1answer
95 views

After sending shutdown command, ssh session doesn't terminate

Whenever I send the command to turn off or restart my Debian servers, my shell is left hanging and unresponsive (can't type any commands). Performing the same action in Ubuntu results in the ...
3
votes
0answers
109 views

How can I make my user services wait till the network is online?

I have written a couple of systemd user service files which I want users to enable and which need a working network connection. I thought that would be as easy as: Wants=network-online.target ...
5
votes
1answer
145 views

How does gnome do to reboot the machine without root privileges?

I am reading the book Linux kernel development, in chapter 5 "System Call Implementation" page 77 says For example, capable(CAP_SYS_NICE) checks whether the caller has the ability to modify ...