Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • HardenedBSD HardenedBSD
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • HardenedBSD
  • HardenedBSDHardenedBSD
  • Issues
  • #16

Closed
Open
Created Oct 15, 2020 by Shawn Webb@shawn.webbOwner

hbsd-update -C confusing output

Created by: esbjerg

A laptop was installed with HBSD-12 in August 2020. It was updated using hbsd-update on September 11.

At October 14. hbsd-update -C was run and showed

hbsd-v1200060-8249d447 [+] Remote version: hbsd-v1200060-8249d447 sha256 2a4d26b0e8511ecb13dfd2c6eb53568ac526fe5bc154cb783fb2e947854150c1

To me this indicated the OS was patched to the latest. I concluded that by seeing the first line matched the Remote version. /var/db/hbsd-update/version did not exist at this point.

After running hbsd-update hbsd-update -C showed

hbsd-v1200060-8249d447 [+] Local version: hbsd-v1200060-8249d447 [+] Remote version: hbsd-v1200060-8249d447 sha256 2a4d26b0e8511ecb13dfd2c6eb53568ac526fe5bc154cb783fb2e947854150c1

So the OS did need to be patched. I guess I could have figured that out by the missing [+] Local version.

However I think it would be easier to understand if hbsd-update always showed the installed OS version. I know the man page says that it will only show the Local version if /var/db/hbsd-update/version exists.

Example of what I think would be nice output.

Installed: hbsd-v1200060-3430f024 Latest: hbsd-v1200060-8249d447

Edited May 04, 2021 by Loic
Assignee
Assign to
Time tracking