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

3
votes
1answer
735 views

How to force systemd enter in emergency mode?

I'm using Opensuse 12.3. systemd-195-13.45.1.x86_64 After few problems when I added a disc at btrfs mount I'm trying put my system in emergency mode (which I consider all services will be stopped and ...
0
votes
1answer
1k views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
3
votes
2answers
36 views

How could we allow non-root users to control a system.d service?

With sysvinit, a sudoers entry like this would suffice: %webteam cms051=/sbin/service httpd * This would allow for commands such as: sudo service httpd status sudo service httpd restart Now, ...
1
vote
0answers
22 views

How to set SyslogIdentifier in [SERVICE] section of systemd service file as empty?

I want to set SyslogIdentifier in [SERVICE] section of systemd service file as empty, so that nothing is prefixed in the logs. I tried below options: 1) Mentioning nothing: SyslogIdentifier= ...
8
votes
3answers
3k views

How does systemd-tmpfiles work?

I'm trying to change the value of /sys/bus/usb/devices/4-3/power/wakeup at every boot (4-3 according to my lsusb, it's the keyboard ID). The default value is: # cat ...
1
vote
1answer
47 views

When saving INTO OUTFILE from mysql on a systemd based system, the output file is grabbed by systemd — why?

I regularly run simple reports from a mysql (actually, mariaDB) database: MariaDB [acts]> SELECT resolution, title FROM acts ORDER BY resolution INTO OUTFILE '/tmp/acts-titles.txt'; Recently I ...
5
votes
2answers
567 views

Log files for kernel panic on Arch Linux

I have recently updated my Arch Linux machine. Since then, I have been getting kernel panics here and there. (the screen freezes and the status lights on my keyboard are blinking) It seems to happen ...
0
votes
0answers
17 views

Systemd user specific service and timer

I have installed arch recently and added a few of my own services, for example the acpi_call commands and such. Now I want to create a systemd service that runs every 5 minutes and execute a script. ...
0
votes
1answer
61 views

systemd service using 100% of my CPU when it doesn't if I start it without systemd

I'm using Debian Jessie with the latest updates. I made a systemd service to run a script when my server starts. Here's its configuration: [Unit] Description=(my description) [Service] ...
5
votes
1answer
925 views

How do I get systemd to start my ZFS mount script before doing anything else?

Right now I'm using zfsonlinux on Fedora 19, and it works excellently. Mounting works at bootup as planned using the initscript (included with zfs) that systemd calls, but there's a pretty significant ...
2
votes
1answer
48 views

Why is my systemd journal not persistent across reboots?

I'm experiencing a very weird issue with a fresh Fedora 21 image on a Linode instance. I cannot reproduce it outside of Linode. The issue is that my systemd journal is not persistent across reboots. ...
3
votes
1answer
26 views

CoreOS can't pull docker container on boot

While following the systemd guide I ran into an issue with this example configuration: [Unit] Description=MyApp After=docker.service Requires=docker.service [Service] TimeoutStartSec=0 ...
1
vote
0answers
24 views

What systemd target or service populates /dev/disk/by-uuid on el7?

On EL7 (RedHat 7, CentOS 7, etc) I have a systemd unit file to mount a filesystem (/usr/lib/systemd/system/srv-data.mount) that looks like this: [Unit] After=sysinit.target [Mount] ...
0
votes
1answer
44 views

systemd timer every X days at 04:00

I have been reading on OnCalendar= Sadly, I found no info on how to schedule an event on a day other way than defining a day of the week, which would make it run every week at the rarest. I need ...
1
vote
1answer
23 views

Runlevel3 (systemd) - target on Opensuse 13.2 starts GUI

From my understanding, setting the default target to /usr/lib/systemd/system/runlevel3.target should not start the GUI--but it does. Also the file runlevel3.target looks exactly the same as ...
1
vote
1answer
52 views

How to enable systemd user sessions for remote logins on CentOS 7?

I am trying to enable systemd user sessions on my CentOS 7 server. All the pieces seem to be there, and I have also run loginctl enable-linger <user>, but I don't have a systemd user session (or ...
0
votes
0answers
22 views

Howto start a service at the beginning of the systemd boot sequence

How can I get a service started right at the beginning of the systemd boot sequence? shortly after the kernel has finished? At the moment all my costum services get started at the end of systemd ...
2
votes
2answers
2k views

Systemd fails to start Nginx on reboot, but it works manually

Here's my situation whenever I reboot: $ systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION nginx.service loaded failed failed A high performance web server and a reverse proxy server ...
8
votes
2answers
3k views

How to replace sysvinit with systemd in a Debian based distribution?

I've been using systemd for a while in my Debian installation, just that to make it possible I had to add a boot parameter to the /etc/default/grub file to make it work, which is added to Ubuntu boot ...
1
vote
1answer
31 views

atftpd won't start on opensuse tumbleweed under systemd

I tried installing atftpd today. The package installed successfully: # zypper se atftp Loading repository data... Reading installed packages... S | Name | Summary | Type ...
0
votes
0answers
21 views

systemctl not restarting log with SystemMaxUse variable set

On Arch Linux ARM i am trying to keep the journal logs to a maximum but it does not seem like systemctl cares. Here is my /etc/systemd/journald.conf file: [Journal] SystemMaxUse=2M ...
1
vote
2answers
69 views

Does Debian Testing use Sysvinit, Systemd or Upstart? How do I configure it (them?)?

I have a copy of Debian Gnome, installed from live medium then upgraded to testing. I've decided to change my default X environment from GDM to i3 for reasons of productivity. This lead me to wanting ...
2
votes
1answer
49 views

systemd mount 'rootfs' according to '/proc/cmdline'

SETUP Im running Debian 8 (jessie/testing) amd64 with systemd. On my system partition containing a btrfs filesystem, I do have the following layout: /dev/sda1 |-root |-root_snapshots/ ...
0
votes
1answer
17 views

Pulling log messages for a particular log in systemd journal?

I was wondering if it is possible to pull log messages for a particular log with systemd's journal logging. For example, when I open a log in C, openlog('slog', LOG_CONS | LOG_PID, LOG_LOCAL1), to ...
2
votes
0answers
99 views

Enable core dumps for all applications started by a user with systemd

This is a follow-up to How to enable crash reports/core dumps/stack trace logging globally?: How can I achieve this on OpenSUSE 13.1 (which uses systemd) and 13.2 for all processes started from an ...
2
votes
2answers
2k views

No more coredumps after migrating to systemd [duplicate]

Generating coredumps used to work fine, but after switching over to systemd, I only see the message Aborted (core dumped) but no core file is generated. Has it something to do with systemd? ...
2
votes
1answer
30 views

Backup partition changed UUID without user interaction

I recently had to purchase a new hard drive. Since I was at it I bought two instead of one as they were on offer (both are the same model). Since there was a lot of space left on the second hard disk ...
1
vote
1answer
53 views

