1
vote
1answer
29 views

Show Custom Boot-Message

I would like to show a custom message during boot, or even better the program cmatrix. I boot with the "quiet" parameter so there are no startup messages, instead I would like to show a ...
5
votes
0answers
100 views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ...
0
votes
0answers
26 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 ...
2
votes
1answer
452 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 ...
2
votes
1answer
99 views

How can I prevent systemd from freezing my system when Flash dies?

Since a recent update, when I quit a web page containing a Flash animation in Firefox, the plugin-container process becomes a zombie, and then the systemd-journald process (also maybe something like ...
2
votes
2answers
414 views

Arch Linux run script a minute after boot

I have set up a bridge between eth0 and wlan0 with netctl. It works fine if I tell it to configure eth0 and wlan0 at startup and then for me to manually start the bridge after it boots. If I tell the ...
3
votes
2answers
3k 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 ...
5
votes
2answers
357 views

Arch does not mount btrfs array on boot

As data partition I have a multi-disk btrfs filesystem. My root disk is ext4 Fstab: UUID=290624c6-6b95-41fd-94a1-923ebca64b83 / ext4 rw,relatime,data=ordered 0 1 /dev/sdc ...
1
vote
2answers
172 views

80-net-setup-link no longer functions when I downgraded systemd

I've downgraded systemd to version 208. Although I still have /etc/udev/rules.d/80-net-setup-link.rules on my disk, but the names of network interfaces were not named correctly: e.g wlp3s0 is not ...
0
votes
1answer
57 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.
1
vote
1answer
289 views

Starting NetworkManager before gdm.service with systemd

In arch linux I would like to have NetworkManager service available at gdm login page. I enabled the two services like this: systemctl enable gdm.service systemctl enable NetworkManager The issue ...
1
vote
1answer
99 views

journalctl process groups

I recently tried setting up the ChrootDirectory property in sshd_config and ran into the ownership problems for chroot targets. After i have fixed the problem i noticed that syslog-ng had created log ...
1
vote
0answers
118 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 -- ...
4
votes
1answer
1k views

How can I start Apache on Arch Linux w/systemd using passphrase protected SSL keys?

I'm relatively new to using Arch Linux and think I must be missing the obvious way to do this correctly, but –short of starting the daemon on my own– I can't figure out how to get passphrase protected ...
1
vote
0answers
509 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 ...
2
votes
2answers
862 views

launch x11vnc on bootup

I am using archlinux version 3.10.27-1-ARCH on my remote PC and I would like it to launch x11vnc server on successful bootup. Though i can start the x11vnc server manually, I am having trouble ...
1
vote
1answer
346 views

Different behaviour of systemctl suspend when executed via i3 wm key binding

I am using the i3 tiling windows manager in combination with light-locker to lock the screen. Light-locker displays a lock message on the locked TTY and shows the password screen on a second TTY. ...
4
votes
1answer
2k views

Where does `logger` log its messages to in Arch Linux?

The logger command logs an entry via syslog, which usually puts that line to some file like /var/log/messages. If I understand the documentation correctly in Arch Linux all the logging is done ...
1
vote
1answer
703 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 ...
3
votes
0answers
528 views

Plymouth splash not working and causing VT problems

Since I tried installing Plymouth (boot splash), I'm facing two problems : It's not working My Virtual Terminals (tt1 - 6) aren't working anymore Here what I did : Added plymouth hook (after ...
5
votes
1answer
294 views

trigger udev rules from systemd

I have one of those hdds, that have a very aggressive power management. To prevent load cycles from rising in to critical numbers I wrote an udev rule: SUBSYSTEM=="block", SUBSYSTEMS=="scsi", ...
2
votes
1answer
311 views

How do I connect a 3G dongle using systemd?

At startup, usb-modeswitch automatically switches the dongle to modem mode and the device shows itself as 12d1:1506. After this, a script should run, connecting to the Internet. I am not sure about ...
2
votes
0answers
407 views

Can't reboot with systemctl

I'm running openbox, and I'm trying to reboot with systemctl, but I got the following error message: %> systemctl reboot Failed to issue method call: Unix process subject does not have uid set ...
1
vote
1answer
359 views

How to preserve the logind session in Arch Linux?

I got audio working in Arch Linux without problems yesterday, but at some point it stopped working again: $ alsamixer cannot open mixer: No such file or directory $ vlc foo.mp4 ... [0x7f1388006be8] ...
2
votes
0answers
118 views

smartd custom logfile on systemd + journald based system

An excerpt from smartd manpage reads: -l FACILITY, --logfacility=FACILITY Uses syslog facility FACILITY to log the messages from smartd. Here FACILITY is one of local0, local1, ..., local7, or ...
10
votes
2answers
1k views

Receiving Syslog messages with a systemd Arch Linux

I'm feeling like I've overlooked the obvious, but I can't figure out how to get my Arch Linux server, which uses systemd, to receive and log syslog messages from a remote system. I have a Cisco 678 ...
2
votes
0answers
299 views

How do I run Gnome from a systemd-nspawn container in a second X server?

I'm using systemd-nspawn to "boot" a second Linux OS from a USB hard disk. I'd like to launch that OS's Gnome Desktop in a second X server running on the same machine on a different tty than the ...
1
vote
3answers
3k views

How to mount aufs file system on boot in archlinux?

I want to use aufs to combine a few disks.I am able to mount the aufs file system using the mount command from the command line. However, when trying to mount the same through an fstab entry, it ...
5
votes
1answer
2k views

suspend AND lock screen on closing lid in arch/systemd

what is the most straightforward way to lock the screen AND suspend when closing the lid? I'm using event hooks in /etc/systemd/logind.conf and successfully suspend upon closing the lid. However I'm ...
1
vote
1answer
482 views

What's wrong with this autologin configuration?

I'm configuring TTY auto login, so I followed the official guide, created a file named autologin.conf in /etc/systemd/system/getty@tty1.service.d, containing the following lines: [Service] ExecStart= ...
17
votes
2answers
827 views

Prompt for password during boot with systemd service

This is relevant to Arch Linux (and perhaps other distributions using systemd). I want to mount a TrueCrypt partition at boot. With the old sysvinit, this was pretty straight forward with a script ...
2
votes
1answer
699 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 ...
6
votes
3answers
3k 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 ...
4
votes
1answer
2k views

User systemd PulseAudio service

Not much else to this question: I would like to know what I need to create a PulseAudio systemd service to be run with systemd --user. I've tried a few different things, including various user ...
2
votes
0answers
231 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 ...
6
votes
2answers
2k views

Arch Linux how to close tty

I've opened several ttys and I don't know what key combination to use to close a tty. I'm using Arch Linux.
2
votes
2answers
3k views

Network naming on Arch Linux

I've just installed Arch Linux on my old PC, to do the installation I used wifi-menu wlan0, now I've reboot but if I type: ifconfig wlan0 up I have as a result: wlan0: ERROR while getting ...
2
votes
1answer
509 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 ...
4
votes
2answers
4k views

How to write a systemd .service file running systemd-tmpfiles

I need to run systemd-tmpfiles --create during the boot process with a systemd distro. So I need to create a systemd .service file doing this job. In this question you can read all the details about ...
6
votes
3answers
2k 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 ...
7
votes
1answer
734 views

What's the right way to execute a script before system shutdown (systemd)?

I wrote a script that suspends 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 booting the next time, VirtualBox tells me ...
1
vote
1answer
1k views

How to modprobe radeon and turn off card at start with systemd?

ArchLinux has completly replaced rc.conf with systemd. I used /etc/rc.local to modprobe radeon module and turn it off using vgaswitcheroo. modprobe radeon && echo OFF > ...
3
votes
2answers
4k views

Setting console font in vconsole.conf does not work (systemd)

I am trying to set a different default console font for my new Arch Linux installation (using systemd). I set up my vconsole.conf in /etc as so: KEYMAP=us FONT=Lat2-Terminus16 I rebooted and saw ...
4
votes
1answer
2k views

Why do I have to restart NetworkManager.service all the time?

After switching to systemd, I started to use NetworkManager.service, I got connected to WIFI automatically at boot, but I got the following message when I run nmcli con: ** (process:4433): WARNING ...
7
votes
1answer
2k views

How to get fewer ttys with Systemd?

In the old days I just modified /etc/inittab. Now, with systemd, it seems to start tty[1-6] automatically, how should I disable tty[4-6]? Looks like there's only one systemd service file, and it use ...
2
votes
1answer
207 views

systemd stuck on mounting an encrypted volume

systemd seems to stuck on mounting an encrypted volume, when I set the init to /usr/sbin/systemd in grub.cfg, I have one line in /etc/crypttab secure /dev/sda8 /etc/cb.key That works with original ...
1
vote
1answer
216 views

How to move rc.conf HARDWARE section to /etc/modules-load.d/?

I've just begun moving my Arch system to systemd, and started by moving the deprecated parts of rc.conf to their respective configuration files. The rc.conf wiki article lists files for most options, ...
5
votes
1answer
7k views

How can I autologin to desktop with systemd?

How can I configure systemd to automatically log me in to my desktop environment, preferably without using login manager? I'm using Arch.