The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

Init 3 command with systemd

I am using Oracle Linux 7 for test purposes. I understand that the entire RHEL family (RHEL, CentOS, and OL) is using systemd now. As far as I know with systemd instead of init 3 I should use ...
0
votes
1answer
56 views

CentOS 7 hangs after update on Workstation 10 after “[sda] Assume drive cache: write through” line

I recently updated my CentOS 7 VM and it won't pass the following line: [sda] Assume drive cache: write through I tried changing the run level to 3 and run xfs_repair but it still doesn't boot. ...
0
votes
0answers
12 views

Why is logind.conf not working?

A few months ago I asked the following question about being able to suspend my computer without needing to unlock it. How to suspend from lockscreen in Gnome 3? The only way I could get my ...
-4
votes
0answers
8 views

Reputation point system is ridiculous [migrated]

The reputation point system is useless. Why would i need reputation points to answer a question or to create a tag? People should have the freedom to use just about any tag they want and should be ...
0
votes
1answer
19 views

Fedora 20 Systemd slideshow on startup

How do I use systemd to automatically run a slideshow automatically at startup? I am using Gnome on Fedora 20. eog works well, but I cannot get it to successfully run at startup.
0
votes
0answers
23 views

Fancontrol service starts but exits

I start the fancontrol service but it doesn't do its job (control fans). # service fancontrol start [ ok ] Starting fancontrol (via systemctl): fancontrol.service. # service fancontrol status ...
0
votes
1answer
85 views

Fedora 20 start script on startup

I am trying to start a slideshow automatically on startup in Fedora 20. I started with a simple script. eog is "eye on gnome" which is a slideshow viewer and my pictures are in the ...
0
votes
0answers
31 views

Is it better to use the systemd service unit's Restart & RestartSec, or use a systemd timer unit?

I have a couple of in-house automated scripts running at periodic intervals. One is every five minutes, the other is every minute. They don't really need to be ran on-the-dot; e.g. I don't care if ...
0
votes
0answers
4 views

KDE Pause session restore until network

I recently re-installed Gentoo and KDE on SSD. Now it boots up faast. KDE does a session restore at boot, along with auto-starting any apps that I have setup. It turns out that I can boot to a ...
0
votes
0answers
31 views

systemd: Start some services only when at home (based on WLAN SSID)

I would like to have some network daemons like sshd or NFS only running on my laptop when I’m in my home network for security reasons. Is there a way to automate this with systemd and e.g. ...
1
vote
1answer
72 views

add multiple static ip addresses to a server with systemd-networkd

We have a server with multiple IP adresses. Lately we migrated to systemd and we still need mutliple IPs on that server. With systemd-networkd we have some trouble finding a configuration example. so ...
0
votes
0answers
49 views

systemd to lock screen on suspend as X session owner?

I have recently moved to using systemd to manage power control. In order to get my screen to be locked when returning from suspend, I created /etc/systemd/system/i3lock.service with these contents ...
0
votes
0answers
9 views

CGroup Processes Not Terminated even when main process has been killed through Systemctl stop command

I am running systemctl stop process command for some process. Please find the output for systemctl status process below: Loaded: loaded Active: deactivating (stop-sigterm) CGroup: ...
1
vote
1answer
128 views

Systemd-networkd: How can I prepend a static nameserver entry to DHCP-discovered nameservers?

I'm using systemd 213 on Arch Linux, and systemd-networkd/resolved with DHCP to connect to the internet. I'm also running a caching DNS server on 127.0.0.1. I'd like to make this server the first DNS ...
3
votes
2answers
336 views

Why does systemd hang during reboot?

1 of 10 times, systemd hangs during reboot. I don't understand the reason. What/where should I look at to fix the problem? I am using systemd v196 and cannot upgrade it to version >=198 because the ...
0
votes
1answer
66 views

Using systemd to start gpg-agent?

I've read up a little on systemd, but still can't quite figure out how to use it to automatically start gpg-agent on login. I gather I'd use systemctl --user, but constructing the gpg-agent.service ...
1
vote
1answer
66 views

Writing a service that depends on Xorg

