Skip to content

Bug Report: Violation of FHS by storing variable data under /usr/share? #393

Open
@ralfbergs

Description

OS Version

Ubuntu 24.04.1 LTS

System Information

Linux server. 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

What happened?

I understand that my choice of an OS is unsupported, but please note that installing HA Supervised under a supported OS would result in the very same problem (as it is "by design"), so I'm kindly asking you to make an exception and consider this report anyway.

This is a duplicate of an issue I filed in the wrong project previously.

Describe the issue you are experiencing

It somehow feels wrong that frequently-modified data is stored under /usr/share, more specifically under /usr/share/hassio/homeassistant, such as various SQLite databases, logfiles.

To me that seems a clear violation of the Filesystem Hierarchy Standard that says /usr/share is meant for "Architecture-independent (shared) data."

I believe most of the data should go under /var/lib/homeassistant/ or /var/log/homeassistant/.

Steps to reproduce the issue

  1. Install HA Supervised.
  2. Observe the folders used by HA within the file system hierarchy.

Machine Type

generic-x86-64

Installer output

not relevant

Relevant log output

not relevant

ADR

  • I have read through the ADR and have confirmed that my system is compliant with the requirements
  • I understand that if my system is found to not be compliant, my issue will be closed immediately without further investigation

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions