Systemd is a replacement for tjhe classic init during boot.

learn more… | top users | synonyms

0
votes
0answers
9 views

How do I wait for network manager in init.d

I'm getting a startup error with the nmbd service. It can't bind to a particular port. However, if I manually bounce the service after the computer comes up, it's fine. I'm running Ubuntu 15.10. That ...
0
votes
0answers
12 views

How to listen for system level services in user level instance of systemd

Is there a way to use WantedBy, Requires, etc from a user level systemd instance to a system level systemd unit? I'd like to add WantedBy=<system_level_target>.target in my user level instance. ...
0
votes
1answer
12 views

How do I use ENV{SYSTEMD_USER_WANTS}= in udev rule?

I want to set up a docked.target in my user level systemd. The idea is to run some services to configure my external displays. I currently have this as my rule: SUBSYSTEM=="usb", ACTION=="add", ...
0
votes
1answer
16 views

Run script when systemd service fails

I'm running Debian 8 on a server. How do I run a bash script if a systemd controlled service fails to start or restart? Similarly if a service suddenly stops and cannot continue. In effect I want ...
0
votes
1answer
28 views

Mount a NFS share after user login

I want to mount a NFS-Share after the login, since mounting it via fstab will prolong my boot process if the NAS isn't reachable. So I thought about a systemd --user service. [Unit] ...
0
votes
0answers
17 views

How to run a virtual machine with no graphics card (VGA) configured in VirtualBox

I want to use the following feature of Linux (which one of my virtual machines): If no console device is specified, the first device found capable of acting as a system console will be used. At ...
1
vote
0answers
9 views

systemd-timesyncd: Show NTP status

When using systemd-timesyncd, how do you show more detailed NTP status? Specifically, I'm looking for the IP addresses of the peers I'm using (presumably aquired via DHCP). This does not show what ...
0
votes
0answers
14 views

systemd TaskMax reached in arch linux image in google compute cloud but not in fresh install on hw

I have a custom systemd service on an arch linux machine. The service uses lots of child processes and threads. On systems I have installed from scratch running on physical hw this is not a problem ...
0
votes
1answer
35 views

Why is systemd not bringing down dependencies?

I have created a systemd service file, whose task is nothing, but just to bring up other services, and bring them down as well. Since it does nothing, other than bringing up other services, i have ...
0
votes
1answer
36 views

Start a systemd user service at boot

I am trying to start a systemd service for a specific user (service name/goal is not relevant). I do that because I need to have a per user process of an application running at startup. Here is what ...
1
vote
0answers
89 views

How do i make systemd-networkd ignore DHCP pushed default route?

I want systemd-networkd ignore the default route/s pushed by DHCP on one interface. My work setup has 3 network interfaces. I have one .network file for each interface: eth0) internet [Match] ...
0
votes
1answer
32 views

Why is systemd stopping service immediately after it is started?

I created a systemd service which should invoke a shell script, when started or on reboot. [Unit] Description=Starts the DCCA index software [Install] WantedBy=multi-user.target [Service] ...
0
votes
0answers
13 views

Runing fsck triggers udev rule

On a Debian stable system with udev and systemd (215-17+deb8u2) I have the following udev rule that I use to start a systemd service that runs a backup script: KERNEL=="sd?1", ...
0
votes
1answer
23 views

Which Systemd target should I use to start a service at boot but not delay user login

While running systemd-analyze critical-chain I noticed that the Samba daemon is on the path to user login. Although I would like Samba to start automatically on boot, I don't care if it happens before ...
1
vote
1answer
25 views

systemd keeps stopping and restarting a service

Before systemd, my /etc/init.d/referee script would start/stop/restart a service without issue. Converting to systemd, which calls the same init.d script, the service starts without an error and then ...
1
vote
1answer
107 views

how to know if I am using systemd on my linux?

How could I know if my linux starts with systemd or whatever package?
1
vote
1answer
74 views

How do I run a script before everything else on shutdown with systemd?

Note: Briefly formulated question can be found at the bottom. I have a script which makes a backup of my files onto an external USB drive. Executing it can take a while, depending on the amount of ...
0
votes
1answer
64 views

Run a script during shutdown/termination of an aws instance