I'm trying to write a user level service for redshift, and it needs to wait until Xorg is up and running. My current service file looks like this: [Unit] Description=Redshift After=graphical.target ...
0
votes
0answers
38 views

Decrease browser load time by increasing priority of unbound DNS in systemd

I believe to decrease the launch time of browsers after boot/starting the X servers increasing the priority unbound processes would help. I believe editing the unbound.service file would do this but ...
1
vote
1answer
85 views

systemd: starting service that depends on sockets does not work

I'm using systemd to start a WiFi and power monitor service script that scans for an SSID, brings up the network and an SSH tunnel and does a few other tasks. Much to my surpise it doesn't always ...
1
vote
1answer
61 views

systemd: change default runlevel

I found two ways to change the default runlevel in systemd: https://wiki.archlinux.org/index.php/systemd#Change_default_target_to_boot_into # systemctl enable multi-user.target ...
0
votes
0answers
25 views

Arch Linux on USB key updates screw the pooch

I have had this issue twice now and at the moment I can't ask the question on the asrch forums because I can't be authenticated. Every time I update a crucial system component my system becomes ...
1
vote
1answer
67 views

Autostart gtk application with systemd

I am writing a small daemon which logs the active window name. The relevant part goes like: import wnck import gtk from plugins import IReporter class ActiveWindowNameReporter(IReporter): ...
2
votes
1answer
158 views

systemd - Giving my service multiple arguments

is it possible to give my systemd service more than one argument? I'd like to execute a program with multiple arguments which have to be decided by the final user. E.g: ./program arg1 arg2 To start ...
0
votes
0answers
12 views

systemd - Making an .automount service execute something

Is it possible to make an .automount service start a bash script or something similar? I need this since I need to bind folders on an external HD whenever it is plugged in. I searched through the man ...
-1
votes
1answer
44 views

multiple processes named 'systemd' running simultaneously (w/ one pid 1)

I have multiple processes named systemd running simultaneously on my Arch Linux machine. At least one of them is PID 1. Is this normal?
0
votes
2answers
112 views

No usable keyboard after upgrade to systemd-210

I'm using Arch Linux and I've just updated to systemd-210 since it added the support for the keyboard backlight sav/restore my Macbook Air needed. After having done the update, though, my keyboard is ...
2
votes
1answer
276 views

systemd-networkd does not enslave interfaces on bond

I have installed systemd-210 on a server and i want to create a bond for 4 interfaces. Therefore i created a 'catch-all' .network file: /etc/systemd/networkd/10.all-interfaces-to-bond0: [Match] ...
0
votes
0answers
59 views

How to change limits of non-interactive process?

I am trying to change the RTPRIO limit of a process that's run at startup. I have found 3 ways to change process interactively: setrlimit ulimit /etc/security/limits.conf However these only seem ...
1
vote
1answer
380 views

How to use systemd hybrid-sleep instead of suspend under gnome in linux?

How can I make GNOME 3 use Systemd hybrid-sleep instead of suspend when closing the lid or using suspend from the menu?
0
votes
2answers
31 views

Using cron vs. system managed service for frequent tasks

If some task should run in an frequent but not neccessary precise manner, what would the benefits of using cron vs. just using a service (eg. managed by upstart) with a loop script like #!/bin/sh ...
0
votes
0answers
157 views

How to get systemd “socket” unit to automatically restart? specifically dropbear.socket

On my BeagleBone Black Angstrom system, the dropbear.socket UNIT seems to spontaneously die after a while. The effect is that I can not ssh into the machine without restarting the dropbear.socket ...
1
vote
0answers
47 views

how to reload nginx - systemctl or nginx -s?

Is there a difference between calling systemctl reload nginx and calling nginx -s reload ? I know that, besides systemd, there are other init systems like SysV and Upstart. So maybe this ...
0
votes
0answers
142 views

How to know which file or inode triggered a systemd.path unit?

Systemd offers unit files whom control monitoring of a certain path trough inotify: systemd.path(5). If a file or directory is modified in the watched path the corresponding systemd.service(5) is ...
-1
votes
1answer
1k views

How to run bash script as root on startup?

