Systemd is a replacement for the classic init during boot.

learn more… | top users | synonyms

0
votes
0answers
10 views

Kernel boot time detailed analysis like Systemd

Is there something less verbose, more like a chart that turns easier to figure modules and Kernel load on boot? I've tried old bootchart but it kernel panicked. If not, dmesg is the only choice? Not ...
2
votes
1answer
12 views

swapoff failed: Invalid argument

I recently found that every time I shutdown/reboot my machine, there will be an logged error which says swapoff failed: Invalid argument. Jul 22 21:09:02 Frederick-Kubuntu systemd[1]: Stopping Update ...
0
votes
0answers
11 views

systemd doesn't try to stop (some) processes on session termination

When I try to close a logind session (by logging out), some processes remain running under the session, preventing it from properly terminating, resulting in user@uid.service not terminating either. I'...
0
votes
1answer
18 views

Systemd: hyphens in mount point

By default udisks2 mounts removable drives under /run/media/$USER/[UUID]. The UUID contains hyphens. I wanted to use this mount point in a systemd service. But systemd uses hyphens instead of forward ...
0
votes
0answers
23 views

how can remove systemd and use upstart in ubuntu 16

I try to remove systemd service and install upstart in Ubuntu 16.4 but when remove and reboot it, system won't boot, just purple screen. how can remove or disable systemd ?
0
votes
1answer
17 views

How to tell systemctl that service has started already

I have a service Unit-File mediation.service like this: [Unit] Description=Mobile-IP Log dumper [Service] Type=forking ExecStart=/opt/mediation/mediation start ExecStopPost=/opt/mediation/mediation ...
0
votes
1answer
32 views

How to run service not as root

I created successfully a service on my Linux RedHat by copy the Unit-File to /usr/lib/systemd/system/mediation.service I can successfully start/stop/enable/... the service with systemctl enable ...
1
vote
0answers
48 views

Linux Mint 18: Suspend only happens after unlock

I'm running Linux Mint 18 Cinnamon, I wanted to set it so that, when my laptop's lid is closed, it is suspended. Obviously, I set this in the power settings. However, what ends up happening is that ...
1
vote
0answers
29 views

Systemd kills services reading serial TTY

I wrote a simple app that read serial (over USB) TTY. The process itself just works fine but I cannot understand why systemd keeps killing the service in the first seconds after start. The problem ...
0
votes
0answers
94 views

systemctl debian 8 jessie: Failed to get D-Bus connection: Unknown error -1

Unfortunately, in my Debian 8 jessie systemctl does not work at all. Every systemctl command results in: Failed to get D-Bus connection: Unknown error -1 systecmtl status udev Failed ...
0
votes
1answer
65 views

how to reduce kernel boot time?

How can i reduce kernel boot time? i don't know why it is taking this large value of time although when i have installed my os was 4sec ? Output of systemd-analyze is: Startup finished in 1.564s (...
0
votes
1answer
40 views

Shell script fails when executed by systemd service

So I have a systemd service called startup.service: [Unit] Description=startup scripts [Service] Type=oneshot ExecStart=/home/user/Documents/Tools/Scripts/startup.sh [Install] WantedBy=multi-user....
1
vote
1answer
29 views

Extract text from journalctl logging facility

I have a system which I can access directly with the keyboard but not by ssh (which is my problem, and which arises the question; a RasPi 3 with OSMC 2016.05-1, which is Debian-based, version: 8.5). I ...
0
votes
0answers
16 views

Let systemd use password protected ssh and gpg keys

I have setup Obnam backup to do an sftp backup of the system on an external server. When I run the command it executes properly. The way it connects to the sftp is with my ssh key. And it encrypts ...
1
vote
1answer
56 views

Cannot access internet from VirtualBox guest (Arch Linux)

I am using VirtualBox 5.0.20. The host machine is a MacBook running OS X 10.11.5 (El Capitan). The guest OS is 64-bit Arch Linux. When I installed Arch from the ISO, the guest's internet connectivity ...
2
votes
1answer
76 views

How to display IP at login screen in Arch Linux