I need to execute a script during shutdown/termination of an AWS instance(debian). I added my script to the /etc/init.d/myscript and a symlink to /etc/rc0.d/K01myscript however I noticed that when I ...
1
vote
1answer
31 views

How to change the niceness of openvpn on debian?

I am currently using debian 8.2 with systemd. $ cat /etc/default/openvpn ... # WARNING: If you're running systemd the rest of the # options in this file are ignored. ... # Optional arguments to ...
0
votes
1answer
63 views

How to skip startup jobs for fstab? No timeout CENTOS7

So I was working on CentOS7 by encrypting one of my drives which worked perfectly manually. However, after making a mistake in the /etc/fstab and /etc/crypttab for mounting automatically it will get ...
0
votes
1answer
10 views

Does systemd honour KILL order from chkconfig

Title of the question is just what I needed to ask. I don't see it actually following that. Is there a way, in which I can make systemd follow the KILL order. From what I see, it just reverses the ...
0
votes
1answer
54 views

How to run script before the network configuration?

The unit file for that is supposed to be like that: [Unit] Description=@CPACK_PACKAGE_DESCRIPTION_SUMMARY@ Before=network-pre.target Wants=network-pre.target [Service] Type=oneshot ...
0
votes
1answer
105 views

networkd is not bringing eth0 up at boot

I've installed Debian 8 on a gigabyte brix pro and everything seems to work properly except for networking. I've enabled systemd-networkd.service, disabled networking.service and created the ...
0
votes
1answer
83 views

shell environment setup for virtualenv/virtualenvwrapper

The question is about shell setup for virtualenvwrapper, an extension to virtualenv (python guide). Similar questions had been asked many times but with a lot with different answers: Environment ...
0
votes
1answer
30 views

Systemd service successful but did not start script

I created a script that has to start on boot. So for this script I created a systemd service and enabled it in systemctl. The script is creating a folder in /mnt, then mounts a cd to it, copies files, ...
0
votes
1answer
80 views

Can't suspend laptop using systemd while Slack is started

Sometimes when I'm trying to suspend a laptop using systemctl hybrid-sleep, I get response like this: Failed to put system into hybrid sleep via logind: Sleep verb not supported But after reboot ...
0
votes
1answer
120 views

Tor hidden service settings failing to allow tor.service to start on CentOS/Fedora

I am attempting to set up a Tor hidden service on CentOS 7 (with systemd), using the tor package from the EPEL repository. Previously this was working fine until a few days ago when it stopped ...
2
votes
0answers
374 views

How do I figure out why systemctl service “systemd-modules-load” fails?

For some time I've seen some red text flashing by during boot. Today I decided to look into it. The systemctl service systemd-modules-load.service is failing with this text: tomas@bonus-debian:~$ ...
0
votes
0answers
32 views

Why is systemd sending so many pings to watchdog?

I have configured systemd with RuntimeWatchdogSec=10. Systemd is sending A LOT of pings to the watchdog device in beginning (1500 in first 5 seconds). Every once a while, it acts normally i.e., one ...
2
votes
0answers
76 views

systemd: Start service/script IMMEDIATELY after mount

On a system running Debian 8 with Systemd, I am trying to run a service immediately after /var is mounted. The custom service copies some essential files to /var, and it must be run before any other ...
1
vote
0answers
41 views

RequiresMountsFor not working on Debian 8

I am trying to set up a systemd service on Debian 8 to run a program from the network on startup but it does not work - the service starts before mounting NFS disks have completed. I have the ...
0
votes
0answers
61 views

Writing systemd service file to start after TTYACM0 device mount

I have written the standard domoticz systemd service file below to enable the service on boot - but I am unsure how to cause it to delay until after my USB adapter (which uses TTY ACM0 device) is ...
1
vote
1answer
205 views

Debian Jessie shutting down too fast (<1 second)

I recently have bought an SSD for my laptop and installed fresh Debian Jessie on it (I used Wheezy before). As a result, most operations on the laptop have sped up, and one operation in particular ...
0
votes
0answers
21 views

freezing systemd and basic load in ubuntu

I am loading my laptop to ubuntu: in grub2: if I am selecting ubuntu: everything freezes and I see only purple screen if I am selecting other options -> systemd : I see logon screen -> passing ...
0
votes
2answers
269 views

Installation of saned with systemd (no inetd or xinetd) - saned refuses connection

I have set up a Raspberry Pi B v1 with a minimal Jessie image and configured it for printing via cups and scanning via saned. The local setup is without issues; a pi@EMK-RPiBv1:~$ scanimage -L ...
0
votes
0answers
95 views

Why is irexec from LIRC not working properly on boot?

I built LIRC from source and got it installed. It's running as a systemd service on boot and works great. I can run irw and it displays the expected output. I can run ircat and it shows what is ...
0
votes
1answer
23 views

Can I pass the current x display user as a parameter in a udev rule?

I've got a udev rule set up which restarts a systemd service, passing in a user parameter for the service to run as. The trouble is udev runs as root so it always passes in root as the paramter. I ...
0
votes
0answers
25 views

CoreOS/systemd does not respect changes to resolved.conf

I am using CoreOS in an openstack environment and I am using cloud-config.yml to bootstrap the host. #cloud-config write_files: - path: /etc/systemd/resolved.conf permissions: 0644 owner: ...
1
vote
1answer
414 views

rpcbind not started at boot on centos 7 with systemd

I need rpcbind service to be active after boot, so I installed it with yum, then started it by: systemctl start rpcbind it works. However after reboot it did not start. So I checked it with: ...
0
votes
0answers
56 views

journald is not following the configurations

I'm using Fedora 22 which is now using systemd. What bothers me currently is that the journald seems to be ignoring my configurations. Here's my /etc/systemd/journald.conf. [Journal] ...
0
votes
1answer
51 views

using export in an EnvironmentFile

I'm converting an Upstart config file to a systemd unit file. We use lots of environment variables to store magic variables that are imported with the EnvironmentFile directive export ...
3
votes
1answer
681 views

HAProxy works fine ran manually, but as a Systemd-service fails to load SSL pem-file

I'm trying to set up SSL on a Fedora 22 -server running HAProxy. Here's the config (/etc/haproxy/haproxy.cfg): global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile ...
0
votes
0answers
25 views

Difficulty configuring uim for Japanese on Arch Linux

Some background: I'm running Arch Linux with Gnome 3 (for under 1 month now), and I'm pretty sure I'm using systemd to manage my X session. I'd welcome instructions on how to know for sure, though. ...
1
vote
1answer
368 views

How to get the machine IP address in a “systemd” service file

I need to get the IP of the machine and use it inside my service: [Unit] Description=Redmine server After=syslog.target After=network.target [Service] Type=simple User=redmine Group=redmine ...
1
vote
0answers
118 views

systemctl do something between stop and start during restart or kill

I have a C++ program that runs as a non-daemon (but could be changed), and I'm controlling it with systemd. That works. Albeit with the ugly that to restart it I need to either be root (to use ...
1
vote
1answer
340 views

StandardOutput option of systemd is not working

I'm using systemd to start a program on boot and keep it running in the background. I wrote a simple script for systemd to call and the script will print several lines of logs which I'd like to see ...
0
votes
1answer
211 views

How to boot into single-user mode (runlevel 1) without entering root password?

In Fedora 22 and Ubuntu 15.04, whenever I boot into "single-user"/"recovery" mode, I'm asked for the root password. This is a new behavior; I remember that it used to drop me straight into the root ...
0
votes
1answer
206 views

start systemd-nspawn/systemd container on boot

I've been working with systemd-nspawn and have a couple of containers that I'd like to automatically start at system start. I'm using arch linux and according to the archwiki entry, the following ...
0
votes
0answers
57 views

systemd WakeSystem timer unsuspends system but doesn't run service

I'm trying to use systemd as an alarm clock (per this guide, but I'll give all the relevant details in this post). The core of the setup is these two files: /etc/systemd/system/goodmorning.timer: ...
0
votes
0answers
50 views

CentOS7: Restart multiple instances of a service with one command

Is there a way of restarting all instances of a service in systemd using only one command? Suppose we have two daemons running called thingd@01 and thingd@02. Can I restart just those without having ...