UEFI, booted from GELI-encrypted ZFS.

Whenever I attempt to activate a boot environment, activation fails. Instead, 
the environment is mounted.

I tried both beadm and (below) beadm-devel.

Thoughts? Is this, maybe, a known issue when booting r320599 from encrypted ZFS?

Also: at boot time, the list of boot environments is empty. I might workaround,

lszfs poolname/ROOT
set vfs.root.mountfrom=zfs:poolname/ROOT/bename



# date ; uptime ; uname -a
Tue Jul 11 09:15:42 BST 2017
 9:15AM  up 9 mins, 3 users, load averages: 0.26, 0.33, 0.19
FreeBSD momh167-gjp4-hpelitebook8570p-freebsd 12.0-CURRENT FreeBSD 12.0-CURRENT 
#0 r320599: Mon Jul  3 15:34:15 UTC 2017 
r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
# pkg info beadm
Name           : beadm
Version        : 1.2.7_2
Installed on   : Mon Jul 10 21:44:13 2017 BST
Origin         : sysutils/beadm
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : sysutils
Licenses       : BSD2CLAUSE
Maintainer     : bdrew...@freebsd.org
WWW            : https://github.com/vermaden/beadm/
Comment        : Solaris-like utility to manage Boot Environments on ZFS
Annotations    :
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 30.6KiB
Description    :
beadm is an Illumos/Solaris-like utility for FreeBSD to manage
Boot Environments on ZFS filesystems.

WWW: https://github.com/vermaden/beadm/
# pkg install beadm-devel
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating area51 repository catalogue...
area51 repository is up to date.
Updating poudriere repository catalogue...
poudriere repository is up to date.
Updating trueos-base repository catalogue...
trueos-base repository is up to date.
All repositories are up to date.
Checking integrity... done (2 conflicting)
  - beadm-devel- [poudriere] conflicts with beadm-1.2.7_2 
[installed] on /usr/local/sbin/beadm
  - beadm-devel- [FreeBSD] conflicts with beadm-1.2.7_2 
[installed] on /usr/local/sbin/beadm
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:

New packages to be INSTALLED:
        beadm-devel: [poudriere]

Number of packages to be removed: 1
Number of packages to be installed: 1

Proceed with this action? [y/N]: y
[1/2] Deinstalling beadm-1.2.7_2...
[1/2] Deleting files for beadm-1.2.7_2: 100%
[2/2] Installing beadm-devel-
[2/2] Extracting beadm-devel- 100%
# beadm create 2017-07-11-09
Created successfully
# beadm activate 2017-07-11-09
cp: /tmp/BE-2017-07-11-09.H0k1WFYJ/boot/zfs/zpool.cache: No such file or 
# beadm list
BE            Active Mountpoint                      Space Created
default       NR     /                                8.3G 2017-07-07 10:50
2017-07-11-09 -      /tmp/BE-2017-07-11-09.H0k1WFYJ   8.0K 2017-07-11 09:16
# gpart show
=>       40  976773088  ada0  GPT  (466G)
         40     409600     1  efi  (200M)
     409640       2008        - free -  (1.0M)
     411648    4194304     2  freebsd-zfs  (2.0G)
    4605952   33554432     3  freebsd-swap  (16G)
   38160384  938612736     4  freebsd-zfs  (448G)
  976773120          8        - free -  (4.0K)