I was able to do in Ubuntu by editing the file: /etc/rc.local and add: IP=$(/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}') echo "IP: $IP" > /etc/issue In Arch, ...
0
votes
0answers
58 views

Run GUI app with systemd before login (after X is started)?

I'm trying to run TightVNC server on a Ubuntu machine using systemd. The unit file (/etc/systemd/system/tiger.service) looks like this: [Unit] Description=Tiger VNC server After=display-manager....
0
votes
0answers
34 views

how resolve dependency on ubuntu

i am trying to install Xfreerdp on my embedded system.Its based on Ubuntu.The Xfreerdp is depend on systemd .when i trying to install systmd i am getting error "configure: error: *** libmount support ...
1
vote
0answers
29 views

see the systemd boot logs?

With recent versions of debian using systemd, it is no longer possible to view the stdout boot messages with boodlogd The instructions at systemd debugging don't say how to do this either. So how ...
0
votes
1answer
48 views

Allow “systemctl halt” for all users? (systemd + debian)

Is it possible to allow "systemctl halt" for all users? Currently only the commands: systemctl poweroff & systemctl reboot work on my system (Debian Jessie) When I call systemctl halt as a ...
1
vote
1answer
26 views

Will there be any issue if I create a bridge in Linux with MAC address of its slave?

In Windows if we create an external virtual switch in Hyper-V Manager, it will have the MAC address of the NIC that it is connected to. So I want to do similar things in Linux, with systemd-networkd. ...
0
votes
1answer
27 views

systemd service to set virsh default storage pool

I'm trying to run a script on system boot after an kickstart automated installation, the script just changes the default storage pool for KVM. But for some reason the changes don't take effect, if I ...
0
votes
0answers
50 views

Implementation of systemd service with dependency on external HDD

I just want to share a few thoughts about my first systemd configuration. So far I just used commands like start and stop this time I want more. I have a raspberry-pi running arch. I have a external ...
0
votes
0answers
47 views

unbound not starting after reboot

I just installed unbound on a fresh installed Ubuntu16.04 VPS. To be sure I issued an enable (which actually is done automatically during install) sytemctl enable unbound After restarting the ...
0
votes
2answers
58 views

network fails to start at boot time

I'm installing arch linux on a new computer, following the arch wiki instructions. But the networks fails to start at boot time; Here's the output of 'journalctl -xe | grep network' : mai 03 17:03:...
0
votes
0answers
52 views

Run script when network connection is up

I'm running a set of Debian Jessie based servers and need a reliable way to upload their local network IP Address when the network link is established. I wrote a script that does this and registered ...
0
votes
0answers
109 views

Cant get systemd to prompt for password (on Ubuntu 16.04)

I'm struggling mightily with systemd. I'm wanting it to prompt for a password during startup. It does not provide me with a prompt. I have tried multiple variants to get this to work - I currently ...
0
votes
1answer
69 views

How to disable systemd service in rescue mode

I have a service that kills the system every time it boots (OOM). I need to get rid of it, but debian 8 doesn't seem to have recovery boot option anymore, so I had to boot using cd and used rescue, ...
0
votes
0answers
91 views

Installing gentoo with systemd

I'm trying to get my gentoo install to boot with systemd enabled, I've been using systemd on Arch and Fedora for a few years at this point and I followed the handbook and the systemd page on the wiki, ...
0
votes
0answers
11 views

How to make logind act different when power line plugged-in or not?

I am using Arch Linux and use logind to handle acpi. There is only one acpi event HandleLidSwitch. When closing the lid I want my laptop to act differently based on the current power source. For ...
2
votes
1answer
50 views

Identify the systemd unit file from process name

For some service unit files, the unit file name does not correspond to the name of the daemon. For example Postfix: The unit file is called postfix.service but the underlying daemons launched are ...
0
votes
0answers
118 views

Polkit / Systemd interaction

I tried to add the following rule to polkit: polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.systemd1.manage-units") { polkit.log("action=" + action) polkit.log("...
0
votes
1answer
336 views

Convert init script to systemd - executable path is not absolute

