Skip to content

/etc/os-release is missing #10399

Description

@thojo0

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

I wanted to read the /etc/os-release, but there is none such file.
cat: /etc/os-release: No such file or directory

To Reproduce

Steps to reproduce the behavior:

  1. run cat /etc/os-release on console

Expected behavior

Output with the NAME, VERSION, VERSION_ID, ID, PRETTY_NAME, etc.

Describe alternatives you considered

A clear and concise description of any alternative solutions or workaround you considered.

Additional context

/etc/os-release exists, but links as symlink to ../var/run/os-release.
/var/run/os-release actually doesn't exist. Normally (in FreeBSD) this file gets generated by the following startup script: /etc/rc.d/os-release

Environment

OPNsense 26.1.8 (amd64).

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportCommunity support or awaiting triage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions