The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
4 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
0answers
24 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
15 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
13 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 ...
0
votes
1answer
33 views

Explaining to systemd that /var is symlinked to /home/var

Suppose an installation of Debian unstable, using systemd for init, with two filesystem partitions, / and /home. Suppose further that, for reasons to do with the physical disks, I have moved the ...
1
vote
0answers
32 views

enabled systemd unit does not start at boot

I've a systemd-unit on my system that is enabled. The problem is, it doesn't restart after a reboot. It depends on two other services that are both started as expected. The service is known, enabled ...
0
votes
0answers
34 views

What is “dev-mapper-fedora\x2dRoot.device”

I have an laptop with i7 processor on which I use Fedora 22. Initially few weeks ago It had startup time of 2min 41sec as provided by systemd-analyze. After following several articles and answers on ...
0
votes
1answer
21 views

system init and logging failure for diskless pxe boot

I'm going to set up a disk-less cluster and as the first step, I configured a Debian(Jessie) installation as the server and its dhcp, tftp, nfs according to ...
0
votes
1answer
70 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 ...
0
votes
0answers
29 views

Adding a windows partition to an existing Linux GPT/UEFI drive

I have a working Linux system that boots from a GPT/UEFI drive. I would like to add a windows partition to this drive, without destroying the existing boot system in the process. Theoretically, I ...
0
votes
1answer
75 views

Running a Java process from Systemd

I'm trying to execute a shell script from systemd. The script runs fine from command line. The script (runServer.sh), runs up a Java process and looks like this: #!/bin/bash java -jar ...
0
votes
1answer
26 views

How to enable guake at startup using systemd

i made my service /etc/systemd/system/guake.service containing [Unit] Description=Start guake [Service] ExecStart=/bin/bash guake [Install] WantedBy=graphical.target then i did systemctl ...
0
votes
0answers
45 views

Trying to enable bluetooth on startup (Debian)

I have already paired and connected some devices successfully. In order to do so I had to use rfkill. $ sudo bluetoothctl [bluetooth]# power on Failed to set power on: org.bluez.Error.Blocked ...
0
votes
1answer
49 views

systemd-timesyncd.service start fails

I try to start systemd-timesyncd.service service but it fails: root@xxxx:~# systemctl start systemd-timesyncd.service root@xxxx:~# systemctl status systemd-timesyncd.service ● ...
1
vote
1answer
70 views

Installing a systemd service from an RPM?

I've been creating RPMS (using CMake's CPack) which install everything into /opt, and then the postinstall script copies the service definition files to /etc/systemd/system. I've toyed around with ...
3
votes
1answer
71 views

How does systemctl schedule system shutdown?

When I type shutdown -h +30, Linux somehow schedules runlevel's change within 30 minutes. On Debian, /sbin/shutdown is symbolic link to /bin/systemctl. My tests indicate that shutdown does not use ...
2
votes
1answer
100 views

How to debug old init.d script under systemd?

I can't get any output from the script. systemd just prints: sinopia.service: control process exited, code=exited status=203 Failed to start LSB: starts the sinopia web server. I can't even launch ...
1
vote
1answer
79 views

systemd: decrypt luks device on access

I have an external drive with a LUKS-encrypted partition. As the device is an external USB device and I don't always need it, I only want to decrypt and automount on demand. I can easily automount the ...
0
votes
1answer
77 views

Start a systemd service after a device has been mounted

I'm writing a systemd's .service file for minidlnad (DLNA server) under CentOS 7. Since my media file collection is hosted on a RAID array, I need that array to be mounted BEFORE the minidlnad server ...
1
vote
1answer
79 views

start ddclient as daemon with systemd

I'm trying to start ddclient as daemon in my Ubuntu 15.04, which now uses systemd, but was unable to even following the Ubuntu wiki at https://help.ubuntu.com/community/DynamicDNS to words. I've ...
4
votes
1answer
152 views

Passing udev environment variables to systemd service execution

I am migrating an existing udev rule that bound to the change action of a block device and runs a given script. SUBSYSTEM=="block", ENV{DEVNAME}=="/dev/sr0", ACTION=="change", ...
2
votes
0answers
24 views

systemd - get dropbear to only look at openvpn interface

I am trying to configure dropbear to do the following. 1) Only listen on port 22 of the tun0 interface (made by openvpn service). 2) Only use public key authorization. I see that dropbear.socket is ...
2
votes
2answers
259 views

Automatically unlock LUKS partition using a key on an USB drive on Debian Jessie

I am trying to have the encrypted root partition be unlocked on boot automatically using a connected USB drive on a fresh installation of Debian Jessie (no non-systemd upgrade). After following a ...
1
vote
1answer
80 views

systemd-networkd does not receive dhcp requests

host, container: fc21 $ systemctl start systemd-networkd.service $ systemd-nspawn -b -D `pwd` -M m1 --private-network --network-veth ... In container: $ systemctl start systemd-networkd.service $ ...
0
votes
2answers
520 views

Switching to systemd on Linux Mint

I have linux mint 17.1 running on a laptop which takes forever to boot. To speed up the boot I want to switch to systemd. How can I switch to systemd?
0
votes
1answer
80 views

Tell if a process is under systemd, init.d or Upstart control

Is it possible to reliable tell for a given Linux process if it was launched or is still supervised by an init.d script, Upstart or systemd ?
1
vote
2answers
156 views

renaming network interface with systemd

I want to rename on Fedora 22 a network interface managed by systemd-networkd (version 219) from the system-assigned name enp2s0 into wan. For that I created the following file ...
0
votes
0answers
38 views

