-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(FreeBSD-EN-21:08.freebsd-update) package installation problems after upgrading from FreeBSD 12.1-RELEASE #115
Comments
Makes me wonder whether this method of updating the system (package by package) should be supported at all, because it seems very fragile. You don't update Anroid or iOS package by package. There is a new OS image... |
Not really, it's the norm for FreeBSD. If it were unreasonably fragile: users, testers and developers would have been hollering, loudly, for years. For referenceAn outline of actions performed before the update/upgrade from
|
Is this a duplicate of #14? |
I think not. Here we have
– to avoid #14 I'll compare with the https://download.freebsd.org/ftp/releases/VM-IMAGES/12.1-RELEASE/amd64/Latest/FreeBSD-12.1-RELEASE-amd64.vhd.xz upgrade-then-install experience … |
Line 211 in 273014d
Does this not work? |
Thanks,
It seems not relevant to this issue (in this issue, a lock was performed). Re: the |
This comment has been minimized.
This comment has been minimized.
Ah, Line 175 in 4173696
– and/or: 986385c#diff-4d2a8eefdf2a9783512a35da4dc7676a66404b6f3826a8af9aad038722da6823R175
– obscure, easily forgotten/overlooked. Please document the trouble:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Remarkable:
– and the overall inability to login as |
Inability to login as
|
This comment has been minimized.
This comment has been minimized.
pkg upgrade screnarios are not supported (yet?). |
This is (to me) more about package installations … … less about package upgrades. If I recall correctly:
|
With the root user still locked, mid-way through an upgrade from
☑ VirtualBox guest details prior to installation of
|
True. A screen recording: Most remarkable: ⚠ |
Some overlap with helloSystem/Utilities#33 (comment) From Locking out root! – UNIX Administratosphere (2007-11-01):
From passwd(1):
|
People usualy don't read docs until it is too late, so I have added a more drastic workaround for now: 1744e6d |
No such thing ;-) and so on. Please, for now, can you reopen the pull request and document the trouble? |
You see - I have not even begun to look into any update-related topics in FreeBSD yet. |
Thank you. Now, bewilderingly, I seem to have the same problem (with installation of I can not yet understand how these failures (without root-locked helloSystem) occur, compared with #115 (comment) above where I had multiple successes – not all of which I bothered to document – after enabling the root user with helloSystem. I hope to gain a robust explanation in a FreeBSD area. In the meantime, I'm inclined to treat some misbehaviours – with and without helloSystem – as symptomatic of attempting to work with an end of life system … |
This comment has been minimized.
This comment has been minimized.
FreeBSD bug 232921 – freebsd-update upgrade does not execute pwd_mkdb for ntpd refers to the following commit: freebsd-update: unconditionally regenerate passwd/login.conf filesFrom https://cgit.freebsd.org/src/commit/?id=ebebc41e4cfe44b8e8fd881badf2fa2c4be65aa4 (2020-12-17):
For systems that do not yet benefit from the commitFrom https://forums.FreeBSD.org/threads/error-adding-new-user-pw-user-anne-disappeared-during-update.59525/post-341447 (2017-01-30):
I tested this one-line fix on:
All good. Retrospective
It seems that the bug is not only rare, it's also not consistently reproducible – hence the bewildering sense of randomness. The multiple consecutive successes (bug-free tests) after enabling the |
I see no good reason to treat |
Affected packages seem to include:
In context:
No such problem with
databases/mysql57-server
if installation is performed with12.1-RELEASE
. Here's the same virtual machine, rolled back to a snapshot:2021-01-24.14.26.mp4
– however https://www.freebsd.org/security/security.html#sup the expected end of life for
12.1-RELEASE
is one week from now.The text was updated successfully, but these errors were encountered: