From owner-freebsd-bugs@freebsd.org Mon Jan 25 11:38:28 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC2C7A45C47 for ; Mon, 25 Jan 2016 11:38:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C358C2F0 for ; Mon, 25 Jan 2016 11:38:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0PBcSZN008388 for ; Mon, 25 Jan 2016 11:38:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206600] geli with new "setkey -n 1" pwd is rejecting pwd 3 times, than ascing for gpt/zfs0.eli pwd Date: Mon, 25 Jan 2016 11:38:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marc.arnold.bach@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2016 11:38:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206600 Bug ID: 206600 Summary: geli with new "setkey -n 1" pwd is rejecting pwd 3 times, than ascing for gpt/zfs0.eli pwd Product: Base System Version: 10.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: marc.arnold.bach@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Hello, I have a test installation in a vmware and zpool status shows a root-pool = in /dev/da0p4.eli =3D> encrypted blockdevice Its result of bsd's "auto zfs root" installation with encryption flag set = to "yes" Symptom: System reboots and is rejecting the new pwd (which very short and simple and very independent from keyboardlayout =3D> asdfg) It asks first generically for geli pwd... later 3 times explicitly for /dev/da0pa while counting down "free tries". At the end it asks for /gpz/zfs0.eli pwd and is booting with asdfg string as pwd After reboot zpool status shows the rootpool to be located at gpt/zfs0.eli = not dev/da0p4 anymore=20 Steps to reproduce this: - Adding a new password in slot 1 is succesfull with=20 root# geli setkey -n 1 /dev/da0p4 [...blabla] may exist old metadata in /var/backups [...blabla]=20 root# reboot Some tests I made: - Using initial pwd from init "qwert" works still fine and I can start syst= em with one keyboard action qwert-Enter - Using setkey -n 0 will overwrite first key succesfully but will end up in rejecting pwd 4 times later again. - By the way I opened another ticket because restoring the metadata to a working pwd is "not permitted" as well. Regards Marc --=20 You are receiving this mail because: You are the assignee for the bug.=