Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2025 09:06:52 +0200
From:      Lars Tunkrans <drsnx60@gmail.com>
To:        FreeBSD Release Engineering Team <re@FreeBSD.org>, freebsd-stable@FreeBSD.org
Subject:   Re: FreeBSD 15.0-BETA2 Now Available
Message-ID:  <1404a698-13d8-4350-90ef-61bd89dbc33c@gmail.com>
In-Reply-To: <20251018212218.B3B58B199@freefall.freebsd.org>
References:  <20251018212218.B3B58B199@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------tPrl61IlTukk3RNoHN5CFyX4
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit



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

--------------tPrl61IlTukk3RNoHN5CFyX4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <p><br>
    </p>
    Den 2025-10-18 kl. 23:22, skrev Colin Percival:<br>
    <blockquote type="cite">The second beta build of the 15.0-RELEASE
      release cycle is now available.<br>
      -- </blockquote>
    I have  found  one  more  problem  <br>
       When  the  ISO-Image  based installer runs  command   adduser(8) 
     at the  end  of  its  run  to create the initial users on  the 
    system: <br>
       when  ZFS encrypted  $HOME   directory is  selected  in  the 
    dialouge,  then  the  directory  is  created  owned by  root .<br>
    <p> </p>
    <p><b>Below  the  user  "betaguest"   is  created by the  installer 
          with  encrypted   ZFS  home  directory  </b></p>
    Also   the  user   "gammaguest"   is  created AFTER  installation 
     by running  adduser(8)    as  root.  <br>
    users  " alphaguest" and "deltaguest  are setup without  encrypted
    ZFS $HOMEs  by the installer  and  the  adduser(8)  respectivelly  
    <p><br>
    </p>
    <p>root@alderan:/home # pwd<br>
      /home<br>
      root@alderan:/home # ls -lasi<br>
      total 44<br>
       34 9 drwxr-xr-x   7 root       wheel       7 Oct 20 08:37 .<br>
       34 9 drwxr-xr-x  20 root       wheel      22 Oct 20 08:33 ..<br>
       34 9 drwxr-xr-x   2 alphaguest alphaguest  9 Oct 20 08:28
      alphaguest<br>
      <b><font size="4">128 1 drwxr-xr-x   2 root       wheel       2
          Oct 20 08:30 betaguest</font></b><br>
       34 9 drwxr-xr-x   2 deltaguest deltaguest  9 Oct 20 08:35
      deltaguest<br>
       34 9 drwxr-xr-x   2 gammaguest gammaguest  9 Oct 20 08:37
      gammaguest</p>
    <p><br>
    </p>
    <p>root@alderan:/home # zfs get all zroot/home/betaguest     (  not 
      relevant  properties  removed.  )  <br>
      NAME                  PROPERTY                VALUE               
         SOURCE</p>
    <p>root/home/betaguest  encryption              aes-256-gcm         
         -<br>
      zroot/home/betaguest  keylocation             prompt             
          local<br>
      zroot/home/betaguest  keyformat               passphrase         
          -<br>
      zroot/home/betaguest  pbkdf2iters             350000             
          -<br>
      zroot/home/betaguest  encryptionroot         
      zroot/home/betaguest    -</p>
    <p><br>
    </p>
    <p>root@alderan:/home # zfs get all zroot/home/gammaguest      ( 
      not  relevant  properties  removed.  )  <br>
      NAME                   PROPERTY                VALUE             
           SOURCE<br>
      <br>
    </p>
    <p>zroot/home/gammaguest  encryption              aes-256-gcm       
           -<br>
      zroot/home/gammaguest  keylocation             prompt             
          local<br>
      zroot/home/gammaguest  keyformat               passphrase         
          -<br>
      zroot/home/gammaguest  pbkdf2iters             350000             
          -<br>
      zroot/home/gammaguest  encryptionroot         
      zroot/home/gammaguest   -<br>
           </p>
    This  happens  on  several  systems    both  Intel  or AMD  based 
    machines. <br>
    When  the  Installer  runs  the  adduser(8)  subroutine,  It  failes
    in  setting  up  the  userpermissions  on  $HOME <br>
    directory  when ZFS  Encryption  is  selected. <br>
    when  adduser(8)  is  run  by the  sysadmin  after installtion it
    operates as  expected  giving  the  user  correct  permissions on
    $HOME
    <p> Regards </p>
    -------------------------<br>
    Lars Tunkrans<br>
    Oracle SPARC/Solaris System Administrator<br>
    Fujitsu M12 SPARC Specilaist<br>
    <br>
  </body>
</html>

--------------tPrl61IlTukk3RNoHN5CFyX4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1404a698-13d8-4350-90ef-61bd89dbc33c>