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

0
votes
1answer
16 views

systemd: user service starts at boot with target default/graphical but not multi-user

I tried to start at boot a service running in my user's context, which did not work with multi-user as target but only with default, i.e., graphical. I enabled lingering for my user and the service ...
1
vote
1answer
112 views

Unable to boot after installing after systemd update

First it repeats this error many times: Lvmetad is not active yet, using direct activation during sysinit Volume group "mint-vg"not found Cannot process volume group mint-vg Than it shows: Gave up ...
0
votes
1answer
33 views

Systemd Service for Offlineimap + gpg encrypted PW's inside tmux works manually after system start but not autmoatically

Short description, what i'm searching for: I want to have a detached tmux session automatically started as a systemd user service. Inside that, offlineimap should start and decrypt my login ...
1
vote
0answers
46 views

Sync mail with offlineimap via systemd service/timer; getting password from gnome keyring

I am trying to autosync my mail in mutt using offlineimap via a systemd service. I am using these files and have moved them to the /etc/systemd/user folder. However, I am storing my password via the ...
1
vote
0answers
176 views

Random packet loss with bonded interfaces?

I'm trying to setup a LACP bond using systemd-networkd on an arch server. When I try to ping the gateway I seem to be getting intermittent package loss which lead me to believe the LACP isn't setup ...
0
votes
1answer
12 views

Resource for understanding Beglebone Black boot process with systemd [on hold]

We have BBB based custom Linux board running Linux 3.12 We are using SysV init, for boot, And I understand that boot happens in following sequence, ROM code looks for boot device based on boot pin ...
0
votes
0answers
14 views

Network mount /var with systemd

I'm trying to get my system to mount /var with a custom script that downloads the decryption key from a network server. I had a solution that worked in RHEL 6 with SysVinit. I'm trying to port that to ...
0
votes
1answer
20 views

How do I to set multiple IP addresses on an interface in systemd?

So in /etc/systemd/network I have a file lan.network: [Match] Name=eth0 [Network] DHCP=no [Address] Address=192.168.59.1/24 Sometimes I bring additional equipment onto that same interface but it'...
5
votes
0answers
32 views

systemd user cannot get user group's ability

I added a non-root user in docker group, and an other service run as this non-root user connect to docker daemon. but the service can not work. I do a test example for this : root@# systemctl start ...
5
votes
1answer
2k views

Enable systemd-baclight@intel_backlight instead of systemd-backlight@acpi_video0

I have 2 files in /sys/class/backlight/ - acpi_video0 and intel_backlight. intel_backlight is the one which controls my screen brightness (echo/cat), however acpi_video0 is the default. By default ...
0
votes
1answer
22 views

How to expose a directory to a container?

I would like to expose to a container (Ubuntu 16.04 created with debootstrap) started with systemd-nspawn a directory of the host system (also an Ubuntu 16.04). Is this possible with systemd-nspawn? ...
0
votes
1answer
11 views

mysql service restarted during user being connected lead to failing service

I have performed a charset change via my.ini into utf8 and forgot a user loggen in in another terminal session, when I performed a service restart. Initially systemd reported a problem stopping the ...
0
votes
1answer
18 views

Why is it taking so long to establish a LAN connection on boot?

I have an issue with a virtual machine taking time to connect to the local network on boot. I create a virtual machine using the following command: virt-install \ --connect qemu:///system \ -...
2
votes
1answer
9 views

How to configure per-unit log storage policy with journald?

I have one particular service, that logs rare, but important information. I've set it up few months ago, and today I've ran journalctl -n 50 --unit=my-service only to find there are no entries. I'm ...
118
votes
6answers
54k views

What are the pros/cons of Upstart and systemd?

It appears systemd is the hot new init system on the block, same as Upstart was a few years ago. What are the pros/cons for each? Also, how does each compare to other init systems?
5
votes
3answers
1k 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 dist-...
1
vote
1answer
702 views

Apache and systemd

I've just started using Debian 8 which has introduced systemd. I'm not interested in the politics around SysV vs systemd, but I am confused, especially around Apache (2.4). There are now two ways to ...
6
votes
3answers
5k views

