From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 44369138CBE for ; Sat, 21 Mar 2015 21:38:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC1CAE0923; Sat, 21 Mar 2015 21:38:30 +0000 (UTC) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BCC2EE08F2 for ; Sat, 21 Mar 2015 21:38:29 +0000 (UTC) Received: by pdnc3 with SMTP id c3so144227831pdn.0 for ; Sat, 21 Mar 2015 14:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=4JajwCUOlIAPDaZ7dndv3i4rfeHiHjtnE4U5iDUk5ws=; b=V1WrcZ0UHErmdhVHsZpvuvkj+BcZJ2XSngb9kVr3g0gC1Ksaua5JdjkEMJr1sKuhQD nWPJJb+h9KMkOh9/o6IUlmuB1pIeXswv2ZSIimsbXnAHAf0vaOeKiiGKg4iFlkCfVwv6 8HyLSDQcIAdF8xSWVBhTDwzQTIR5rOMzXpfDcFVLubUZNlANS/s4SW8vhKt1KHtXkIHk RKw607vHn81Fc0WoGRx2MAvl7N8BXAIu7RW1wWXq2uJ523pUmjC/GiRdBIXev5hPWfOH sE5uSXFCuu9dzqUdz9+IuEVr02YQKJjzjvHVchCd+P79ML+YlyfNtiEvyZ3+AEa8RGyc 0CsA== X-Received: by 10.67.7.10 with SMTP id cy10mr195082227pad.151.1426973908951; Sat, 21 Mar 2015 14:38:28 -0700 (PDT) Received: from [192.168.247.60] (76-10-184-194.dsl.teksavvy.com. [76.10.184.194]) by mx.google.com with ESMTPSA id pv4sm2806473pbb.17.2015.03.21.14.38.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2015 14:38:28 -0700 (PDT) Message-ID: <550DE4D3.9070802@gmail.com> Date: Sat, 21 Mar 2015 14:38:27 -0700 From: Daniel Frey User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OK, so not everything works properly with systemd References: <550DA889.30000@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 64007b16-cb39-450e-9d21-3e4eccde710b X-Archives-Hash: 30b9ea2a2a1d4815bcab5bdaee13bfd2 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