The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
13 views

systemd user and system

I'm trying to understand a little better systemd by writing some services. I have difficulties in understanding the differences between those 2 services for instance, well I'd like to be sure I ...
2
votes
1answer
40 views

How to write a systemd service that depends on a device being present?

I would like to write a systemd service that depends on USB WiFi dongle being present. It doesn't need to start when device is plugged in as long as it doesn't start when device is not plugged in. How ...
0
votes
1answer
15 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
0
votes
2answers
24 views

systemd cant mount partition

I use a ssh tunnel at work to browse the internet. Yesterday I realize that my terminal is very slow responding to commands, I inspect htop, iotop, netop and see nothing in particular, only the ...
0
votes
2answers
13 views

Why does systemd process stop as soon as it starts for foreman server process?

I am trying to export a simple Ruby app using foreman. Based on its usage for systemd, I appear to be doing things correctly. However, when I start the target/service, I get status messages along the ...
0
votes
1answer
22 views

What is DNS setting in *.network systemd-netword for when without /etc/resolve.conf does not work?

This is content of the /etc/systemd/network/dhcp.network file for systemd-networkd in Arch Linux. [Match] Name=en* [Network] DHCP=v4 DNS=8.8.8.8 I expected that this would be everything necessary ...
0
votes
0answers
23 views

Execute Virtual Box Shared Folder Mount on Startup on Cent OS 7

I try to execute a mount command on startup in Cent OS 7. With FSTabs it did not work, so I tried the following: Creating the folder vbox-shared-folder-mount.service with the following content: ...
0
votes
0answers
16 views

Preferred/Idiomatic method to enable a systemd.service from a Debian package installation

I have a custom Debian package I've built for our software that creates a systemd service. What is the preferred/idiomatic way to have the installation of said package enable/start the service at ...
1
vote
1answer
105 views

Debian not reboot or shutdown

I'm truck with a simple problem of rebooting with my installation of Debian 7. I got inspire by this issue but it's not working. I tried a lot of combinations but still nothing. I'm not sure about ...
0
votes
0answers
63 views

PM: Hibernation image not present or could not be loaded

After hibernating with systemctl hibernate, the system boots normally as if it had been shutdown. I have the resume parameter in the kernel line and the resume hook in mkinitcpio.conf These are the ...
0
votes
0answers
21 views

Can a Type=notify systemd service exit gracefully if WatchdogSec is set?

I have a service registered to systemd with WatchdogSec=10, Type=notify, Restart=no and a specific OnFailure action. My problem: whenever I trigger a graceful exit (by some internal logic dependant on ...
0
votes
0answers
22 views

Start user systemd service once logged in and network up

I have a Gentoo system running KDE as a desktop. This is installed on SSD and using systemd and so it generally happens that the system boots and I login quicker than DHCP can do its thing and get an ...
0
votes
0answers
32 views

Adding Xvfb to systemd services

I have attempted to create a new Xvfb service on a headless data server, but it shuts down the display after some time. I can confirm that the service is enabled. I am not doing anything related to ...
0
votes
1answer
19 views

how to show feedback when using systemctl

When restarting services using init scripts, you can get a visual feedback (success or fail). When I use "systemctl restart ..." I don't get to see any feedback. Is there a way to show whether a ...
1
vote
1answer
244 views

which systemd units are failing? [closed]

Running systemctl status tells me that a systemd unit has failed. The output looks like this: ● the.host.name State: degraded Jobs: 0 queued Failed: 1 units ... How can I find out ...
4
votes
1answer
64 views

systemd: ignore accidental power button pressses

On my laptop (Acer C720P) the power button is a regular keyboard key that I accidentally press all the time. This shuts down my computer instantly. Following somebody's advice, I disabled the power ...
0
votes
0answers
95 views

Running a script that starts other applications using systemd service

Our C++ Qt application runs graphically without X by specifying the -qws switch. Because of that, I uninstalled and disabled the graphical environment on the BeagleBone Black. Now, when I power on the ...
0
votes
1answer
52 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 ...
1
vote
1answer
1k 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
66 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 ...
0
votes
1answer
62 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
86 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
1k 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
69 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
6 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
50 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
314 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
250 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
31 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: ...
2
votes
1answer
397 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 ...
4
votes
2answers
1k 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
218 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 ...
2
votes
1answer
207 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
46 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
165 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
178 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
26 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
113 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): ...
3
votes
1answer
672 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
19 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
71 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
170 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
406 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
103 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
693 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
49 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
282 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
56 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
229 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
3k 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 ...