systemd, created by Lennart Poettering and Kay Sievers, is a modern replacement for the traditional Linux init, whether System-V or BSD-style initscripts. Its main features include the ability to express dependencies between services and aggressive parallelisation of service startup.

learn more… | top users | synonyms

0
votes
1answer
18 views

systemctl throwing errors on start/enable after package instal [duplicate]

In the effort to lock down a new Centos box I am building I am installing iptables. I would like to be able to put this in a script so I can do this to other boxes but I am getting some odd errors ...
0
votes
1answer
21 views

Elasticsearch service often goes down or gets killed

My webserver is running ubuntu 14.10 with elasticsearch 1.5.0 and java 1.7u55 For some reason, the elasticsearch service often goes down, resulting in my website not being available to my users ...
1
vote
0answers
23 views

Use of CPUQuota in systemd

I am trying to put a hard limit in CPU usage for a dd command . I have created the following unit file [Unit] Description=Virtual Distributed Ethernet [Service] ExecStart=/usr/bin/ddcommand ...
1
vote
0answers
15 views

systemd Unit file for GitLab

I am currently writing a Puppet module to get GitLab running on CentOS 6/7. For the CentOS 7 install I need to write a systemd unit file to start the gitlab service (which is actually Unicorn & ...
2
votes
0answers
20 views

proc-sys-fs-binfmt_misc.automount failed service

I am using ubuntu 14.10. I have just installed systemd and I have a failing service, proc-sys-fs-binfmt_misc.automount. I've seen here it's a part of systemd: Is this file important? How do I solve ...
1
vote
0answers
25 views

CoreOS: `fleetctl stop <service>` always exits with status 137

I've been trying to familiarise with CoreOS (v. 633.1.0), and I've been playing around with fleet (I'm using the recommended Vagrant 3-cluster setup on my local machine). I have created the following ...
2
votes
0answers
33 views

elasticsearch fails periodically on ubuntu with systemd : how to resolve this?

I am using Elasticsearch on Ubuntu 14.10 and it's periodically going down (entering a failed state). When down, this throws exceptions on my website, users can't search, connect or update database ...
3
votes
0answers
30 views

Systemd: start a unit after another unit REALLY starts

In my particular case I want to start remote-fs unit after all glusterfs completely starts. My systemd files: glusterfs target: node04:/usr/lib/systemd/system # cat glusterfsd.service [Unit] ...
0
votes
0answers
15 views

How to do policy routing with systemd?

I need to do policy routing on my CoreOS instances which use systemd. But I haven't found any documentation or examples on how to do it with systemd-network. How do I do that? So far I have only ...
-1
votes
0answers
12 views

Set up containers using systemd-nspawn

I'm new to this systemd concept. I want to spawn a application process in a lightweight container on a target machine where there is no support for lxc or yum. Any pointers or suggestions will help me ...
1
vote
1answer
36 views

systemd: how do I view journals with journalctl without switching to root on CentOS 7?

If I run journalctl as nonroot, I would get the following message: No journal files were found. But switching to root, or using sudo gives me the journal. How can I view journals without switching ...
-1
votes
0answers
40 views

How can I publish the IP addresses of Docker containers as local hosts? [migrated]

I have a CoreOS server with a few Docker containers. (Right now I'm using local systemd unit files to run the containers, I have yet to approach fleetd.) What is the best way to connect to the (non ...
1
vote
1answer
21 views

Reset / Ingnore non-zero exit code with fleet / systemd

I have a backup.service called every hour by a backup.timer. Unfortunately the backup script running inside the container can complete successful but with warnings returning a non-zero exit code. So ...
0
votes
0answers
21 views

Can FPM make one RPM package that acts differently if systemd is being used?

I build an RPM using fpm for EL6 hosts. It installs a /etc/init.d script. However if that package is installed on an EL7 host, I want it to install a file in /usr/lib/systemd/system instead. Is ...
1
vote
1answer
43 views

docker container systemd unit integration

I run a docker app-container container with an attached data-container. To keep it up even with CoreOS host updates I use a systemd unit file as bellow. I am a bit puzzled to why systemctl restart ...
0
votes
1answer
51 views

How to run Fedora container on Ubuntu host?

I'm using Ubuntu 14.10 and was trying to run a Fedora container. The container I created via given templates does not work properly. I guess the reason is that systemd is not set up correctly. ...
0
votes
0answers
29 views

systemd logcheck rule not working

given is this logcheck rule: ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ systemd-logind\[[[:digit:]]+\]: New session [[:digit:]]+ of user [^[:space:]]+\.$ and this log entry: Mar 19 09:16:09 horst ...
0
votes
0answers
25 views

Getting journald to send email on certain events

I found these solutions for syslogd that send emails on certain events like local0.crit or local1.err How can I make syslogd email certain log messages to me? ...
1
vote
1answer
78 views

Start a program with systemd

I'm trying to install the latest version of ProFTPd (1.3.5) onto a CentOS 7 box, and wound up having to configure and install manually. The reason is that EPEL's version of proftpd doesn't include ...
-1
votes
1answer
21 views

Why systemd service files don't know common $PATH?

As question states, why every systemd service files have full path of programs, for example: ExecStart=/usr/bin/coolprogram when it could just be ExecStart=coolprogram
0
votes
1answer
31 views

Is there a way to run just save with firewalld in RHEL7?

I'm starting to use RHEL7 and learning a little about the changes that come with systemd. Is there a way to perform /sbin/service iptables save in firewalld? $ /sbin/service iptables save The ...
0
votes
1answer
101 views

CentOS7 systemctl calling ExecStop on reboot after my procceses are already killed

I have a systemd script which is as follows: [Unit] Description=My sites Before=shutdown.target reboot.target halt.target [Service] Type=oneshot ExecStart=/bin/bash -c '/etc/xxx/mySites start' ...
0
votes
0answers
96 views

Why does Fleet stop a unit that was running just fine

I've setup a CoreOS server at a cloud provider. It's a single server with etcd and fleet running on it. I've figured out how to package web apps so they can run in docker and I can launch them from ...
0
votes
0answers
170 views

How to run systemd on ubuntu 14.10 utopic in a docker container?

Installed systemd on the host with the following commands: sudo apt-get update sudo apt-get install systemd-sysv copied new /etc/default/grub file with: GRUB_CMDLINE_LINUX_DEFAULT="quiet ...
0
votes
0answers
156 views

CentOS 7 - Systemctl dependency problems with network mount and OpenSM

I have the follwoing problem. I want to mount a glusterfs share over Infiniband on an CentOS 7 client. The glusterfs share '/data' is severed by a host called storage1. For the client I I setup and ...
2
votes
1answer
96 views

systemd-networkd and direct routes

I have problem adding direct routes through systemd-networkd. What I'm trying to achieve is similar to: ip a a 192.168.0.2/32 dev enp0s3 ip r a 192.168.0.1/32 dev enp0s3 ip r a default via ...
1
vote
1answer
71 views

Why do I need to use systemd to set my timezone in RHEL7?

I used to be able to edit /etc/sysconfig/clock, but now I need to use timedatectl, which I believe is a systemd command. What has that got to do with booting the system?
0
votes
0answers
80 views

Play Framework 2.3 startup scripts for systemd?

We're upgrading to Play 2.3.x (which uses activator) and CentOS 7 (which uses systemd). Previously on CentOS 6 we used this SysV init script to start/stop/restart our various Play applications. Is ...
0
votes
0answers
26 views

Systemd: why isn't it possible to use %i in the first argument of ExecStart=?

To quote http://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%lines: The command line accepts "%" specifiers as described in systemd.unit(5). Note that the first argument ...
2
votes
1answer
40 views

Organizing services/daemons with systems: running 100+ daemons, grouped by 3

I'm new to systemd. I have a machine that needs to run a substantial number of daemons. There are three types of daemons, call them daemon-A, daemon-B, daemon-C. These daemons always run in ...
0
votes
2answers
127 views

Docker (systemd) ignores change of default directory (docker.service)

I want to deploy docker on a server, but I want all docker-related data to be in a separate partition from the base system. I have thus mounted said partition at '/srv' and made the following changes, ...
0
votes
1answer
26 views

Remove timestamps from neo4j logs

I'm running neo4j in a CoreOS unit as a docker container. The logs coming from neo4j contain timestamps, but the journal system in CoreOS also has its own timestamps. I'd like to remove the ...
0
votes
0answers
48 views

Teamcity Build Agent gets killed by systemd when upgrading

On our centos system we have configured a teamcity agent as a systemd service. The service works fine except when the agent performs an upgrade. Then it gets killed while performing the upgrade. I ...
0
votes
2answers
46 views

Which directories does nginx need access to?

I'm writing a systemd service file for nginx and an internet facing service running as root is a bad idea, however I need nginx to access a certain directory in each user's home directory. e.g. ...
1
vote
1answer
256 views

CoreOS Systemd sidekick unit unable to start

I have a service with this for a sidekick unit and keep receiving the error: [/run/fleet/units/tomcat-discovery@1.service:11] Trailing garbage, ignoring. tomcat-discovery@1.service has no ExecStart= ...
1
vote
0answers
133 views

Setting the MemoryLimit of a user-created systemd scope using cgroups as user

Related: LImiting overall memory usage for child processes Is there a way for an unprivileged user, or for root to allow an unprivileged user, to create a systemd scope (or other control group ...
1
vote
0answers
66 views

systemd upgrade frozen on “removing any startup links for /etc/init.d/udev-mtab”

I am having an issue upgrading my VPS which runs latest Debian, I decided to switch to testing branch to be able to use OpenSSH 6.7 (the current stable branch only brings 6.0 which lacks many ciphers ...
1
vote
1answer
217 views

systemd-journal in Debian Jessie LXC container eats 100% CPU

After creating fresh LXC based on Debian Jessie, on a Ubuntu 14.04, systemd-journal eats all CPU available. lxc-create -n jessie -t debian
1
vote
1answer
146 views

What happen if a systemd service reach its MemoryLimit?

Does systemd restart the service or the system just refuse to let the service allocate more memory?
1
vote
0answers
54 views

SElinux sandbox fails to start from systemd service

I have a server that runs user submitted code, for evaluation. I wrote a systemd service that starts a python application, that application then run the submitted code using SElinux sandbox. The ...
2
votes
0answers
89 views

Systemd vs init.d Specify systemd dependencies in LSB headers

I have a systemd based system which contains one System V style init.d script with LSB headers. The init.d script must only be started after all filesystems in fstab are mounted. How can I specify ...
3
votes
1answer
218 views

Failed at step EXEC spawning /usr/libexec/mariadb-prepare-db-dir

a bit of a newbie here so mind my obliviousness. I'm trying to install mariadb on a fresh Centos 7 server, though upon running "systemctl start mariadb.service" I get this malarkey: Job for ...
0
votes
1answer
72 views

How to authorize docker so docker pull can get private images inside a systemd service?

I want docker to pull my private images inside the systemd service, so I authorize it by login into the shell of core user and run docker authorize. However, I can see that when systemd start the ...
0
votes
1answer
36 views

Tell systemd to output every command it executes for a unit

I'm trying to run some Docker container on coreos. However, I'm getting some error and is clueless about what went wrong. What I did is to use journalctl -f -u myunit.service to view the log in ...
1
vote
1answer
116 views

how to disable serial console after successful boot (systemd/grub2)

I enable the serial console during the boot process on centos7 which uses grub2 and systemd (instead of inittab) I would like to undo that serial input/output at the very end of the boot, after a ...
0
votes
1answer
116 views

/etc/auto.master vs /usr/lib/systemd/system/*.automount in centos7

What's the difference/dependency between autofs and systemd automount and declarations in /etc/auto.master versus /usr/lib/systemd/system/*.automount in CentOS 7 ? Do they do exactly the same? If ...
1
vote
2answers
160 views

Only start a Docker container after process in other container is operational

I'm trying to deploy 3 Docker containers, having a dependency relation amongst them (A -> B -> C). Now, each container is supposed to run an Akka-Spray instance, on top of a JVM instance. The ...
0
votes
1answer
61 views

Centos 7 on Windows Azure, who mounts /dev/sdb? (systemd)

I need to find out which systemd service mounts /dev/sdb (aka /mnt/resource) on Windows Azure? I am using Centos 7 image and it is systemd-based and I am trying to launch a service that depends on ...
1
vote
0answers
395 views

Error missing systemd on AWS server

I cant seem to figure out how to install systemd. I am attempting to upgrade mysql server on AWS from 5.5 to 5.6. I am getting the following error when trying to install- "Requires: systemd" Any ...
0
votes
0answers
177 views

Ubuntu 14.10 systemd fails to start network

Most of the time systemd fails to start because ifup@eth0 task fails. But I can see from logs that is actually succeeds and gets IP address. Nov 11 21:32:21 vostro dhclient[414]: DHCPACK of ...