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.
2
votes
0answers
26 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 ...
3
votes
1answer
39 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 ...
3
votes
1answer
57 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 ...
1
vote
0answers
65 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
41 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" ...
2
votes
0answers
47 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 ...
0
votes
1answer
317 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
0answers
79 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 ...
3
votes
0answers
275 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 ...
0
votes
2answers
89 views
Once the system has been started, is there any advantage in using systemd?
I'm running Gentoo with the default SysV-style OpenRC init system. The boot time is short enough to not bother me. Is there any reason to try systemd?
6
votes
2answers
255 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
459 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 ...
5
votes
1answer
104 views
Debugging lock-up - systemd loses my logs
Ever since I have "upgraded" to systemd on Arch Linux, I keep losing logs when an unexpected lockup happens. I hit the same log-losing issue one month ago and just hit the issue again. There are also ...
16
votes
1answer
492 views
How does systemd survive a kill -9?
Between the recent "Why does 'kill -9 0' end my console session" and "How to get a kernel panic" questions, I got a bur under my saddle and tried kill -9 1 on a mostly up-to-date Arch linux laptop. I ...
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 ...
0
votes
0answers
31 views
Time of execution of initial service. Arch [duplicate]
I want o get familiar with arch. But the online documentation is full of mistakes. Well my current problem is that I want to start dhcpcd the dhcp daemon. In arch this is accomplished with (as docu ...
0
votes
2answers
177 views
No more coredumps after migrating to systemd [duplicate]
Generating coredumps used to work fine, but after switching over to systemd, I only see the message
Aborted (core dumped)
but no core file is generated. Has it something to do with systemd?
...
2
votes
2answers
217 views
How do I configure systemd to activate an encrypted swap file?
My previous question produced the commands to add an encrypted swap file:
# One-time setup:
fallocate -l 4G /root/swapfile.crypt
chmod 600 /root/swapfile.crypt
# On every boot:
loop=$(losetup -f)
...
4
votes
1answer
250 views
named does't start when using systemctl
I am having trouble getting named to start using systemd on the Fedora 18 Raspberry Pi spin. It starts, then a few moments later there is a timeout and it fails. If I run the commands in named.service ...
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*", ...
1
vote
1answer
145 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
...
3
votes
2answers
363 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 ...
5
votes
1answer
328 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 ...
3
votes
0answers
312 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 ...
4
votes
1answer
146 views
MySQL server-id not being set with Fedora 16
I am setting up a mysql slave on a Fedora 16 system, and the server_id is not being set properly. My /etc/my.cnf is:
[mysqld]
server-id=16
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
...
3
votes
2answers
2k views
What's the status of Upstart on Debian?
I know that this question already got asked before, but it's pretty old and things have changed (probably).
Already in 2009 the news rumbled, that Debian was going to switch to Upstart. You were able ...
1
vote
0answers
115 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 ...
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
1answer
580 views
How can I disable the X-server on Fedora 17?
I want to use a Fedora 17 "Beefy Miracle" system as a network-shared desktop for cooperative work. For this I'm using TigerVNC which brings its own X-Server and starts a completely separate desktop ...
1
vote
1answer
537 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
1answer
425 views
FUSE : Allow any user in the fuse group to unmount
I'm currently trying to write a couple of systemd/udev configuration files that will allow me to automount/unmount MTP Android devices on my Archlinux laptop. It took me some time, but so far it works ...
0
votes
0answers
26 views
Plymouth fails to start on boot [duplicate]
Possible Duplicate:
Fedora 17 Freezes on Boot
On boot I get this error:
[FAILED] Failed to start Wait for Plymouth Boot Screen to Quit.
When I check what systemctl status ...
3
votes
1answer
1k 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 ...
2
votes
1answer
757 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 ...
2
votes
1answer
161 views
systemd failure on binfmt services
Systemd has several failed services, and I don't know how to work it out:
# systemctl --failed
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys-fs-binfmt_misc.automount ...
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 ...
4
votes
1answer
590 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 ...
11
votes
3answers
283 views
Eject CD on shutdown
OK, so I have a simple problem: I have a live CD, and I want the CD to eject when the computer is rebooted or halted.
Executing /usr/bin/eject -m makes the CD eject just fine... trouble is, as you ...
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
...
2
votes
1answer
130 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
151 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, ...
3
votes
1answer
179 views
dropboxd hangs at `Connecting…` when started trough systemd on boot
I've got a systemd service file dropbox.service set up as follows:
[Unit]
Description=dropbox
After=local-fs.target network.target
[Service]
User=romeovs
ExecStart=/usr/bin/dropboxd
[Install]
...
3
votes
3answers
113 views
systemd service that needs .ssh/id_dsa password
I have a systemctl service that starts a process smd-loop in a screen session. This process requires acces to remote SSH sources (for syncing purposes) and thus needs to be able to access my id_dsa ...
6
votes
2answers
457 views
`systemd` messages after starting login
After boot-up process systemd starts agetty, but after 1--2 seconds additional messages are appeared:
How to avoid this?
I use Arch Linux, systemd 194.
$ grep '^[^#]' ...
1
vote
1answer
153 views
systemctl output is truncated
A need to grep the output for this command:
systemctl | grep failed
The problem is that it does not show complete units:
systemd-...-clean.service loaded failed failed Cleanup of Temporary ...
1
vote
1answer
494 views
How to automatically force fsck disks after crash in `systemd`?
Sorry for bad english.
How to set systemd for automatically force fsck disks after crash (hard poweroff)?
When I used sysvinit (in Arch Linux) as /sbin/init I used the hack: in the rc.local I create ...
3
votes
3answers
394 views
How can I set power button (on computer case) to power off system with `systemd`?
How can I set the power button (on my computer case, not keyboard) to power off the system with systemd (without acpid)?
5
votes
2answers
583 views
Run Script once a day with systemd
I want to run a backup script 10 minutes after booting up my machine but only once a day. Is it possible to build up such scenarios with systemd?
6
votes
1answer
5k views
How to write startup script for systemd
I have 2 graphics cards on my laptop, one is IGP and another discrete, I've written a shell script to to turn off discrete graphics card.
How I can convert it to systemd script, to runt at start-up?
1
vote
0answers
68 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 ...
