systemd is a collection of daemons, libraries and tools for system management. Ubuntu's Upstart system was replaced with systemd starting with Ubuntu 15.04.

learn more… | top users | synonyms

1
vote
1answer
19 views

Properly disabling predictable interface naming on Xenial

I'm running a few Ubuntu Xenial instances on an Openstack private cloud, and running into trouble with predictable network interface naming. I've tried to disable it by setting GRUB_CMDLINE_LINUX="net....
0
votes
0answers
10 views

Running systemctl rescue on Ubuntu 16.04 closes console

I thought that entering the command systemctl rescue in a root shell on the console should make the host enter "single user mode", possibly broadcasting other users about the shutdown. However, I ...
1
vote
0answers
15 views

How do I delay a systemd service so that nvm & node are correctly initialised before running?

I have the following service: [Unit] Description=Launch Demo [Service] Type=forking ExecStart=/bin/bash /opt/Demo/launch_script.sh [Install] WantedBy=multi-user.target The launch_script.sh ...
1
vote
0answers
12 views

Why doesn't a systemd-nspawn server restart after reboot or crash?

I have an otherwise working systemd-nspawn managed container (minimal Ubuntu 16.04 from debootstrap) but I cannot make it restart when crashed/rebooted. The unit file is # cat /etc/systemd/nspawn/...
7
votes
3answers
198 views

How to run tmux/screen with systemd > 230?

I run 16.04 and systemd now kills tmux when the user disconnects (summary of the change). Is there a way to run tmux or screen (or any similar program) with systemd 230? I read all the heated ...
0
votes
0answers
11 views

Systemd can't analyze kernel boot time?

Is there a way to make systemd plot kernel module times or be aware of Kernel time information? dmesg isn't horrible but I would appreciate something that point me less details like only modules time ...
3
votes
0answers
88 views
+50

Can't get out of console mode. Screen dies after 10 minutes

A single-board computer (Lubuntu 15.10, kernel version 4.2.0-41-generic) kept freezing when running various applications, most importantly the automated data acquisition application we are developing, ...
6
votes
2answers
186 views

Disable snapd.refresh.service on 16.04 to speed up boot (no snap packages in use)

I run Ubuntu 16.04 but never installed any snap packages, at least not that I would know of any. Here are my slowest processes at boot: $ systemd-analyze blame | head 9.057s snapd.refresh....
0
votes
0answers
36 views

network restart fail on Ubuntu server 16.04

In Ubuntu 16.04 server I want to change IP from /etc/network/interfaces and run sudo service networking restart and there is no error given but the IP didn't change. I also ran sudo systemctl ...
0
votes
0answers
20 views

timedatectl or dpkg-reconfigure tzdata in 16.04

I've been using the following script to set Ubuntu 14.04 servers to UTC timezone: echo "Etc/UTC" > /etc/timezone dpkg-reconfigure --frontend noninteractive tzdata echo UTC=yes >> /etc/...
0
votes
0answers
72 views

Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

I am running ubuntu 16.04, and when I try to install a program using apt-get install (really any program, but take git-all for example), I get the following error: start: Unable to connect to ...
0
votes
1answer
26 views

How to prepare an Ubuntu bootstrap for non-privileged systemd-nspawn?

I created an Ubuntu 16.04 bootstrap (via debootstrap) to be run via systemd-nspawn (also on 16.04). When started by # systemd-nspawn -D <mycontainer> I get a fully functional, correctly ...
0
votes
0answers
8 views

Remnants of Runlevel 5 when I drop down to Runlevel 3

I changed my VBoxed Ubuntu Gnome 16.04 to boot to the multi-user.target by creating a symlink of multi-user.target as /etc/systemd/system/default.target. When I want to go up to the GUI, I just run ...
0
votes
0answers
51 views

Can initramfs mount multiple partitions?

We're using dm-crypt to encrypt a data disk and would like to use Mandos to facilitate unattended boot. Unfortunately, I'm to understand that: Mandos depends on the keyscript feautre of crypttab, ...
2
votes
1answer
35 views

How to change naming scheme for network interfaces of an already installed Ubuntu 16.04?

I want to change naming scheme for network interfaces for the classic one (eth0, eth1, etc). Is it possible to an already installed Ubuntu 16.04 machine?
1
vote
0answers
48 views

130+% CPU usage /lib/systemd/systemd-timesyncd

Short introduction - I'm new to this forum. I'm a gaming nerd with a passion for stable gameservers. Therefore I run a few Linux-machines to complete different tasks. One of my servers started acting ...
0
votes
1answer
135 views

