Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xdg-specs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • xdg
  • xdg-specs
  • Merge requests
  • !59

basedir: support separate (vendor/local) trees and masking for config files

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Luca Boccassi requested to merge bluca/xdg-specs:drop-ins into master Oct 25, 2022
  • Overview 40
  • Commits 2
  • Pipelines 6
  • Changes 1

When shipping image-based systems we need a way to handle configuration. The industry is trending toward shipping the vendor-provided tree (possibly as read-only) in /usr, but historically configuration is separate and in /etc. The solution adopted by many projects (individually like systemd and libeconf, or project-wide like SUSE MicroOS or Fedora Core) is to ship vendor-provided defaults in /usr/etc, and let local modifications be located (with higher priority) in /etc.

But there is no standard format or specification - recently at the Image-Based Linux Summit there was agreement with many stakeholders (list of represented projects and minutes at https://uapi-group.org/docs/minutes/2022-10-05__image-based-linux-summit/ ) that it would be really beneficial to have such a specification. So we took the XDG Base Directory Specification and added the necessary changes, that reflect what existing projects support, the result is at https://uapi-group.org/specifications/specs/base_directory_specification/

Given the XDG spec already exists, and these changes are backward-compatible, we'd like to propose to merge them back.

/cc @lennart @smcv

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: drop-ins