I am having some problems with this, I have a script that is supposed to start airodump-ng on boot but it usually only runs the first part of the script and thats it. I have tried creating a systemd ...
0
votes
2answers
1k views

Arch Linux Install Cannot Enable dhcpd

I am trying to setup internet with arch linux. I just installed it using parallels and got the following error: [root@singularity ~]# systemctl enable dhcpd.service Failed to issue method call: No ...
0
votes
1answer
510 views

systemd service will start manually, but not at boot?

I've written a systemd service to start groundcontrol on my Raspberry Pi. [Unit] Description=Groundcontrol status monitor [Service] ExecStart=/opt/groundcontrol/groundcontrol/start.sh Type=forking ...
1
vote
1answer
205 views

Running a command at startup

How would I go about running a command at startup in ArchLinux using Systemd like rc.local in Sysv?
2
votes
1answer
279 views

Using systemd to execute an interactive (whiptail) script after multi-user.target but before the login screen

I am trying to run a small interactive configuration script from systemd on Fedora 19. It has to be run as root, and run prior to the user logging in. I have created a service which looks a bit like ...
0
votes
1answer
188 views

Systemd - Suspend to disk (hibernate) with suspended filesystems/block devices

Situation: 1) I am using systemd to suspend to disk using: systemctl hibernate 2) I have mounted a filesystem on an encrypted block device, that I suspend using dmsetup suspend device in order to ...
0
votes
1answer
350 views

Can systemd detect and kill hung processes?

While working on a solution which uses file locking, I believe my code is getting into a deadlock. I'm using systemd to kick off the process on system startup. Using alarm(3) is an option, but I was ...
1
vote
2answers
1k views

Start a systemd service inside chroot

With init scripts (or with openrc) I alway could run services from a different installation root. but when I run chroot /somepath/to_root /usr/bin/systemctl start someservice I got: Running in ...
1
vote
2answers
1k views

How can I run a command after boot? [duplicate]

I would like to run the simple shell command echo 1 > /proc/sys/kernel/sysrq at each boot, to enable the sysrq keys. When in boot should this be done, and where should I put a script to do it?
1
vote
2answers
251 views

How to debug old initd script under systemd?

I have an older initd script to start my application. It worked fine under older versions of SuSE, but fails on Open SuSE 12.3. The strange thing is cd /etc/init.d ; ./script start works fine. ...
0
votes
1answer
498 views

Prevent fsck on every boot

I'm analyzing boot times with systemd-analyze and, after optimizing it as far as I could, I noticed fsck-ing every partition on boot sometimes take up to 20 seconds. I feel it's unnecessary since I ...
1
vote
2answers
564 views

At what point are cgroups initialized for systemd?

So to cut a long story short, I am trying to get systemd working with an Arch install, but without running systemd from init. This means I am booting into a system that is not running systemd, then ...
1
vote
1answer
252 views

I have a SysV init script on Fedora 18. How can I make it start after the network is ready?

I have a SysV init script on Fedora 18. Fedora 18 uses systemd (and apparently, there is no way to switch back to SysV). My script requires the network to be ready. <edit> That is, I must ...
0
votes
2answers
445 views

permanent powertop changes with systemctl

I have got a .sh-script, trying to make powertop changes permanent. 'auto' > '/sys/bus/pci/devices/0000:00:02.1/power/control'; the commands in this .sh-script are all of this type. I have a ...
0
votes
0answers
171 views

Overhead associated with systemd using Arch linux on a Raspberry Pi

Having problems with a custom process that I start at boot time using systemd. I am using the Arch Linux distro built for the RPi. There is nothing special about the service I'm starting. Its a ...
1
vote
0answers
2k views

How do you boot Arch Linux with systemd without X11?

Ran an upgrade recently that borked my whole setup(with catalyst drivers). It caused artifacts at login/desktop and then a hard lock. However, I'm not asking about those problems, what I want to ...
1
vote
1answer
437 views

Start celery daemon via systemd

In the /usr/lib/systemd/system/celery.service: [Unit] Description=Celery Nodes Daemon After=network.target [Service] Type=forking PIDFile=/var/run/celery/main.pid ExecStart=/usr/bin/python2 ...