ERROR: Root device mounted successfully, but /sbin/init does not exist

I've installed Linux Mint and Manjaro Linux on my computer. I installed only the Linux mint on the MBR. For Manjaro, I created a /boot/efi partition, but I have not checked to install to MBR. So, I ...
12
votes
2answers
11k views

Printing problem with ArchLinux and CUPS service

Sice a few days (I suspect since I have upgraded to gnome 3.14) on ArchLinux I can't print anymore. If I open the printing panel of gnome control center I get a message like (it's translated from ...
1
vote
1answer
38 views

Laptop reboots instead of resuming from systemd suspend when on battery power (suspending on AC power works)

After some updates to the kernel, my laptop doesn't resume anymore if it's not connected to a power source. If I plug in the AC and then suspend, it will resume. I thought that this was related to ...
12
votes
1answer
8k views

suspend AND lock screen on closing lid in arch/systemd

what is the most straightforward way to lock the screen AND suspend when closing the lid? I'm using event hooks in /etc/systemd/logind.conf and successfully suspend upon closing the lid. However I'm ...
3
votes
1answer
28 views

cgroups/systemd: How to create a cgroup for a process tree [non-root]

As a non-root user, I'd like to be able to start a process that will start a bunch of other processes (think of a 'make' session, or the way Google Chrome starts a process for each tab) and have the ...
0
votes
0answers
17 views

LMDE 2 boots to black screen but if I choose 'systemd' it loads normal

I made the unfortunate mistake of copying and pasting some stuff and now LMDE boots to a black screen. However, if I interrupt the boot process and choose the option with (systemd) at the end, it ...
1
vote
0answers
32 views

Integration of `afuse` with `sshfs` as a (systemd?) user-daemon spawned from login or first shell

To facilitate working with remote files, I setup afuse with sshfs to run from my .bashrc. It works, after bash init all my remote trees from ~/.ssh/config/ are mounted on-demand under ~/scp/, but ...
10
votes
3answers
6k views

How to change timeout in systemctl