Apache2 fails to start on boot with Ubuntu 16.04

I have just created a new Ubuntu 16.04 server (on digital ocean, if it matters). I have set up Apache2, and it runs correctly, but on every restart it fails to boot. I get the following from ...
0
votes
2answers
59 views

How can I configure vboxweb to listen on specific adress on Ubuntu 16.04?

By default vboxweb.service is only listening on the ipv6 local address ::1. I need this service to listen on all ipv4 addresses so I can use the service remotely. user@vboxhost:~$ netstat -nl |grep ...
0
votes
0answers
20 views

How to start a docker container with Ubuntu boot? [duplicate]

I would like to start a Docker container with the Ubuntu host boot.
0
votes
0answers
24 views

How does display a Error/Failure message for a Daemon service starting fail using Systemv init script

I have a USB driver program to detect devices from a particular PID & VID pair, I wrote a SystemV init script for ubuntu 14.04 using default basic init script located inside /etc/init.d/ directory....
1
vote
1answer
29 views

Is having init 6 function without sudo normal or an oversight?

Since I've been manually updating Ubuntu MATE 16.04 using apt update, upgrade I also manually reboot using this command sudo init 6 Once I forgot sudo and it worked; further testing proved that ...
0
votes
1answer
110 views

systemd stuck at “Powering off.” on 16.04 - Dell Latitude

With a fresh install of Ubuntu 16.04 on an old computer* that's been running 14.04 fine, Ubuntu won't fully shut down. I've tried the fix everyone suggests, namely, changing a line in /etc/default/...
1
vote
1answer
57 views

Prevent vlan and bridge interface rename to renameX form

Ubuntu 16.04 server. Almost all vlan and bridge interfaces are renamed to the form renameX. How to prevent, or control the way interfaces are renamed? I know that this is done by systemd, I know how ...
1
vote
0answers
34 views

Ubuntu gets black screen after initial logo

Tonight I was using my Ubuntu and after I finished all my work, I turned it off. Today, I'm trying to boot it, but I'm getting a black screen right after the Ubuntu Logo. After a long time searching ...
1
vote
1answer
95 views

VirtualBox Ubuntu guest from real partition image boots into emergency mode, can't get to login screen

I've got a dual boot system on my disk: Windows 10 64-bit: main OS Ubuntu 64-bit: secondary OS I installed VirtualBox; I'm trying to use my real Linux partition as a Virtual Machine using Windows ...
0
votes
2answers
52 views

Ubuntu 16.04 systemd user service anomaly

I have enabled and started a user service (systemctl --user enable serviceName... etc.). But when I log off, the service stops. Why? I have made a similar user service on Fedora 22 before, but that ...
0
votes
1answer
30 views

systemd on LTS 14.04 Ubuntu?

Folks, I am wondering if systemd work on 14.04 LTS? I don't need fully replace from Upstart to systemd, because of future planning, we might want to config service running via systemd instead of ...
0
votes
1answer
341 views

Change runlevel on 16.04? [duplicate]

Pretty simple, I am trying to change the runlevel. Everything I find online points me to the file located in: /etc/init/rc-sysinit.conf Here I have tried changing the "DEFAULT_RUNLEVEL" to 3 or ...
2
votes
0answers
53 views

Ubuntu 16.04 - Time shown by clock widget in the task bar is incorrect

I have already manually setup some symlinks that should guarantee system time to be according to the locale I want, namely ln -sf /usr/share/zoneinfo/Canada/Eastern /etc/localtime ln -sf /usr/share/...
1
vote
2answers
84 views

Debugging systemd for mongodb 3.2 on ubuntu 16.04 — sig 15 killing

I've installed mongodb-org and mongodb-org-server following the instructions on mongodb.org (though for ubuntu 14.x) At this point running mongodb directly works; sudo -H -u mongodb bash -c "/usr/...
3
votes
2answers
271 views

How to see why “snapd.refresh.service” failed to start on startup?

After upgrading to snapd version 2.0.8 I have noticed that I get an error message about snapd.refresh.service failing to start on startup, the error tells me which command to run in order to see why ...
0
votes
0answers
64 views

Systemd, start user level unit with sudo access

I have a Debian package which installs my software and it needs to start two applications in post install script. First one is daemon and the second one is a background process both are managed with ...
2
votes
0answers
32 views

How to add Hybrid Suspend to Shutdown menu?

If I want to put my PC to hybrid suspend I use this command: systemctl hybrid-sleep But is there convenient way to add this shortcut to shutdown menu alongside with regular shutdown and reboot ...
1
vote
1answer
91 views

