On 03/21/2015 10:27 AM, Canek Peláez Valdés wrote:
>>
>> So why does `systemctl reboot` not want to work? I'm a little confused.
> 
> What kind of initramfs are you using?  Supposedly, the only difference
> between poweroff and reboot is that the former turns off the machine and
> reboot does a reset. In either case, systemd pivots back to the
> initramfs before umounting everything, so perhaps there lies the problem.

I was using genkernel, but it was whining about not supporting systemd,
so I tried dracut for the first time.

However, the initramfs created by genkernel has the same issue.

I didn't do any special configuation of dracut, I read that just running
it can usually create a initramfs without any additional configuration.
It did detect I have mdadm of course, or my system wouldn't have booted
at all.


>> I also noticed this in the USE flags for systemd:
>> - - sysv-utils                     : Install sysvinit compatibility
>> symlinks and manpages for init, telinit, halt, poweroff, reboot,
>> runlevel, and shutdown
>>
>> Should I enable that USE flag?
> 
> No. In Gentoo in particular the SysV compatibility is completely useless.

I was wondering more about the symlinks to the regular
shutdown/reboot/etc commands. I never actually checked to see if they're
already systemd-aware.


Dan


Reply via email to