Date: Tue, 17 Feb 2009 09:10:02 GMT From: Martin Beran <mb@tns.cz> To: freebsd-rc@FreeBSD.org Subject: Re: conf/128299: [patch] /etc/rc.d/geli does not mount partitions using both journal and eli Message-ID: <200902170910.n1H9A2jK037868@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/128299; it has been noted by GNATS. From: Martin Beran <mb@tns.cz> To: bug-followup@FreeBSD.org, Yoshihiro Ota <ota@j.email.ne.jp> Cc: Subject: Re: conf/128299: [patch] /etc/rc.d/geli does not mount partitions using both journal and eli Date: Tue, 17 Feb 2009 09:50:13 +0100 On Mon, Feb 16, 2009 at 11:22:43PM -0500, Yoshihiro Ota wrote: Hi, Hiro, > I think a patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/120091 > fixes your porblem, too. > > Do you mind if you try and report it? I tried the patch. It solves the second half of the problem - mounting a DEVICE.eli.journal. But for successful mount of both DEVICE.eli.journal and DEVICE.journal.eli, I still need my patch for /etc/rc.d/geli and /etc/rc.d/geli2. Otherwise, I get: eval: ${geli_ad0s2d....}: Bad substitution Running "sh -x /etc/rc.d/geli start" reveals the reason of this error: ... + geli_expand_entry /dev/ad0s2d.journal.eli + local devices3 + local entry dev tail + tail=/dev/ad0s2d.journal.eli + true + dev=/dev/ad0s2d.journal.eli + devices3= /dev/ad0s2d.journal.eli + tail= + break + dev= + echo /dev/ad0s2d.journal.eli + devices=/dev/ad0s2d.journal.eli + provider=/dev/ad0s2d.journal + provider=ad0s2d.journal + devices2= ad0s2d.journal + echo ad0s2d.journal + devices=ad0s2d.journal + [ -z ] + [ -n ] + /sbin/sysctl -n kern.geom.eli.tries + geli_tries=3 + ltr ad0s2d.journal / _ + local _str _src _dst _out _com + _str=ad0s2d.journal + _src=/ + _dst=_ + _out= + IFS=/ + [ -z ] + _out=ad0s2d.journal + echo ad0s2d.journal + provider_=ad0s2d.journal + eval flags=${geli_ad0s2d.journal_flags} eval: ${geli_ad0s2d....}: Bad substitution -- Martin Beran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902170910.n1H9A2jK037868>
