Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
Marco Moock <[email protected]> writes:
Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
Is your /etc/os-release a soft link to /var/run/os-release?
Did you remember to run "freebsd-update install" (and reboot)
the second time to install the user-land parts?
Hello!
Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
[m@teufel ~]$ cat /etc/os-release
NAME=FreeBSD
VERSION="14.2-RELEASE-p3"
VERSION_ID="14.2"
ID=freebsd
ANSI_COLOR="0;31"
PRETTY_NAME="FreeBSD 14.2-RELEASE-p3"
CPE_NAME="cpe:/o:freebsd:freebsd:14.2"
HOME_URL="https://FreeBSD.org/"
BUG_REPORT_URL="https://bugs.FreeBSD.org/"
[m@teufel ~]$
[m@teufel ~]$ freebsd-version
14.3-RELEASE
[m@teufel ~]$
[m@teufel ~]$ sysctl -n kern.osrelease
14.3-RELEASE
[m@teufel ~]$
Is that a bug or did the upgrade fail at any point?
--
kind regards
Marco
Send spam to [email protected]
...Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
...[m@teufel ~]$ cat /etc/os-release
NAME=FreeBSD
VERSION="14.2-RELEASE-p3"
VERSION_ID="14.2"
PRETTY_NAME="FreeBSD 14.2-RELEASE-p3"
Is that a bug or did the upgrade fail at any point?
A bug.
eeing the same thing here.
Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
In article <[email protected]>,
Marco Moock <[email protected]> wrote:
Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
I saw this bug on one system.
I fixed it this way:
# service os-release onestart
If I can reproduce, I'll file a bug.
The mechanism to populate this file isn't documented but Bugzilla
did point to the original PR: <URL:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238953>
John
[email protected]
I had two systems with the sympton:
The first did not update at all, the second one had a stale link in
/etc, which was just fixed with unlink/ln. In both instances I folled
the official guide (install -> reboot -> install).
Hello!
Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
[m@teufel ~]$ cat /etc/os-release
NAME=FreeBSD
VERSION="14.2-RELEASE-p3"
VERSION_ID="14.2"
Is that a bug or did the upgrade fail at any point?
In article <[email protected]>,
Goetz Schultz <[email protected]> wrote:
I had two systems with the sympton:
The first did not update at all, the second one had a stale link in
/etc, which was just fixed with unlink/ln. In both instances I folled
the official guide (install -> reboot -> install).
By default on illumos /var/run is tmpfs(4FS) <URL:https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/svc/milestone/fs-minimal>
Any experience here mounting /var/run tmpfs(5)?
John
[email protected]
In article <[email protected]>,
Goetz Schultz <[email protected]> wrote:
I might miss something here, but how is this related to FBSD? My
/var/run(s) is(are) on a ufs slice.
# uname -srv
FreeBSD 14.3-RELEASE FreeBSD 14.3-RELEASE releng/14.3-n271432-8c9ce319fef7 GENERIC
# mount -p | grep /var/run
tmpfs /var/run tmpfs rw 0 0
So far no issues with a KDE workstation.
Browsing FreeBSD.ORG suggests some ports may incorrectly expect
/var/run to persist across reboots.
John
[email protected]
I might miss something here, but how is this related to FBSD? My
/var/run(s) is(are) on a ufs slice.
Marco Moock <[email protected]> wrote:
Hello!
Yesterday I upgraded to 14.3, but /etc/os-release still shows 14.2.
[m@teufel ~]$ cat /etc/os-release
NAME=FreeBSD
VERSION="14.2-RELEASE-p3"
VERSION_ID="14.2"
Could a port have overlaied /etc/os-release ?
IIRC, /etc/os-release is a Linux thing and may be
needed just for some ports.
The first did not update at all, the second one had a stale link in
/etc, which was just fixed with unlink/ln.
Is there a way to query which package provides that file?
On 13 Jun 2025 10:23: Goetz Schultz wrote:
The first did not update at all, the second one had a stale link in
/etc, which was just fixed with unlink/ln.
Where did it point in the error condition and where when everything was
fine?
Marco Moock <[email protected]> asked:
Is there a way to query which package provides that file?
pkg which /path/to/file, such as "pkg which /etc/os-release".
Does that only show the files directly provided by a package
or also
stuff that is being generated by a package's install scripts?
My WAG is that /etc/os-release will no longer be generated
by /etc/rc.d/os-release once FreeBSD moves to pkgbase. <URL:https://wiki.freebsd.org/PkgBase>
Is that intended or a bug?
If it is intended, why is that file not being deleted?
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 148:36:30 |
| Calls: | 12,091 |
| Calls today: | 4 |
| Files: | 15,000 |
| Messages: | 6,517,557 |