When I boot on my debian, startup hangs for approx 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/3491328 blocks [...
1
vote
1answer
17 views

Starting additional OpenVPN connection under systemd

I have a couple of OpenVPN connections to various servers that are autostarted when I log into my laptop. Other connections, to production servers, have to be set up manually. Until recently I ran ...
1
vote
0answers
132 views

switch_root with systemd: “Too many levels of symbolic links”

I'm trying to boot a proprietary kernel build and OS after an upgrade to libc and numerous other tools. I'm booting using an initramfs in the 3.2.0 kernel with some utilities, like busybox. However, ...
0
votes
1answer
26 views

What is VC keymap?

Here is what I get when executing localectl status: $ localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us-acentos X11 Layout: us X11 Model: pc104 X11 Variant: ...
0
votes
0answers
30 views

systemd underestimates boot time. How can I try upstart?

Sorry in advance if this is a stupid question, but I'm new to this issue and every time I google it, I just get comparisons of upstart versus systemd. Anyway, my Samsung laptop with Mint 18 is taking ...
1
vote
3answers
551 views

Asus UX303UA rebooting instead of resuming from suspend (ubuntu 15.10)

I installed ubuntu 15.10 (kernel 4.2.0-22-generic) on a brand new Asus UX303UA laptop. Almost everything works fine, but I have some trouble with suspending: When the laptop is plugged in (charging), ...
3
votes
0answers
30 views

How to remount a Systemd mount unit with different options?

I wish to express the following sequence of commands in terms of Systemd mount units and systemctl invocations: # mount /some/path /some/mountpoint -o ro # mount /some/mountpoint -o remount,rw # ...
3
votes
2answers
3k views

dhcpcd can't startup at boot

when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive dhcpcd@eth0.service loaded ...
1
vote
1answer
20 views

Not getting ip when running dhcpcd wlan0 inside startup script

Rasbian on a Rasberry PI zero. I have disabled the networking and dhcpcd services from startup and want to start networking and get an IP from within my own script, which is initiated from a custom ...
1
vote
0answers
19 views

Can we specify percentage value for RuntimeMaxUse attribute in journald.conf

From man page of Journald.conf I came to know that, by default Journal use 10% of file system size for storing journal files. I have configured below values in journald.conf. RuntimeMaxUse=10 #...
0
votes
0answers
19 views

udev rule not executing the script specified in RUN

I have the following in /etc/udev/rules.d/40-swallowpv.rules: ACTION=="add", KERNEL=="sd[a-z]+", RUN="/var/tmp/swallowpv sdc" (I've also tried with RUN+= to the same effect). The first thing the ...
1
vote
1answer
20 views

Systemd: pipe input to daemonized server?

So I have a server that I can run from a bash terminal using e.g. java -jar spigot.jar which will send output to stdout (I believe), and thus be printed to the terminal screen. To stop the server ...
0
votes
0answers
766 views

Cannot start snmpd correctly

I trying to setup snmp in an ubuntu-server 15.10 to perform some tests. I have installed snmp as: sudo apt-get install snmp snmpd snmp-mibs-downloader After the installation I commented the ...
0
votes
0answers
9 views

What am doing wrong with this systemd/Timers setup?

I want "bot.sh" to be executed every 15 minutes. What am I doing wrong? /etc/systemd/system/redditbot.service [Unit] Description=reddit bot anti_anti_adblock [Service] Type=simple ExecStart=/home/...
3
votes
2answers
1k views

Stable server distribution without systemd (for OpenVZ)?

I don't want this to become a "my distribution is better" flamewar so please read the whole question and only answer if you know a distribution that fulfils all requirements. The situation is the ...
1
vote
1answer
28 views

What does systemctl with status command? [closed]

When I run eg: systemctl status nut-monitor.service what does systemd do? If I take a look to unit file I don't find any clue: cat /usr/lib/systemd/system/nut-monitor.service [Unit] Description=...
1
vote
0answers
19 views

restart a service after device has been mounted

Is it possible to restart a systemd-service A from another unit B? the service A (to be restarted) is supposed to run, regardless of the status of B, but once B becomes active (or inactive) it needs ...
0
votes
1answer
3k views

Runtime parameters for a systemd service

I am a little confused about how runtime parameters are normally supplied to a systemd service. The general idea I have is that the following happens: There is a file that contains the environment ...
0
votes
0answers
28 views

Boot Linux with sysVinit and systemd hybrid

I have a firmware loading tool that uses a two-step boot process modeled after a live disk, running on an embedded device. First, Linux boots using SysVinit and inittab runs the tool. Next, the ...
1
vote
0answers
10 views

Setting locale in a systemd-nspawn container (debian jessie)

Trying to get powerline/airline symbols to show in vim running in a Debian container created with sudo systemd-nspawn -D ~/debian-tree/ on a Fedora host. Right now it just shows question marks in ...
0
votes
1answer
29 views

Unable to start posgtresql, the reason isn't clear

I've installed postgresql by pacman. Now I'm trying to run it: $ sudo systemctl start postgresql Job for postgresql.service failed because the control process exited with error code. See "...
3
votes
1answer
38 views

Warning because addgroup tries to create an already existing user group

I am trying to run the command dpkg --configure -a in order to fix dpkg so I can apt-get programs. I get the error addgroup: The group 'systemd-journal' already exists as a system group. Exiting. ...
1
vote
1answer
63 views

Adding delay between stop and start of a process in systemd

I have a really strange issue with systemd. When I issue a systemctl restart it will start the new process before the previous one finishes. This can be seen in the log, where the final shutdown ...
0
votes
1answer
51 views

NetworkManager wireless connection fails to connect

I am trying to get wireless networking to work on my laptop under Arch Linux. While I am able to scan for and see wireless signals, I can't seem to connect. nmtui produces: The network I am trying ...
1
vote
1answer
113 views

Enabling 'linked' unit files in Systemd

I am still getting to grips with systemd and have run into something. It's not so much a problem, but I would like to learn more about the way this is. I could not find any reference to this elsewhere....
1
vote
0answers
36 views

Systemd networking service fails because of unknown interface

My problem is related to USB tethering and network interfaces. When I run ifconfig -a, normally I see 3 interfaces - loopback, WiFi and Ethernet. I have defined gateway, netmask and broadcast for ...