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 33E64138CBE for ; Sat, 21 Mar 2015 17:21:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BDA5E0A68; Sat, 21 Mar 2015 17:21:17 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) (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 39B73E09C8 for ; Sat, 21 Mar 2015 17:21:16 +0000 (UTC) Received: by pacwe9 with SMTP id we9so142175484pac.1 for ; Sat, 21 Mar 2015 10:21:15 -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 :content-type:content-transfer-encoding; bh=iU+QTUT7oL37C2QE9z9v3bqXpxobzIigzjYGSKzr2og=; b=Edq8tPgRrijitxoDTFfkkDg5Y5jn34G+Se5q5I+0CTfh66zd0ia9dPy2ZGvaw3C2oJ h0+5dnJtGF2O+oioZCRcWw6mCCjvdUTkM4/0v3XxG+Ht1lfLqEf0FnNt31qQgWYDE6qx f6Rf4nNlREGmwGP33mS0bpUXufZA18rPNWtqawXrzhlwKbcijsagJpHfKbV6/SVLlvf9 UHipETRhUxoIMxwnQ7C0vmHU+JPuquexwFLzL+9nQNWwaVvxTP8vYgB9eNIGiA2xcciz l38iJ+Gt395xaZGfbm6lunpDog4KW0X8zG6Fk13DiV3EwQ+CdR3PqNFhJei9BndmI1b0 FR2Q== X-Received: by 10.70.88.137 with SMTP id bg9mr176524506pdb.92.1426958475198; Sat, 21 Mar 2015 10:21:15 -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 sm3sm2454225pbc.16.2015.03.21.10.21.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2015 10:21:14 -0700 (PDT) Message-ID: <550DA889.30000@gmail.com> Date: Sat, 21 Mar 2015 10:21:13 -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: [gentoo-user] OK, so not everything works properly with systemd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 56d4ee6d-af02-4e51-a5ca-5f2a92d508c3 X-Archives-Hash: 02ccb3335368f25528695a3b2256f087 Hi list, In one of my earlier posts I mentioned I wasn't having any issues with systemd. Well, I guess I lied, although I didn't know about it at the time. My laptop works fine, no issues. My desktop, however, has an issue, but only while rebooting. I use mdadm to access my IMSM raid, and during the reboot process, the last message I see is (from memory, so it's not exact): "Stopping mdmon..." And it hangs there. The journal shows this: ===== -- Reboot -- Mar 18 20:48:42 osoikaze systemd-journal[485]: Journal stopped Mar 18 20:48:42 osoikaze systemd-shutdown[1]: Sending SIGTERM to remaining processes... Mar 18 20:48:41 osoikaze systemd[1]: Shutting down. ===== mdmon is normally stopped right at the end, so it should be a part of 'Sending SIGTERM to remaining processes'. The Journal stops, then from what I gather, it hangs on the next one, which is mdmon. I have left it for a half an hour and it doesn't do anything. When rebooting: ===== Mar 18 20:49:39 osoikaze kernel: md/raid10:md126: active with 4 out of 4 devices Mar 18 20:49:39 osoikaze kernel: md/raid10:md126: not clean -- starting background reconstruction Mar 18 20:49:39 osoikaze kernel: md: bind Mar 18 20:49:39 osoikaze kernel: md: bind Mar 18 20:49:39 osoikaze kernel: md: bind Mar 18 20:49:39 osoikaze kernel: md: bind Mar 18 20:49:39 osoikaze kernel: md: bind Mar 18 20:49:39 osoikaze kernel: md: bind ===== Indicating that mdmon was not stopped properly. (The array starts a rebuild.) Checking /proc/mdstat confirms this. Now this is the odd thing: `systemctl poweroff` works fine! It shuts everything down, and turns my workstation off without corrupting the RAID array! So why does `systemctl reboot` not want to work? I'm a little confused. 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? (By the way, KDE shows the same behaviour. If I shutdown with the K Menu, it works. Reboot from the K Menu hangs.) Dan