Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2023 18:42:27 -0700
From:      brian whalen <brian@sonicboom.org>
To:        freebsd-current@freebsd.org
Subject:   Re: user problems when upgrading to v15
Message-ID:  <fa5fdd87-9b32-6036-98f7-40a56ee65d33@sonicboom.org>
In-Reply-To: <f2f3942e-7e66-1c5b-5702-ec83f0c71cb9@gmail.com>
References:  <5c5c3ea5-5b14-d969-f55f-b894e4983359@sonicboom.org> <e96bef2d-5b16-f97d-4da2-6e78a3e8f0d7@sonicboom.org> <46ee9e3b-adeb-4cd1-5fcc-43547c5c7231@gmail.com> <222e96ba-70b6-e976-8e32-d3726dde18b1@sonicboom.org> <f2f3942e-7e66-1c5b-5702-ec83f0c71cb9@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Repeating the entire process:

I created a 13.2 vm with 6 cores and 8GB of ram.

Ran freebsd-update fetch and install.

Ran pkg install git bash ccache open-vm-tools-nox11

Used git clone to get current and ports source files.

Edited /etc/make.conf to use ccache

Ran make -j6 buildworld && make -j6 kernel

I then rebooted in single user mode and did the next steps saving output 
to a file with > filename.

etcupdate -p was pretty uneventful. It did  show the below and did not 
prompt to edit.

root@f15:~ # less etcupdatep
   C /etc/group
   C /etc/master.passwd

make installworld seemed mostly error free though I did see a nonzero 
status for a man page failed inn the man4 directory.

etcupdate -B only showed the below. This was my first build after install.

root@f15:~ # less etcupdateB
Conflicts remain from previous update, aborting.

If I type exit in single user mode to go multi user mode, the local user 
still works. After a reboot the local user still works. This local user 
can also sudo as expected. This wasn't the case for the previous build 
when I first reported this. However, if I run etcupdate resolve it is 
still presenting /etc/group and /etc/master/passwd as problems.

If this is is expected behavior for current then no big deal. I just 
wasn't sure.

Brian


On 8/30/2023 7:35 PM, Graham Perrin wrote:
> On 31/08/2023 03:31, brian whalen wrote:
>
>> Understood. I guess I was expecting the update process of etcupdate 
>> -p && make installworld && etcupdate -B to not whack existing users 
>> or delete an existing root user's password. I accepted the remote and 
>> then recreated users and reset passwords and am retrying this.
>>
>> BW
>>
> Thanks.
>
> For clarity: did the routine /not/ prompt you to edit the file (in 
> which, you would have seen conflict markers etc.)?
>
>> On 8/30/2023 7:21 PM, Graham Perrin wrote:
>>> On 31/08/2023 03:00, brian whalen wrote:
>>>> … I ran etcupdate resolve accepting the remote option and saw 2 
>>>> issues.
>>>>
>>>> The root user's password was deleted.
>>>>
>>>> The non root user no longer existed.
>>> Logically, remote does not include things such as your root user's 
>>> password.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fa5fdd87-9b32-6036-98f7-40a56ee65d33>