I am trying to convert one of my init scripts to systemd but to no avail. [Unit] Description=My Service After=network.target Wants=mysql.service [Service] Type=oneshot PIDFile=/var/run/MyService....
0
votes
1answer
164 views

static ip using systemd (debian 8) on RPI2

i'm new to systemd, very used to ubuntu\debian RC system scripts so i'm a bit confused. the basic idea was to setup static ip for my raspberry pi ncluding dns etc... naturally editing /etc/networking/...
0
votes
1answer
34 views

How to programatically modify systemd unit files?

I'd like to edit a systemd's unit file from a shell script. I want to change the unit's only ExecStart line. Using systemctl edit looks smart to me, but the command needs an editor set as ...
0
votes
1answer
46 views

systemd: cpu usage of services

I'm running systemd 229-3 on an up-to-date Arch Linux installation. Lightdm is launched on startup, and starts my XFCE desktop environment. Furthermore, laptop-mode-tools is installed and run on ...
0
votes
0answers
57 views

Why does akmods.service slow boot?

I'm using Fedora 23. My computer is slow to boot. systemd-analyze tells me the slowest service is akmods.service. Why does it take so long? I only have one akmod (akmod-nvidia) and it's already built ...
-1
votes
1answer
129 views

Is /var/run/user/$UID the new /var/run for PID files?

I have an application (running as a service as root) that creates a PID file under /var/run. But I'm wondering whether this is now no longer best practice. In Linux - alternative places where to ...
0
votes
1answer
192 views

How to make an Environment Variable available to Systemd Services

I have a script in /etc/profile.d/setenv.sh which sets the value for JAVA_HOME so that $JAVA_HOME will be available system-wide: # echo "export JAVA_HOME=/usr/java/jdk1.8.0_74" > /etc/profile.d/...
0
votes
1answer
56 views

Setting the home directory of xscreensaver with systemd

I wrote a systemd user unit to start xscreensaver, since I want it to start up automatically. Here's what it looks like: # ~/.config/systemd/user/xscreensaver.service [Unit] Description=XScreensaver ...
3
votes
1answer
88 views

stopping a systemd service when starting another

I have written a simple zram.service file that will set up compressed swap space for me to avoid chewing too much om my disks. The zram have higher priority than the other swap devices. The problem ...
3
votes
1answer
73 views

How to encrypt a live rootfs on Arch Linux

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
0
votes
1answer
296 views

How to install systemd on Bananian 15.08

Bananian 15.08 is based on Debian Jessie but still uses sysvinit instead of systemd. How to disable SysVinit and switch to systemd?
0
votes
0answers
29 views

Xorg 1.17.4: launched with startx — -seat seat1, but why doesn't loginctl show “seat1”?

I'm looking to add a separate X instance and a seat to a running system. $ startx -- :9 -novtswitch -sharevts -seat seat1 Things launch OK, but loginctl doesn't show the seat anywhere. $ [-] ...
0
votes
1answer
90 views

systemd create root service

I need to create a systemd service to start some owfs-daemon automatically. I can manually start the daemon with sudo /opt/owfs/bin/owfs --i2c=ALL:ALL --allow_other /mnt/1wire/. Then there are ...
0
votes
0answers
41 views

After systemd upgrade, why does /dev/null always have the wrong permissions?

After upgrading my Debian system, this happens: # ls -l /dev/null crw-rw-r-- 1 root plugdev 1, 3 Feb 20 18:17 /dev/null ...which is bad. I can manually change the permissions, but it doesn't ...
0
votes
0answers
99 views

systemd-networkd: how to create a virtual bridge?

I am trying to create a purely virtual bridge for testing some problematic network services. On an older Debian system I could accomplish this from /etc/network/interfaces using something similar to.....
3
votes
0answers
280 views

How to start a systemd service after user login and stop it before user logout

I have a Fedora 23 Machine. I have a directory/file synchronizing bash script that synchronizes my local /home directory to a remote directory (in a NAS machine). I run it manually but I would like ...
0
votes
0answers
34 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
20 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. ...