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 9DD761381F3 for ; Tue, 3 Sep 2013 16:16:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23E48E0FF2; Tue, 3 Sep 2013 16:15:57 +0000 (UTC) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3993E0FCF for ; Tue, 3 Sep 2013 16:15:55 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id es20so4748518lab.24 for ; Tue, 03 Sep 2013 09:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=OlO30hAY9SGyydnKX3GFVE/gIogGhsiyL+Q7IE0+pP8=; b=z1f9+C44zAk/j9DWHVTw49YIdw1LdQPCGAyQZVvcCWocOH9/SwprSDmTdUlDR45zDN hg/tEoJJbjh18RiKOAdNw9I/yy5HwoRZskEPZ00J6OjmB//nRlbk2HXqbVhR2ht6YaeF qg/FC1td50Z5HiByOEkWiqOoV3DLXf5OvwFsvV/KmKcrZiVDTxKTwVb4XBY+976OZHmm LGxtlrVKiMC56W8TuQweOuuGXs95jeBPudCVz1etPjtaCx8rtXBq94OChoPs+1HqSfJJ Vxafl2VcfqpLqCGqJVDZVMLuS2CAfUnhB+WkMtAqTcC0FClGCvtYhOYSfv0YkiDezxrf 87Vw== 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 X-Received: by 10.112.161.105 with SMTP id xr9mr2223377lbb.40.1378224954236; Tue, 03 Sep 2013 09:15:54 -0700 (PDT) Received: by 10.114.96.2 with HTTP; Tue, 3 Sep 2013 09:15:54 -0700 (PDT) In-Reply-To: <20130903114634.GA1707@nukleus.lan> References: <20130903114634.GA1707@nukleus.lan> Date: Tue, 3 Sep 2013 11:15:54 -0500 Message-ID: Subject: Re: [gentoo-user] systemd and LUKS From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: dce5f14e-4f72-402e-b93f-344442f6cc06 X-Archives-Hash: f23c96616f899d85f81aa1398cb23c98 On Tue, Sep 3, 2013 at 6:46 AM, Frank Steinmetzger wrote: > Hey list > > after the many discussions here about systemd I had a flash of > objectivity (=E2=80=9CWho cares if people rant about Lennart, the concept= seems > sound and I don=E2=80=99t care about separate /usr=E2=80=9D). So I wanted= to try systemd > on my netbook. > > I cloned the / partition from sda2 to sda7 and chrooted into it. In > there I followed the systemd Gentoo wiki=C2=B9, i.e. I configured the ker= nel, > installed systemd, added "-consolekit systemd" to my use flags, rebuilt > world with --new-use and added init=3D/usr/lib/systemd/systemd to the > kernel cmdline. > > Rebooting works until the point of mounting /home, which is a LUKS > container. I get the message: > "A start job is running for dev-mapper-home.service" > and eventually a timeout and prompt for root password or Ctrl-D. > > The wiki references a bug report that /etc/crypttab was ignored. Well, I > didn=E2=80=99t have one, but apparently my old crypt setup was heeded (be= cause > systemd knew that I wanted sda5 mounted as home). Mmmh. I don't use LUKS, but from what I understand, systemd generates the unit files necessary to mount encrypted partitions, and to do this it needs /etc/crypttab, in the same manner that it needs /etc/fstab to generate the unit files for the normal partitions. http://www.freedesktop.org/software/systemd/man/systemd-cryptsetup-generato= r.html > I tried researching the problem. One I found was a Gentoo forum thread > about LVM. I found out that I was missing CONFIG_DM_UEVENT. But enabling > it didn=E2=80=99t help either. I found files in the partition=E2=80=99s /= dev directory, > which hinted that DEVTMPFS_MOUNT was not set. But I don=E2=80=99t suppose= that=E2=80=99s > really a problem. I would add it anyway. > Does any of you have experience with this combination and would like to > share it? Thanks. > > =C2=B9 http://gentoo-en.vfose.ru/wiki/Systemd > > > > On a sidenote, for some reason, grub2 doesn=E2=80=99t find the kernel if = I keep > the menuentry=E2=80=99s search commands which are created by grub2-mkconf= ig. > Only if I remove all the search --uuid...yadda yadda..., the entry > boots. > The boot partition (where the grub files lie) is still my normal / on > sda2. It then boots the systemd installation on sda7 which was detected > by os_prober. Are you sure it's not under the "advanced" submenu? One question: how is the /etc/fstab file in the systemd installation? Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico