Regression #14791
closed``/etc/version.buildtime`` is not being updated on current snapshots
100%
Description
The file /etc/version.buildtime
used to be a part of the pfSense-base
package base.txz
file, but it isn't there any longer. It's also not in the pfSense
package where other version files moved (e.g. /etc/version
).
Among other uses, the dashboard uses this file to display the "built on" timestamp in the system information widget. Currently even if an update to a new snapshot succeeded, the dashboard is showing an old timestamp since there is no new copy of the file.
It either needs to get back into the base.txz file or moved into the pfSense package.
Updated by Jim Pingle over 1 year ago
- Release Notes changed from Default to Force Exclusion
Updated by Jim Pingle over 1 year ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Brad put a fix in for this: https://github.com/pfsense/FreeBSD-ports/commit/11fd487e5b135b73d613fd9809e5303463254d8e + e7a1c9b4c8130a60c9351024fc74eaac9fcc37e6
Updated by Marcos M over 1 year ago
The version is being updated, but the version string is now different.
cat /etc/version.buildtime
Before:
Thu Sep 07 06:05:43 UTC 2023
After:
20230920-1314
Updated by Jim Pingle about 1 year ago
We could have the widget parse that datestamp and output a more human-readable string. That's probably easier than altering the build process to output the time differently.
Updated by Jim Pingle about 1 year ago
- Assignee changed from Brad Davis to Jim Pingle
Updated by Jim Pingle about 1 year ago
- Status changed from New to Feedback
Applied in changeset 9365f3edaead5fe1fe7bcf7d7c5c8ccffadb353c.
Updated by Jim Pingle about 1 year ago
- Status changed from Feedback to Resolved
New code appears to be working properly
Updated by Jim Pingle about 1 year ago
- Target version changed from 2.8.0 to 2.7.1