TUI Login for Ubuntu Server

I have a TUI using whiptail it asks for a username then a password. My problem is that I want to add this program as a replacement for the regular login terminal. I have looked up how Ubuntu starts up ...
0
votes
0answers
35 views

How to run systemd's unit as soon as possible? - systemd

this is forked question from previous question: How to show own welcome message during boot with lolcat, Debian 8 (and systemd)? We have a working output of systemd's unit, that calls this script: ...
0
votes
0answers
19 views

Preserve formating and colors of output (created by my script) during boot - systemd

this is forked question from previous question: How to show own welcome message during boot with lolcat, Debian 8 (and systemd)? Now we have working output, but it deletes extra spaces and colors Is ...
1
vote
1answer
204 views

How to show own welcome message during boot with lolcat, Debian 8 (and systemd)?

I would like to run this command in boot time: /usr/games/lolcat /home/decker/file-with-text-content This command prints "colored" content of /home/decker/test text file.So it would be something ...
0
votes
1answer
80 views

All systemd states [closed]

systemd's state is composed of 3 subcomponents (LOAD, ACTIVE, SUB); what are the different values that these subcomponents can take? I know LOAD can be "loaded", ACTIVE can be "failed", and SUB can be ...
0
votes
0answers
54 views

Deluge service change destination folder

I installed Deluge in my Ubuntu as a systemd daemon, and worked perfectly. I installed following this guide The problem started when I tried to change the destination folder, I am getting in every ...
1
vote
0answers
94 views

Conditional hibernate with systemd in Linux

I use to have one Linux pm-utils’ script that unmounts my mounted USB disks partitions, triggered by hibernation process. Script returned a failure exit code when unmount failed, so hibernation ...
0
votes
1answer
63 views

postgres -w flag breaking systemd

So I am pretty new to Arch and am having a strange issue. Using systemctl I can not start postgresql. Starting postgresql directly with pg_ctl works fine and it is even started briefly with systemctl. ...
0
votes
0answers
196 views

Manjaro linux slow booting times

The last few days I have been experiencing very slow boot times, I ran systemd-analyze blame and the service taking all the time is systemd-tmpfiles-setup.service, taking 4 minutes. I cleared /tmp ...
-2
votes
1answer
592 views

Systemd docker container service does not work with CentOS 7

Here is the service (/etc/systemd/system/docker-mysql.service): [Unit] Description=MySQL container Author=Me After=docker.service [Service] User=root Restart=on-failure RestartSec=10 ...
0
votes
1answer
413 views

Systemd service start error

I have a Beaglebone Black (BBB) running Angstrom Linux (v2012.12). Since none of my other Linux machines have systemd yet, and Angstrom does, I figured I'd get familiar with systemd before its shoved ...
0
votes
1answer
312 views

Sudo fails when running as service

I have a program that runs as a normal user but sometimes needs to run a command that requires root privileges. So I made a shell script and gave the user permission to run that script with sudo. The ...
0
votes
0answers
97 views

KillMode=mixed support in CEntos 7

Is there any way to support KillMode=mixed in CentOS 7 systemd scripts? According to the web: If set to mixed, the SIGTERM signal (see below) is sent to the main process while the subsequent ...
0
votes
1answer
128 views

Can I have a static link-local ipv6 address with dhcp for the other ipv6 settings? (netctl or systemd)

I'm using systemd (specifically netctl) and trying to create a network profile which has dhcp or stateless auto config IPv6 but also allows me to specify a static link-local IPv6 address. I've read ...
0
votes
0answers
106 views

`poweroff` on CentOS 7 doesn't seem to do so gracefully

I often poweroff my CentOS 7 box by entering poweroff on the command-line. It seems this is symlinked to systemctl which causes it to behave like systemctl poweroff. The documentation indicates that ...
1
vote
1answer
117 views

How to start a systemd service when a DVD is inserted?

I'm trying to write a simple systemd service that gets started when I insert a DVD into my DVD-ROM drive. However, my service never starts even though I see the relevant SYSTEMD_WANTS while running ...
1
vote
1answer
2k views

How does docker-tcp.socket actually enable Docker's remote API on CoreOS?

I'm reading through the systemd configurations for Docker on CoreOS trying to figure out how the TCP port for Docker (port 2375) gets enabled. When I look at the docker.service configuration file, I ...
1
vote
0answers
87 views

NTFS-3G unmounts USB drive as soon as it is mounted

I have created an udev rule to automount a USB hard-disk when I plug it in, but the drive doesn't appear as mounted. In /var/log/messages, I can see Dec 27 09:11:02 smug ntfs-3g[6043]: Version ...
0
votes
1answer
1k views

Can't automount USB stick with Fedora 21+systemd-udev, could with Gentoo on same machine

In Gentoo I had created a small script that was called by udev and allowed me to mount an USB device, identified by its serial number, to any mount point I chose. Basically, ...
0
votes
1answer
165 views

systemd user and system

I'm trying to understand a little better systemd by writing some services. I have difficulties in understanding the differences between those 2 services for instance, well I'd like to be sure I ...
4
votes
1answer
674 views

How to write a systemd service that depends on a device being present?

I would like to write a systemd service that depends on USB WiFi dongle being present. It doesn't need to start when device is plugged in as long as it doesn't start when device is not plugged in. How ...
0
votes
1answer
32 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
0
votes
2answers
298 views

systemd cant mount partition

I use a ssh tunnel at work to browse the internet. Yesterday I realize that my terminal is very slow responding to commands, I inspect htop, iotop, netop and see nothing in particular, only the ...