Skip to content

Tracking upstream projects that do not support hermetic-usr for configuration #76

Open
@bluca

Description

@bluca

This issue will be used to track Linux projects that do not currently support hermetic-usr configuration style (ie: /usr/lib/foo as default, /run/foo as ephemeral local override, /etc/foo as persistent local override). The purpose is to have a cross-distribution list of items to slowly work through, to be able to have a bootable and working minimal Linux image-based system with only /usr.

This list is not definitive and will get updated as we go.

  • glibc:
  • update-alternatives (from dpkg) uses /etc/alternatives. There is https://github.com/openSUSE/libalternatives but this only works for binaries, not e.g. manual pages
  • SELinux
    • policycoreutils/sestatus (/etc/sestatus.conf)
    • selinux-policy installs the policy in /etc/selinux/ and /var/lib/selinux/. Tracker for Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1290659. Especially the last is a problem, as this mixes user changes with policy defaults. /var/lib/selinux needs to be split: the package defaults belongs somewhere to /usr, which should be merged with the admin changes (should be stored in /etc/, not /var) at runtime.
  • apparmor
  • sudo has /etc/sudo.conf, /etc/sudoers and /etc/sudo_logsrvd.conf
  • audit (/etc/audit/auditd.conf, /etc/libaudit.conf)
  • rsync (/etc/rsyncd.conf)
  • chrony (/etc/chrony.conf)
  • podman and releated tools/libraries (/etc/containers)
  • apt
  • dpkg
  • dnf5 which requires /etc/dnf/dnf.conf
  • systemd "empty" main config files in /etc/systemd
  • udev "empty" main config files in /etc/udev
  • Xorg: /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
  • mailx (/etc/mail.rc)
  • util-linux (/etc/blkid.conf)
  • fcoe-utils (/etc/fcoe/)
  • open-iscsi (/etc/iscsi/iscsid.conf)
  • krb5 (/etc/krb5.conf)
  • libnl (/etc/libnl/)
  • libssh (/etc/libssh/)
  • e2fsprogs (/etc/mke2fs.conf)
  • nftables (/etc/nftables/)
  • smartmontools (/etc/smartd.conf, /etc/smartd_warning.sh)
  • wpa_supplicant (/etc/wpa_supplicant/wpa_supplicant.conf)
  • attr (/etc/xattr.conf)
  • zypper (/etc/zypp/zypp.conf, /etc/zypp/zypper.conf)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions