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

1
vote
1answer
175 views

Migrate socat init script to systemd

I use socat with following init script on debian 7.2 with sysVinit. It works perfectly: #!/bin/bash DESC=socat DAEMON=/usr/bin/socat LIB=/usr/lib/socat SOCAT_ARGS="-d -d -lf /var/log/socat.log" [ ! ...
1
vote
0answers
38 views

linux watchdog and systemd watchdog

I'm in trouble with watchdog :( Is there any way to register application into systemd watchdog at runtime? Does linux watchdog only use for system reset or it can be use for application reset?
1
vote
0answers
65 views

Writing a systemd service to be executed at resume

my Dell laptop is subject to this bug with kernel 3.14. As a workaround I wrote a simple script /usr/bin/brightness-fix: #!/bin/bash echo 0 > /sys/class/backlight/intel_backlight/brightnes ...
1
vote
1answer
17k views

Convenient way to check if system is using systemd or sysvinit in BASH? [duplicate]

I am defining common bash files which I want to use across different distributions. I need a way to check if system is using systemd or sysvinit (/etc/init.d/). I need this so I run appropriate ...
1
vote
1answer
36 views

How can I translate these OpenVPN client configuration instructions to work with Fedora 20?

Here's the link to the full instructions. When I get to step 9, under the heading "9. Setup Client Config Files", it says: Now we will configure the openVPN to work as client. Remember that we ...
1
vote
0answers
98 views

Suggestions to debug missing kernel messages from systemd journal

I have recently been playing around with a new freescale i.mx6 system. I have installed archlinuxarm on it. Strangely, all kernel messages are missing from the journal. $ sudo journalctl -k -- ...
1
vote
0answers
94 views

How to determine which init system is used? [duplicate]

Is there a way to determine which init system is being used in Linux? (such as sysvinit, upstart, systemd, etc.) I don't care if it can be programmatically determined, I just want to know how I can ...
1
vote
0answers
398 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 ...
1
vote
1answer
608 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 ...
1
vote
1answer
129 views

How do I set the tty that GDM spawns on?

On my computer (under Arch Linux), GDM is spawning on tty1 while I would like it to spawn on tty7. Is there any way to do that?
1
vote
0answers
85 views

What are the systemd command line options “--switched-root” and “--deserialize”?

Doing a ps on my Linux box shows that systemd runs with the command line options --switched-root and --deserialize. Nothing in the man page or /usr/share/doc/systemd mentions them, and Google hasn't ...
1
vote
0answers
324 views

How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?

I have a cisco AM10 wireless adapter and every boot, I need to run usb_modeswitch -v 1307 -p 1169 -L -I -u -l to get it to function as an adapter. Then I have to run a netcfg profile to connect to ...
1
vote
0answers
68 views

Can't run vlock-cmatrixreloaded with acpid anymore, after switching to systemd

In the old days, I configured acpid to launch vlock-cmatrixreloaded when I press Fn + F2, now it no longer works since systemd handles TTYs, I just got a screen flash when I press those keys. The ...
1
vote
0answers
105 views

How to make system startup to not wait on particular systemd service start

I have few virtual machines running under libvirt, and they are stared on the host system startup. This is controlled by libvirtd.service systemd configuration. This delays the availability of the ...
0
votes
1answer
186 views

systemd timer every 15 minutes

I'm trying to make a systemd timer that runs every 15 minutes. Right now I have: [Unit] Description=15min timer [Timer] OnBootSec=0min OnCalendar=*:*:0,15,30,45 Unit=timer-fifteen.target ...
0
votes
1answer
37 views

Forking in a systemd script

I want systemd service to handle forking (my file doesn't handle forking by itself. So I'm relying on systemd for handling that) My .service file: [Unit] Description=swamp services management ...
0
votes
1answer
65 views

Get a faster response for a ping

I noticed that the answer to my ping is slower in one debian machine that another. For the first one when i ping to 8.8.8.8: 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=29.6 ms For the second ...
0
votes
1answer
48 views

How do I resume booting process after sulogin procedure

I upgraded Arch Linux today and systemd stopped booting again. So I logged in with sulogin, mounted the drive. How do I resume the booting process? Like in old days, init 3 somethings like that.
0
votes
2answers
226 views

How to delete (not disable/mask) a unit in Systemd?

Sometimes I make a new unit in mistake, and then I have to go to /etc/systemd to look for the unit and delete all of its associated files/scripts/links/etc. Is there a better way? Like a single ...
0
votes
1answer
58 views

Change network values from sysctl.conf

Can I change the value of those parameters (spoofprotect, syncookies, dynaddr_hack, notimestamps, nobroadcasticmpecho, ip_forward) from sysctl.conf file in systemd?
0
votes
1answer
70 views

Target filesystem doesn't have requested /lib/systemd/systemd

I have been using systemd for about a month without any problems on my Debian Jessie. I installed it according to the Debian wiki. But all of a sudden today I got this error:     ...
0
votes
1answer
142 views

Why can my gentoo systemd installation only execute files as root?

If I try to login as any other user, via su it says 'permission denied'. If I use su -l it says 'canot cd to /home/<user>'. Logging in via the tty just kicks anyone without a message out except ...
0
votes
1answer
2k views

OpenSuse 12.3 keeps renaming network interfaces?

After installing OpenSuse 12.3 (x64) on a server box with a single (onboard) NIC (assigned to eth0), all works fine so far (static IP, static route, no "Network Manager" - just the good old way). ...
0
votes
2answers
3k views

vncserver refuses to start

I have a Fedora 15 server that has been running just fine for months until I suffered a power outage. After the recovery, all services came back up just fine except vncserver. When I try to start the ...
0
votes
0answers
23 views

Issue with network interfaces in Fedora 20

I am using Fedora 20 with NetworkManager disabled and the network service enabled. I am creating virbr0 with eth0 binded to it and using dhcp. I have disabled current network interface naming ...
0
votes
0answers
25 views

Modifying networking and daemons using systemd

I'm trying to follow this guide however, it appears rc.conf is discontinued and systemd has taken over. How can I modify the networking and daemons shown in step one using systemd? Any help is ...
0
votes
0answers
45 views

Systemd: Timeout a service

Is there a way to have systemd stop a service after it has been running for X amount of seconds? I looked at just wrapping ExecStart with timeout, however I believe it might not work if my service is ...
0
votes
0answers
28 views

Why is there no graphical.target listed by “systemctl list-units --type=target”?

According to Fedora documentation, graphical.target is the default. And, # systemctl list-units --type=target will list all available targets. However, the command above outputs as follows without ...
0
votes
0answers
44 views

Changing systemd dependencies during boot

I am looking for a way to instruct systemd to recalculate service dependencies while the system is booting. Specifically, I need one service to be able to enable another service, and have the second ...
0
votes
0answers
147 views

Unit couchdb.service failed to load: No such file or directory

I have couchdb on Sabayon running # couchdb -version getopt: invalid option -- 'v' Try `couchdb -h' for more information. kernel-poll not supported; "K" parameter ignored Apache CouchDB 1.5.0 ...
0
votes
1answer
415 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 ...
0
votes
0answers
158 views

death_handler: Fatal signal 15 received

I have problem with my Linux when I try to shut it down. init 0 I get the following error: death_handler: Fatal signal 15 received setsockopt recvref[30]: Protocol not available The sytem will ...
0
votes
0answers
36 views

Bash script to identify which init system the system currently using [duplicate]

I have to create a script that will mount my /usr folder as aufs. I compressed it using squashfs. I've managed to install a working systemd init in ubuntu which I am currently using. Because the ...
0
votes
1answer
410 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 ...
0
votes
1answer
2k views

Gentoo and Systemd: Can openrc be uninstalled without breaking other packages?

I switched my Gentoo system from openrc to systemd, and everything seems to run fine as long as both are installed. Nevertheless, after emerge --depclean, which removes openrc, the gentoolkit program ...
0
votes
1answer
110 views

Systemd: keep forked process alive when service is stopped

I have a systemd service which forks some child processes. In one scenario I start a shell script which is supposed to stop the service which actually started the script. When I call systemd stop ...
0
votes
1answer
95 views

Is it possible to prevent systemd from executing the command specified with ExecStop?

I have a service that I only need systemd to run ExecStart= command at boot, and don't run the ExecStop action at shutdown / reboot. Is that possible? I can't just remove the ExecStop line, 'cause ...
0
votes
0answers
208 views

Chromium run from within systemd on Fedora 18 does not start

Target is building a Linux box, using X, to display commercials (there is a movie in background played by mplayer) and applets (like newsticker, delivered as web apps working locally). I have ...
0
votes
1answer
89 views

Systemd/agetty: halt machine when session ends

Using LXC running a systemd based container, one automatically gets dropped into a console session on the container. By creating and modifying /etc/systemd/system/console-getty.service to have an ...