The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
17 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
16 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
33 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
0answers
13 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
28 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
27 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
48 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
51 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
51 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
46 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
0answers
6 views

How does slash work in systemd time notation?

The documentation for systemd.time contains this example: Examples for valid timestamps and their normalized form: [...] *:2/3 → *-*-* *:02/3:00 From the normalized form this is ...
0
votes
1answer
40 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
56 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
122 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
18 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 ...
1
vote
2answers
169 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
66 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
312 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
0answers
56 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
97 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
36 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
27 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
18 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
180 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
61 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
33 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
77 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
59 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
161 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
521 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
330 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
273 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
88 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
113 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
87 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
110 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
1k 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
80 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
146 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
570 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
31 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
265 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 ...
0
votes
2answers
321 views

Why does systemd process stop as soon as it starts for foreman server process?

I am trying to export a simple Ruby app using foreman. Based on its usage for systemd, I appear to be doing things correctly. However, when I start the target/service, I get status messages along the ...
0
votes
1answer
170 views

What is DNS setting in *.network systemd-netword for when without /etc/resolve.conf does not work?

This is content of the /etc/systemd/network/dhcp.network file for systemd-networkd in Arch Linux. [Match] Name=en* [Network] DHCP=v4 DNS=8.8.8.8 I expected that this would be everything necessary ...
0
votes
0answers
150 views

Execute Virtual Box Shared Folder Mount on Startup on Cent OS 7

I try to execute a mount command on startup in Cent OS 7. With FSTabs it did not work, so I tried the following: Creating the folder vbox-shared-folder-mount.service with the following content: ...
1
vote
0answers
45 views

Preferred/Idiomatic method to enable a systemd.service from a Debian package installation

I have a custom Debian package I've built for our software that creates a systemd service. What is the preferred/idiomatic way to have the installation of said package enable/start the service at ...
1
vote
1answer
659 views

Debian not reboot or shutdown

I'm truck with a simple problem of rebooting with my installation of Debian 7. I got inspire by this issue but it's not working. I tried a lot of combinations but still nothing. I'm not sure about ...
2
votes
0answers
548 views

PM: Hibernation image not present or could not be loaded

After hibernating with systemctl hibernate, the system boots normally as if it had been shutdown. I have the resume parameter in the kernel line and the resume hook in mkinitcpio.conf These are the ...
0
votes
0answers
151 views

Can a Type=notify systemd service exit gracefully if WatchdogSec is set?

I have a service registered to systemd with WatchdogSec=10, Type=notify, Restart=no and a specific OnFailure action. My problem: whenever I trigger a graceful exit (by some internal logic dependant on ...