Project

General

Profile

Actions

Regression #14791

closed
JP JP

``/etc/version.buildtime`` is not being updated on current snapshots

Regression #14791: ``/etc/version.buildtime`` is not being updated on current snapshots

Added by Jim Pingle almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Build / Release
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.09
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:

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.

JP Updated by Jim Pingle almost 3 years ago Actions #1

  • Release Notes changed from Default to Force Exclusion

JP Updated by Jim Pingle almost 3 years ago Actions #2

  • 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

MM Updated by Marcos M almost 3 years ago Actions #3

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

JP Updated by Jim Pingle almost 3 years ago Actions #4

  • Status changed from Feedback to New

JP Updated by Jim Pingle almost 3 years ago Actions #5

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.

JP Updated by Jim Pingle almost 3 years ago Actions #6

  • Assignee changed from Brad Davis to Jim Pingle

JP Updated by Jim Pingle almost 3 years ago Actions #7

  • Status changed from New to Feedback

Applied in changeset commit:9365f3edaead5fe1fe7bcf7d7c5c8ccffadb353c.

JP Updated by Jim Pingle almost 3 years ago Actions #8

  • Status changed from Feedback to Resolved

New code appears to be working properly

JP Updated by Jim Pingle almost 3 years ago Actions #9

  • Target version changed from 2.8.0 to 2.7.1
Actions

Also available in: Atom