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
35 views

trim systemd package

I'm trying to trim down utilities provided by systemd because some of them are not so useful to me, e.g. graphical functions, systemd-analyze etc. I searched online but most threads are talking about ...
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, ...
2
votes
1answer
43 views

In journald, why are some sshd log entries not attributed to ssh.service

When using journalctl to inspect my journald logs the output from the commands journalctl -u ssh.service and journalctl _COMM=sshd differ. The first command produces just a subset of the log ...
1
vote
1answer
48 views

why does systemd cryptsetup try to remount the root partition already mounted?

I have /etc/crypttab as follows: sda7_crypt UUID=<...> /dev/sda8:/keyfile luks,discard,keyscript=/lib/esi/tpm_key_pass sda7_crypt is my root filesystem, so I use update-initramfs to decrypt ...
5
votes
1answer
320 views

How can a poor old non-root user get the core dumps systemd ate?

As we know, with systemd, core dumps don't just get written to the current directory but to some obscure journal. Now, I'm a poor old non-root user on some machine, and - I want my core dumps! I can't ...
1
vote
0answers
48 views

Debian boot with encrypted disks: RAID is not assembled

Situation I am running Debian 8 on my machine. The disk setup is as follows: # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 55.9G 0 ...
0
votes
0answers
15 views

i want to login without waiting for filesystem checking, it was easy with upstart

With systemd, how may I login while filesystem checking is still in progress? With upstart all i needed was to redefine one or more of /etc/init/ttyN.conf and/or /etc/init/ssh.conf with "start at ...
1
vote
0answers
45 views

K99 stop order in pure systemd unit

I need to run a script on shutdown, reboot or systemctl isolate rescue.target or init 1. I have some sysv init scripts (my OS is Centos7). My script should run after all these scripts stopped. Their ...
0
votes
0answers
55 views

How to start/run a .mount file (systemd)

I have a pretty simple systemd unit file, but it doesn't end with .service, it ends with .mount. I'm not sure how exactly this makes it different, but when I start it using systemctl start hello.mount ...
0
votes
2answers
66 views

Systemd bash builtins

I have an application that needs to use the commando source for setting his environment file. [Unit] Description=Programname After=syslog.target network.target [Service] User=root ExecStartPre=...
3
votes
1answer
687 views

Debian won't shut down (Failed to start poweroff.target: Transaction is destructive)

I stumbled upon a weird behaviour of my BunsenLabs GNU/Linux. Sometimes I cannot turn off the OS. I doesn't matter whether I use sudo poweroff or the GUI approach. This is what I get after running ...
1
vote
0answers
49 views

Problem with systemd & ksoftirqd

I've a server which runs Debian 8. I think there's something wrong with systemd & ksoftirqd. In fact, if I perform a systemctl's command (like systemctl mysql restart) it returns nothing and I ...
0
votes
1answer
87 views

Davmail headless doesn't work on Arch Linux?

I'm using the AUR davmail package that comes with a systemctl script, similar to the one found here. Unfortunately it doesn't work. ⚘ systemctl --user status davmail@wayne.service ...
1
vote
0answers
134 views

Automatically enable systemd services installed using deb?