Why does `systemctl enable rpcbind' change the volume of my sound? And how do I prevent this?

I just did: $ systemctl enable rpcbind And this caused the volume on my headphones to increase severly. First off, I don't understand why this happens, as rpcbind seems completely unrelated to my ...
0
votes
1answer
48 views

CoreOS in Vagrant - interfaces

I'm trying to understand the networking model in CoreOS but I'm having trouble making the operating system bend to my will. The problem I'm facing is that I want to use weave as an overlay network ...
1
vote
1answer
51 views

Send sleep command to usb disk mounted as /home (Fedora 20) from shutdown script

I have a usb sata2 drive connected to usb that is mounted as /home. When I turn off the computer/laptop the disk makes some high pitch sound as if the disks were still spinning and heads were not ...
0
votes
0answers
31 views

Getting started with D-Bus using C++ and systemd

I'm trying to get up & running with systemd dbus on my Linux desktop machine. What is a good place to start ? Is there an exhaustive documentation of systemd dbus API ? My first goal is to enable ...
1
vote
1answer
1k views

Force fsck check after reboot with single command

I'm looking for systemd's equivalent to the shutdown -F command. I know that I can force fsck by adding fsck.mode=force to kernel options or tweak mount count for disks. I have tried touch /forcefsck ...
0
votes
1answer
53 views

Starting Services without Systemd?

Is it possible to start services on and post startup in CentOS/Fedora distributions without using systemd (systemctl)? If yes, how? Systemd does not work in non-privileged docker containers; ...
8
votes
5answers
5k views

Cause a script to execute after networking has started?

I am relatively new to systemd and am learning its architecture. Right now, I'm trying to figure out how to cause a custom shell script to run. This script needs to run after the networking layer has ...
0
votes
1answer
11 views

Service that runs once when ppp0 connection shows up

We use wvdial to initiate a cell modem connection. We wrap it with nohup, launched by a cron job that checks if all is well every minute (everything we read said that wvdial and the associated ...
1
vote
1answer
48 views

How to restore normal boot process after pacman update on EFI?

I just updated my system and upon reboot I've found myself in emergency mode. This is a dm-crypt+LUKS EFI system (thinkpad) using gummiboot. journalctl -xb reports that /boot could not be mounted. ...
1
vote
1answer
53 views

systemd and *.service have been not existed (Are they generic?)

As you know, units of systemd have stored in /lib/systemd/system such as : rsync.service avahi-daemon.socket bluetooth.service cups.service When you use the following command : systemctl enable ...
2
votes
1answer
27 views

How to wait for a /dev/video0 before starting a service

First off, I am systemd noob. I can write unit files, which depend on a mount, because I can list them and then add to Requires=xxx, such as: # systemctl list-units | grep data mount-data.service ...
0
votes
0answers
21 views

Do dracut handles boot parameters mentioned in dracut.cmdline (7)

If I understand correctly, in boot time the kernel will mount initramfs and then calls /sbin/init from it(which is a symbolic link to /lib/systemd/systemd on Fedora/RHEL systems) and dracut itself ...
1
vote
0answers
36 views

writing systemd unit file and specfile for a python twistd application [closed]

I have given a task to write the systemd unit file for a python twistd application and create rpm of it. The application is open source and you can find it here: ...
1
vote
0answers
20 views

Make opensuse 13.2 accept remote logging?

My question is how can one make opensuse 13.2 accept remote logging? Since it uses systemd-journal, which conflicts an installation attempt of syslog or rsyslog? Many thanks!
3
votes
1answer
96 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 ...
0
votes
0answers
15 views

logging file system events (like read, write, access file/directory) [duplicate]

I want to get file system events on my arch linux local host, and don't get how to make it. I want to tail throw the logs of file system events to see what processes making changes to my system in ...
1
vote
1answer
25 views

Possible to deliver centrally configured login scripts on Linux?

In Windows you can assign login scripts to users which run whenever they log into a system which allowing admins to do things like map drives/printers and generally do anything for which there isn't a ...
2
votes
0answers
41 views

debian wheezy extreme boot delay

I migrated from Arch to Debian(wheezy) recently. Since Debian was still using sysVinit, I migrated to systemd, but following this. The system booted after a long init, using fallback LSB scripts for ...
0
votes
0answers
97 views

nginx won't to start

I have run nginx -t and it returns successful. On boot I see messages about nginx has failed to start, and it wont start when I try nginx or service nginx start Instead i get a message to check ...
5
votes
2answers
7k views

Can't boot system with systemd version above 208

I recently upgraded systemd from version 208 to 212 (also tried any other version between these two numbers) And the system can't boot anymore. Looks like it cannot mount /tmp, but in emergency shell ...
0
votes
2answers
129 views

arch linux systemd RTC clock script does not execute

I have rtc.service service in /etc/systemd/system: [Unit] Description=RTC Service [Install] WantedBy=multi-user.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/scripts/script_rtc.sh ...
13
votes
2answers
7k views

How to clear journalctl

I couldn't find in google any safe way to clear systemd journal. Do anyone know any safe and reliable way to do so? Added: As a reason, let's say I was experimenting with something and my logs got ...
3
votes
4answers
3k views

Using OpenVPN with systemd

Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running ...