From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8CE59138334 for ; Fri, 16 Nov 2018 17:16:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 523A2E0949; Fri, 16 Nov 2018 17:15:53 +0000 (UTC) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 B92AEE091A for ; Fri, 16 Nov 2018 17:15:52 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id e22-v6so11691792pfn.8 for ; Fri, 16 Nov 2018 09:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=rXakZu9Qg4RtcWLXcjE79rfdALPCWHtYAVYrYyljsjE=; b=jSJFXBXTadn1TeMW/fZ0s7zmep9upCDNO5KRLSebaMgPJYStQ5a78qfd+cttCvf6sy qFReYFN5Q5eLF541G16JTPPDdO8gqK+Z5OGvdREj/TJ7lyWxlk64iy4/OL/HTN9WhyLb eKZneJxeTyCk0UY5srA8X+LtOU4mHNG4mKz691aHEE3/1Yj5U3pwwOhnj8HOnBcw62CE MJqbMD8o9vJAhaSG0IMf+YDpQfW4zGz9LrCmuZHMVjXYXaKaFLdE1MZERFsPfoCBAN78 jDmx74PBwurronnKJcS8aWhOec9Yizrf38j1KdBvwQZm5xPTQJ2dEb9ZYQwrhJaN7R24 hD1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=rXakZu9Qg4RtcWLXcjE79rfdALPCWHtYAVYrYyljsjE=; b=OjkuANkt5FAc1KwaddHFcAKWHEDrEbVHk7TCxB5jVuHiCFbTVdq0me85T7c2l/bmhn gIeFWGtzOIDcyGteYIdN6j0kPXQeaH555Mr3ZeoEREWqVrs82ImmQLfx8qCLwSL9S4jJ ttHASwFGoPVL6V4h2WC/NsMGY8Z+v107SkKkArb5zCHa928E48YT7+TXIhkwTLUPZl32 ZaDFcFVcwuy02fT6tEqUk7lSf0Yy0joiR8ixYuYJTzLfdf3MSgjdovX/iB/j2BYgTWdW mzIkD2UzkxISMzL/LY/b8yF9OxQGRP232ARq3rvQeI+5hChOSUb6gdq/pa46fqvd3dvP 3d9A== X-Gm-Message-State: AGRZ1gJC/avHYVo+n88J3h1G0UpBJdmHk2u2RvJZc6JBGvjdvNv2fWix kQ632i6oL/N/5jlzdVP8nR/ZJGwk X-Google-Smtp-Source: AJdET5dH0908HF9Gmk49A7Fo7rmH87y1SB8tKx7tI9BPXMAoOhxoPSYwr/MI3OUn75Euo/v79eQxFA== X-Received: by 2002:a63:d747:: with SMTP id w7mr10493653pgi.360.1542388550597; Fri, 16 Nov 2018 09:15:50 -0800 (PST) Received: from ?IPv6:2602:47:d690:3302:5dc6:10d8:2212:2583? ([2602:47:d690:3302:5dc6:10d8:2212:2583]) by smtp.gmail.com with ESMTPSA id c13sm11056159pfo.121.2018.11.16.09.15.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 09:15:49 -0800 (PST) From: Andrew Udvare Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: [gentoo-user] systemd/dracut: Correctly boot using flash drive with LUKS key? Date: Fri, 16 Nov 2018 12:15:47 -0500 References: To: gentoo-user@lists.gentoo.org In-Reply-To: Message-Id: <89A9AAF0-D6D1-422D-A861-C2E30CF1B75B@gmail.com> X-Mailer: Apple Mail (2.3445.101.1) X-Archives-Salt: a88d02e6-1481-4c07-b88d-4e1d051c632a X-Archives-Hash: f2cdf2dddb7335f2b5cfd9739c5cc612 > On 2018-11-16, at 08:16, Rich Freeman wrote: >=20 > On Fri, Nov 16, 2018 at 12:11 AM Andrew Udvare = wrote: >>=20 >> - use key to decrypt root partition (systemd job in the first systemd >> launched within initramfs) >> ... >> Nov 16 00:01:52 limelight systemd[1]: Dependency failed for = /mnt/chuan. >> Nov 16 00:01:52 limelight systemd[1]: mnt-chuan.mount: Job >> mnt-chuan.mount/start failed with result 'dependency'. >=20 > So, I haven't messed around that much with systemd and removable > media, but a few things I'd start by looking at: >=20 > systemctl show mnt-chuan.mount > systemctl list-dependencies --reverse --all mnt-chuan.mount So this output seems to make sense, and running systemctl stop on the = mount gave me similar messages about dependencies. I"m not sure there is = a way around this, as the dependency tree always relies on that mount = before systemd-cryptsetup@root can work. If unmounted it will be flagged = as in invalid state. I am not sure if there is a way to move the = systemd-cryptsetup@home.service up the dependency tree once it's = working, which would then remove the mnt-chuan.mount dependency. Tree from the device: dev-disk-by\x2...device =E2=97=8F =E2=94=94=E2=94=80mnt-chuan.mount =E2=94=82 =E2=94=94=E2=94=80... =E2=97=8F =E2=94=9C=E2=94=80systemd-cryptsetup@home.service =E2=97=8F =E2=94=82 =E2=94=9C=E2=94=80dev-disk-by\x2duuid-....device =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80... =E2=97=8F =E2=94=82 =E2=94=9C=E2=94=80dev-mapper-home.device =E2=97=8F =E2=94=82 =E2=94=94=E2=94=80cryptsetup.target =E2=97=8F =E2=94=82 =E2=94=94=E2=94=80sysinit.target systemd-cryptsetup@home.service is red. --=20 Andrew Udvare=