# mount
hpelitebook8570p/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs, local, multilabel)
procfs on /proc (procfs, local)
bootpool on /bootpool (zfs, local, nfsv4acls)
hpelitebook8570p on /hpelitebook8570p (zfs, local, noatime, nfsv4acls)
hpelitebook8570p/poudriere on /hpelitebook8570p/poudriere (zfs, local, noatime, 
hpelitebook8570p/poudriere/jails on /hpelitebook8570p/poudriere/jails (zfs, 
local, noatime, nfsv4acls)
hpelitebook8570p/poudriere/ports on /hpelitebook8570p/poudriere/ports (zfs, 
local, noatime, nfsv4acls)
hpelitebook8570p/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
hpelitebook8570p/usr/home on /usr/home (zfs, local, noatime, nfsv4acls)
hpelitebook8570p/usr/home/grahamperrin on /usr/home/grahamperrin (zfs, local, 
noatime, nfsv4acls)
hpelitebook8570p/poudriere/data on /usr/local/poudriere/data (zfs, local, 
noatime, nfsv4acls)
hpelitebook8570p/poudriere/data/.m on /usr/local/poudriere/data/.m (zfs, local, 
noatime, nfsv4acls)
hpelitebook8570p/poudriere/data/cache on /usr/local/poudriere/data/cache (zfs, 
local, noatime, nfsv4acls)
hpelitebook8570p/poudriere/data/logs on /usr/local/poudriere/data/logs (zfs, 
local, noatime, nfsv4acls)
hpelitebook8570p/poudriere/data/packages on /usr/local/poudriere/data/packages 
(zfs, local, noatime, nfsv4acls)
hpelitebook8570p/poudriere/data/wrkdirs on /usr/local/poudriere/data/wrkdirs 
(zfs, local, noatime, nfsv4acls)
hpelitebook8570p/poudriere/jails/current on /usr/local/poudriere/jails/current 
(zfs, local, noatime, nfsv4acls)
hpelitebook8570p/poudriere/ports/freebsd-ports-kde on 
/usr/local/poudriere/ports/freebsd-ports-kde (zfs, local, noatime, nfsv4acls)
hpelitebook8570p/usr/ports on /usr/ports (zfs, local, noatime, nosuid, 
hpelitebook8570p/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
hpelitebook8570p/var/VirtualBox on /var/VirtualBox (zfs, local, noatime, 
hpelitebook8570p/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, 
hpelitebook8570p/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, 
hpelitebook8570p/var/log on /var/log (zfs, local, noatime, noexec, nosuid, 
hpelitebook8570p/var/mail on /var/mail (zfs, local, nfsv4acls)
hpelitebook8570p/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
fdescfs on /dev/fd (fdescfs)
hpelitebook8570p/ROOT/2017-07-11-09 on /tmp/BE-2017-07-11-09.H0k1WFYJ (zfs, 
local, noatime, nfsv4acls)
# zfs list
NAME                                                 USED  AVAIL REFER  
bootpool                                             135M  1.73G 133M  /bootpool
hpelitebook8570p                                    78.2G   352G 88K  
hpelitebook8570p/ROOT                               8.27G   352G 88K  none
hpelitebook8570p/ROOT/2017-07-11-09                    8K   352G 8.27G  
hpelitebook8570p/ROOT/default                       8.27G   352G 8.27G  /
hpelitebook8570p/poudriere                          3.62G   352G 88K  
hpelitebook8570p/poudriere/data                      732M   352G 96K  
hpelitebook8570p/poudriere/data/.m                    88K   352G 88K  
hpelitebook8570p/poudriere/data/cache               12.6M   352G 12.6M  
hpelitebook8570p/poudriere/data/logs                42.8M   352G 42.8M  
hpelitebook8570p/poudriere/data/packages             676M   352G 676M  
hpelitebook8570p/poudriere/data/wrkdirs               88K   352G 88K  
hpelitebook8570p/poudriere/jails                     949M   352G 88K  
hpelitebook8570p/poudriere/jails/current             948M   352G 948M  
hpelitebook8570p/poudriere/ports                    1.98G   352G 88K  
hpelitebook8570p/poudriere/ports/freebsd-ports-kde  1.98G   352G 1.98G  
hpelitebook8570p/tmp                                15.9M   352G 15.9M  /tmp
hpelitebook8570p/usr                                66.2G   352G 88K  /usr
hpelitebook8570p/usr/home                           64.3G   352G 547M  /usr/home
hpelitebook8570p/usr/home/grahamperrin              63.7G   352G 58.2G  
hpelitebook8570p/usr/ports                          1.34G   352G 1.34G  
hpelitebook8570p/usr/src                             638M   352G 638M  /usr/src
hpelitebook8570p/var                                1.25M   352G 88K  /var
hpelitebook8570p/var/VirtualBox                       88K   352G 88K  
hpelitebook8570p/var/audit                            88K   352G 88K  /var/audit
hpelitebook8570p/var/crash                            88K   352G 88K  /var/crash
hpelitebook8570p/var/log                             684K   352G 684K  /var/log
hpelitebook8570p/var/mail                            152K   352G 152K  /var/mail
hpelitebook8570p/var/tmp                              88K   352G 88K  /var/tmp
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to