Shut Down Quickly - A stop job is running

In systemd based systems, such as debian 8 and ubuntu 16.04, I have this issue whereby the machine will refuse to shut down if I forgot to stop my openvpn connection before sending the command to shut ...
1
vote
1answer
108 views

Ubuntu 16.04 Complicated Interface Names [duplicate]

I'm trying to figure out how to restore the simple interface names in Ubuntu 16.04. I.e. enp3s0 renamed to eth0. I have tried to modify the GRUB configuration. I have tried editing /etc/udev/rules.d/...
1
vote
2answers
120 views

Hibernating from cron

I am trying to hibernate from cron using the command systemctl hibernate. However, I am getting the following error: Failed to set wall message, ignoring: Interactive authentication required. ...
3
votes
1answer
49 views

Execute script on every start, wakeup and activation!

I want to execute a script on every start up, wake up and activation. In the current setup the script is executed in: /etc/rc.local /lib/systemd/system-sleep It works so far, but if I reactivate my ...
0
votes
0answers
19 views

Service always binds to 127.0.0.1 when started by systemd?

my Unit File: [Unit] Description=TW5 Bacula Wiki After=nginx.service Requires=nginx.service [Service] TimeoutStartSec=5000 ExecStart=/usr/local/bin/tiddlywiki /home/pi/tw5/linux/bacula --server 9094 ...
2
votes
0answers
119 views

Ubuntu 16.04 kills session when resource usage is extremely high

I'm working on project in hadoop on my computer. When I start some job consuming most of the available resources (100% CPU, high RAM usage) 'something' kills my user's session and all its processes. ...
0
votes
0answers
121 views

16.04 , rabbitmq, systemD and status of the service or daemon

Having just installed 16.04 on a new dev laptop, i'm seeing conflicting status info on the way that systemD handles rabbitmq-service daemon... I think i installed rabbitmq prior to erlang and then ...
0
votes
0answers
62 views

Ubuntu 16 Systemd definition issue

I have created a new definition of service under Ubuntu 16: [Unit] Description=test [Service] Type=forking ExecStart=/home/test/tset.sh start ExecStop=/home/test/test.sh stop [Install] WantedBy=...
1
vote
1answer
70 views

Start a Xenial lxc container on a Trusty machine

I'm having trouble starting a xenial lxc container on my trusty machine. I had no problems installing the container (by following this guide, which also allowed me to create and start some other ...
0
votes
0answers
56 views

Create a dameon with GUI interface with systemd

I've wrote a small app (for test purpose) in C++ using SFML that use some GUI stuff. I need to run this like a daemon. This app is a small http server and I talk with it via REST (I'm using cpprest) ...
2
votes
1answer
558 views

How to remove systemd from Ubuntu 16.04 and prevent its usage

I was able to enable upstart and disable systemd with commands that follows, but I was not able to prevent its auto re-installation when invoking apt-get install lxde (I am used to a serious server ...
0
votes
1answer
36 views

How to install Apt package without starting systemd process?

How can I install an Apt package, and prevent its systemd process from starting? A similar question was asked and answered years ago, except for SysV instead of systemd. (Installing the package, and ...
2
votes
1answer
67 views

How do I get my script to run BEFORE any shutdown sequence like unmounting my external drive

I have a back up script in ~/scripts/backup.sh and my upstart conf in ~/.config/upstart/shutdown.conf. description "my shutdown script" start on desktop-end task console log script exec ~/scripts/...
0
votes
0answers
31 views

Auto start on login with auto restart on crash

I have an app that changes my background image based on the weather. I'm looking for a way to make it start when I log in and restart when it crashes. I know I can use the ~/.config/autostart ...
0
votes
0answers
148 views

systemd-logind: Failed to enable subscription:

I am not able to login in GUI using systemd (see just black screen). The following message appears in the dmesg: [ 104.609973] systemd-logind[1775]: Failed to enable subscription: Launch helper ...
0
votes
2answers
68 views

Super confused between upstart and systemd

Given I'm running 15.10 my system should be using systemd confirmed by... $ ps -p1 | grep systemd && echo systemd || echo upstart 1 ? 00:00:02 systemd systemd But I have an ...
3
votes
0answers
1k views

Ubuntu 16.04 won't shutdown

On my MSI GS60, when I try to power off Ubuntu 16.04 LTS the laptop will not shut down. Reboot works fine though. I have removed the quiet splash parameters for grub so I can see the output. When I ...