Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2017 09:31:05 -0400
From:      mfv <mfv@bway.net>
To:        Polytropon <freebsd@edvax.de>
Cc:        RW <rwmaillists@googlemail.com>, mfv via freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: GnuPG smart card && geli
Message-ID:  <20170521093105.018dd27b@gecko4>
In-Reply-To: <20170521095336.bda4180a.freebsd@edvax.de>
References:  <20170517103822.GB16462@c720-r314251> <20170519101806.1674fda0@gecko4> <20170519161416.68df0fc8@gumby.homeunix.com> <20170519121514.21469751@gecko4> <20170519180708.0c8c6b84@gumby.homeunix.com> <20170520165636.27ca80d9@gecko4> <20170521095336.bda4180a.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sun, 2017-05-21 at 09:53 Polytropon <freebsd@edvax.de> wrote:
>
>On Sat, 20 May 2017 16:56:36 -0400, mfv via freebsd-questions wrote:
>> > On Fri, 2017-05-19 at 18:07 RW via freebsd-questions
>> > <freebsd-questions@freebsd.org> wrote:
>> >
>> >On Fri, 19 May 2017 12:15:14 -0400
>> >mfv wrote:
>> >
>> >  
>> >> Is it possible to automatically read a password/passfile during
>> >> boot up from a USB memory stick without geli? If so, how?    
>> >
>> >I've never tried mounting geli partitions at boot time but I would
>> >image you could do it by mounting the stick from fstab and passing
>> >the appropriate flag in rc.conf.
>> >
>> > 
>> >_______________________________________________
>> >freebsd-questions@freebsd.org mailing list
>> >https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >To unsubscribe, send any mail to
>> >"freebsd-questions-unsubscribe@freebsd.org"  
>> 
>> Hello RW,
>> 
>> Thanks for this useful suggestion.  It seems feasible for my skill
>> level.
>> 
>> I know enough of FreeBSD to edit fstab but am not clear about the
>> specific settings in rc.conf.  
>
>I think this pointer is related to the "mount early" and "mount late"
>mechanisms. The distinction can be made with the "late" option in
>/etc/fstab, and "boot time" ("mount early") is the opposite. ;-)
>
>
>
>> As I am not interested in using geli I looked
>> in /etc/defaults/rc.conf for an appropriate setting but could not
>> find anything that could be used. Did I miss something?  If not,
>> does that mean I have to roll my own rc script and place it
>> in /usr/local/etc/rc.d?  
>
>A custom rc.d-style script would provide good contron over _when_
>the mount operation should take place. If you want to mount something
>after normal system startup, you can use /etc/rc.local for scripting.
>
>
>

Hello Polytropon and Matthias,

Thanks to Matthias for raising this issue and to Polytropon for these
additional tips.  Will now delve into a better understanding of the
boot process and rc.d scripts.

Cheers ...

Marek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170521093105.018dd27b>