I'm building a bunch of services to install on my own (automatically created) servers. I'm migrating from upstart on Ubuntu 14.04, where services are enabled by default (we have to do extra work if we ...
0
votes
1answer
44 views

Can I tell if I'm running in systemd? [duplicate]

I have a Python service in systemd. I'd like to have it use the Python syslog module for logging if it's running in systemd vs. otherwise. Is there a reliable way to determine if I'm running in ...
0
votes
0answers
58 views

no MariaDB logs in journalctl

With jounralctl I see no logs for MariaDB, but for puppet every run. # journalctl -u mariadb -- Logs begin at Mon 2016-02-29 06:26:34 CET, end at Mon 2016-04-04 18:23:00 CEST. -- # systemctl status ...
0
votes
1answer
83 views

Boot into rescue mode in systemd

After I installed KDE Plasma, I used systemctl enable sddm-session, and after reboot I found a black screen and I can't do anything. Is there any way to boot into the command line? I can't disable ...
4
votes
1answer
162 views

SystemD not running an ExecStartPre until I reload and restart the service

I am overriding the Docker SystemD start-up script to extend it with an environment file. I have defined my configuration file at /etc/systemdb/system/docker.service.d/docker.conf like so: test -d /...
1
vote
1answer
550 views

How do I clear journalctl entries for a specific unit only?

I spent a few days writing a python script, and creating a systemd unit file for it. During testing, the script logged a lot of errors to journald. I would like to clear those errors from journald now ...
0
votes
1answer
50 views

/etc/issue file does not get reflect without login logout

I changed my /etc/issue file to display IP and system info with background color, and built a system which run on CentOS 7, but problem is when i deploy my machine on ESX it display regular /etc/issue ...
0
votes
1answer
291 views

Running systemctl vs systemctl status

I know systemctl by itself is supposed to give me all the running services and using systemctl status (with application name, ie foobar) gives me more details on that service. However I noticed I can ...
1
vote
1answer
46 views

Systemd: Run a job at startup _successfully_ to completion

I've read the systemd service manpage a few times, but I still cannot figure out a basic systemd pattern: I want to run a startup process once (like a docker container, or format a drive) at bootup, ...
2
votes
0answers
50 views

How would I limit users' sudo permissions for journalctl to a specific unit?

I want to provide our users access to journalctl of a specific unit. For e.g., httpd. My initial thought was to specify the command spec like this: /usr/bin/journalctl -u httpd.service * This will ...
4
votes
0answers
40 views

How do I run a systemd oneshot service whenever my system gets a new IPv6 address?

I would like to run a systemd oneshot service whenever my system gets a new IPv6 address assigned to it from the network router (this would be on boot, and periodically throughout its uptime). ...
0
votes
0answers
25 views

Upgrade package Ubuntu 15.10

I would like to upgrade systemd to it's most recent version 229( currently I have 225) but when I try to do it via command line I get systemd is already the newest version. I suspect 225 is the ...
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
1answer
222 views

How do I start Unicorn using systemd/systemctl?

I've wrote a systemd file for systemctl to start unicorn: [Unit] Description=Unicorn server [Service] SyslogIdentifier=my-app-unicorn User=deployer PIDFile=/tmp/unicorn.my-app.pid WorkingDirectory=/...
0
votes
0answers
765 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 ...
1
vote
1answer
148 views

Ubuntu 15.10 - Unable to disable daemon using Systemd

I've tried disabling MPD (Music Player Daemon) using Systemd: sudo systemctl disable mpd sudo systemctl status mpd mpd.service - Music Player Daemon Loaded: loaded (/lib/systemd/system/mpd.service; ...
0
votes
0answers
16 views

journald 'forgets' correct unit name for shell-based units?

With a unit file like this one here, and an (exectuable, with shebang) shell script as named: [Service] Type=oneshot ExecStart=/some/shell/script.sh I get journal output like this: Mar 10 17:11:27 ...
0
votes
1answer
125 views

Timeouts with authd on CentOS 7

I am currently trying to augment my mailsystem by allowing servers that received mails from me within the last ten seconds to perform ident lookups. While the needed iptables rules are working ...
2
votes
1answer
73 views

How to encrypt a live root fs remotely and unlock it via ssh

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
1
vote
1answer
49 views

Where to put socket so PrivateTmp can be true

I have a C++ program which must communicate with other services (including httpd), and does so via a socket in /tmp With the advent of systemd and the PrivateTmp=true setting, processes like httpd ...
3
votes
1answer
335 views

Debian-Jessie: How do you check iptables status?

In old sysvinit I would just do service iptables status and see if it was running or not. But in newer Debian-Jessie I grep for iptables in the list of services and don't see iptables listed anywhere....
0
votes
1answer
60 views

Simple manager for systemd

Is there a manager that would run in the console, similar to sysv-rc-conf, that works with the latest systemd under Linux? Ideally it would be able to operate on all runlevels, and be ncurses based.
0
votes
0answers
68 views

autofs asks password for passwordless samba share on Centos 7

I have a samba share that does not require password. Here are non-default lines in my smb.conf: [global] map to guest = Bad User [distr-ro] path = /home/distr public = yes ...
4
votes
0answers
49 views

systemd: Restart units stopped by Conflicts option

I have two services A and B which run continuously, for them I use systemd service units. At specific times service C should be run, I can do this using a timer and a service with the same name. C ...
2
votes
1answer
457 views

Why does systemd prints “Looping too fast” and what to do?

I'm running a server (VPS) with Debian 8.3 (jessie) and systemd manages different processes. The load of the system is below 1, but it uses nearly all memory and some share of swap space. When I try ...
0
votes
0answers
221 views

systemd vs xinetd

I have a CentOS 7 system which uses systemd, and I want to start a tftp server. I'm confused about the right way to do this. I've seen some posts that say install xinetd and launch it from there (...
0
votes
0answers
77 views

Does the following error indicate my system is compromised?

[FAILED] Failed to Verify Integrity of password and group files. See 'systemctl status shadow.service' for details. I get this message in T1 every time I start up the computer but I havn't noticed ...
0
votes
1answer
88 views

help understand /var/run/systemd/sessions/2 file / or hacked?

I have a ubuntu box and found this "2" file in /var/run/systemd/sessions. First thought was that I have been hacked because I don't recognize this IP address and have not explicitly configured this ...
4
votes
0answers
58 views

Workaround for mount -bind behavior change between wheezy and jessie?

I recently upgraded a system from wheezy to jessie that makes use of bind mounts. But with the update the behavior of the bind mount has changed, and now acts as bind one filesystem will recursively ...
1
vote
0answers
18 views

Service doesn't start on boot [duplicate]

I created following service in /etc/systemd/system/conkyAutostart.service [unit] Description=Conky Autostart [Service] Type=simple ExecStart=/AutostartScripts/conkyAutostart.sh [Install] WantedBy=...
2
votes
2answers
162 views

Start/stop a systemd.service at specific times

I want to start and stop a systemd.service at specific times. Presumably I will use a .timer unit to start the job, but is there a built in way to stop the job after a specific duration, or at a ...
1
vote
0answers
81 views

FUSE hangs trying to mount network filesystem on login

I am using Fedora 23 and I have autofs set to automount some s3fs FUSE filesystems when directories under /mnt/s3 are accessed. Since I set this up, I always experience an additional delay upon ...
1
vote
2answers
247 views

Custom service (systemd) won't run on startup

I'm creating a non-interactive kiosk in Raspbian. I gutted everything I didn't want - desktop managers, various graphical services etc - the script starts X, an absolutely minimal desktop manager and ...
1
vote
1answer
34 views

How to configure options for a systemd unit file?

The systemd blog contains two articles that advice against using /etc/sysconfig or /etc/default: http://0pointer.de/blog/projects/on-etc-sysinit.html http://0pointer.de/blog/projects/the-new-...
1
vote
2answers
58 views

Custom systemd process on debian slow to start up

I'm setting up rtpproxy on a debian 8.3 server through the default package available in the repos. The package comes with the sysvinit script still, and I want to use a keepalive so I'm trying to set ...
0
votes
1answer
111 views

Do I need set ulimit for system services, such as nginx.service(systemd)/nginx(sysv)?

I know, when we run application in shell for a large website, we'd better set ulimit for our shell, But most of the service is started by systemd/sysv. Do I need set the ulimit in the service ...
2
votes
1answer
153 views

How to start a script on tty instead of asking for login in systemd?

I need to start and print a script on tty1 instead of asking for login. In link with : How to parse /proc/cmdline before asking tty login with systemd I tried to make a service which launch a simple ...