Re: FreeBSD 15.0-BETA2 Now Available

From: Lars Tunkrans <drsnx60_at_gmail.com>
Date: Mon, 20 Oct 2025 07:06:52 UTC

Den 2025-10-18 kl. 23:22, skrev Colin Percival:
> The second beta build of the 15.0-RELEASE release cycle is now available.
> -- 
I have  found  one  more  problem
    When  the  ISO-Image  based installer runs  command   adduser(8)  at 
the  end  of  its  run  to create the initial users on  the system:
    when  ZFS encrypted  $HOME   directory is  selected  in  the 
dialouge,  then  the  directory  is  created  owned by  root .

*Below  the  user  "betaguest"   is  created by the  installer   with  
encrypted   ZFS  home  directory *

Also   the  user   "gammaguest"   is  created AFTER  installation  by 
running  adduser(8)    as  root.
users  " alphaguest" and "deltaguest  are setup without  encrypted ZFS 
$HOMEs  by the installer  and  the  adduser(8)  respectivelly


root@alderan:/home # pwd
/home
root@alderan:/home # ls -lasi
total 44
  34 9 drwxr-xr-x   7 root       wheel       7 Oct 20 08:37 .
  34 9 drwxr-xr-x  20 root       wheel      22 Oct 20 08:33 ..
  34 9 drwxr-xr-x   2 alphaguest alphaguest  9 Oct 20 08:28 alphaguest
*128 1 drwxr-xr-x   2 root       wheel       2 Oct 20 08:30 betaguest*
  34 9 drwxr-xr-x   2 deltaguest deltaguest  9 Oct 20 08:35 deltaguest
  34 9 drwxr-xr-x   2 gammaguest gammaguest  9 Oct 20 08:37 gammaguest


root@alderan:/home # zfs get all zroot/home/betaguest     (  not 
relevant  properties  removed.  )
NAME                  PROPERTY                VALUE    SOURCE

root/home/betaguest  encryption              aes-256-gcm    -
zroot/home/betaguest  keylocation             prompt     local
zroot/home/betaguest  keyformat               passphrase     -
zroot/home/betaguest  pbkdf2iters             350000     -
zroot/home/betaguest  encryptionroot zroot/home/betaguest    -


root@alderan:/home # zfs get all zroot/home/gammaguest      ( not  
relevant  properties  removed.  )
NAME                   PROPERTY                VALUE      SOURCE

zroot/home/gammaguest  encryption              aes-256-gcm      -
zroot/home/gammaguest  keylocation             prompt     local
zroot/home/gammaguest  keyformat               passphrase     -
zroot/home/gammaguest  pbkdf2iters             350000     -
zroot/home/gammaguest  encryptionroot zroot/home/gammaguest   -

This  happens  on  several  systems    both  Intel  or AMD  based machines.
When  the  Installer  runs  the  adduser(8)  subroutine,  It  failes in  
setting  up  the  userpermissions  on  $HOME
directory  when ZFS  Encryption  is  selected.
when  adduser(8)  is  run  by the  sysadmin  after installtion it 
operates as  expected  giving  the  user  correct  permissions on $HOME

  Regards

-------------------------
Lars Tunkrans
Oracle SPARC/Solaris System Administrator
Fujitsu M12 SPARC Specilaist