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.
10
votes
1answer
261 views
Actkbd as service with systemd
A while ago I asked for how to stop a music player while the screen is locked. The answer was to use actkbd which works like a charm. Now I wanted to add actkbd as a service to systemd in order to ...
3
votes
1answer
48 views
Trouble with dbus and systemd/user
I have systemd set up so that using systemctl start user@me will start my user services as I expect, but my dbus one just won't go (which I need for PulseAudio).
Is there some way I can check dbus or ...
1
vote
1answer
154 views
No shutdown or reboot option in KDE4's menu
I obviously have the privilege to shutdown through dbus, cuz it works in XFCE4, but in KDE4, I only have an option to logout.
Any thoughts?
I start kde4 with dbus-launch --exit-with-session startkde
...
0
votes
1answer
331 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).
...
3
votes
0answers
284 views
Why is systemd-coredump storing the dump in memory itself?
I just noticed that most of my memory was hogged by coredump of a few processes that I had killed recently. I had a systemd-coredump process running for each crashed process (usually the processes ...
3
votes
0answers
316 views
What's the right way to execute a script before system shutdown (systemd)?
I wrote a script that suspend all my virtualbox machines, and put a line in /etc/rc.local.shutdown, but it doesn't seem to work,
su - XX -c /XX
When I'm booted next time, virtualbox tells me the ...
3
votes
0answers
66 views
Restricting D-Bus access to the logged-in user via ConsoleKit or systemd
I need to restrict the client of a D-Bus service to only the user logged into the system locally, via ConsoleKit or systemd. How must I configure or write the D-Bus service to do so?
2
votes
0answers
38 views
dhcpcd can't startup at boot
when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive
dhcpcd@eth0.service loaded ...
2
votes
0answers
49 views
Moving /dev/shm/ to /run/shm in Arch?
Dolphin (The KDE4 FM) would not receive file change notifications for /dev/shm, but for /run/shm.
So now I would like to migrate /dev/shm/ to /run/shm, but I couldn't find the corresponding part in ...
2
votes
0answers
95 views
What is the correct way to write a udev rule to stop a service under systemd
I'm running Arch Linux, and I have a udev rule which starts a service when a device is inserted. In this case, it dials a connection when a 3G modem is plugged in.
KERNEL=="ttyUSB*", ...
2
votes
0answers
46 views
Run backup on HD plugged with systemd
When I plug a HD via USB, it should a) mount it b) run my backup
script.
What I currently have is backintime.service
[Unit]
Description="Runs backintime to backup."
[Service]
User=user
...
1
vote
0answers
67 views
How to create rootfs for user mode linux on Fedora 18?
I want to create a rootfs to be used with a uml kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using ...
1
vote
0answers
42 views
Logout user with systemd
I start my window manager with systemd service units (following this tutorial).
After I log in at tty1 the following gets executed in .zlogin (I'm using ZSH as a login shell):
if [[ -z "$DISPLAY" ...
1
vote
0answers
119 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
37 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
69 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
0answers
80 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
0answers
25 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 ...