https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288665

            Bug ID: 288665
           Summary: bsdinstall pkgbase: .pkgsave file handling
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 262707
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262707&action=edit
Screenshot: booted from
FreeBSD-15.0-CURRENT-amd64-20250801-0a3792d5c576-279199-disc1.iso

Steps:

1.  perform a traditional installation, name the pool 'blah'
2.  boot, login as root, enter the password, shutdown -p now
3.  boot the previously used FreeBSD installer
4.  shell
5.  bsdconfig networking
6.  get an Internet connection
7.  mkdir /tmp/altroot
8.  zpool import -R /tmp/altroot blah
9.  zfs mount blah/ROOT/default
10. env BSDINSTALL_CHROOT=/tmp/altroot bsdinstall pkgbase
11. complete the installation
12. shutdown -r now
13. login as root

Half-expected (ideal): 

14. a prompt for the root user password

Actual result: 

14. login without authentication
15. et cetera.

Thoughts
--------

I expect files such as /etc/master.passwd.pkgsave to exist – without being
merged – in scenarios such as the one above. 

Other users may have different expectations following a reinstallation of the
OS.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to