Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OK, so not everything works properly with systemd
Date: Sat, 21 Mar 2015 21:38:35
Message-Id: 550DE4D3.9070802@gmail.com
In Reply to: Re: [gentoo-user] OK, so not everything works properly with systemd by "Canek Peláez Valdés"
1 On 03/21/2015 10:27 AM, Canek Peláez Valdés wrote:
2 >>
3 >> So why does `systemctl reboot` not want to work? I'm a little confused.
4 >
5 > What kind of initramfs are you using? Supposedly, the only difference
6 > between poweroff and reboot is that the former turns off the machine and
7 > reboot does a reset. In either case, systemd pivots back to the
8 > initramfs before umounting everything, so perhaps there lies the problem.
9
10 I was using genkernel, but it was whining about not supporting systemd,
11 so I tried dracut for the first time.
12
13 However, the initramfs created by genkernel has the same issue.
14
15 I didn't do any special configuation of dracut, I read that just running
16 it can usually create a initramfs without any additional configuration.
17 It did detect I have mdadm of course, or my system wouldn't have booted
18 at all.
19
20
21 >> I also noticed this in the USE flags for systemd:
22 >> - - sysv-utils : Install sysvinit compatibility
23 >> symlinks and manpages for init, telinit, halt, poweroff, reboot,
24 >> runlevel, and shutdown
25 >>
26 >> Should I enable that USE flag?
27 >
28 > No. In Gentoo in particular the SysV compatibility is completely useless.
29
30 I was wondering more about the symlinks to the regular
31 shutdown/reboot/etc commands. I never actually checked to see if they're
32 already systemd-aware.
33
34
35 Dan

Replies

Subject Author
Re: [gentoo-user] OK, so not everything works properly with systemd "Canek Peláez Valdés" <caneko@×××××.com>