Constantsยง
- BOOTC_
EDITED_ ๐STAMP - CLEANUP_
UNIT ๐ - EDIT_
UNIT ๐ - FSTAB_
ANACONDA_ ๐STAMP - MULTI_
USER_ ๐TARGET - STATUS_
ONBOOT_ ๐UNIT - STATUS_
PATH_ ๐UNIT - SYSINIT_
TARGET ๐ - TRANSIENT_
RELABEL_ ๐UNIT
Functionsยง
- enable_
unit ๐ - fstab_
generator_ ๐impl - Called when the root is read-only composefs to reconcile /etc/fstab
- generate_
fstab_ ๐editor - Parse /etc/fstab and check if the root mount is out of sync with the composefs state, and if so, fix it.
- generate_
transient_ ๐overlay_ relabel - Generate a oneshot service that relabels the transient overlay inode after SELinux policy loads, fixing the tmpfs_t label SELinux assigns to overlay upper-dir inodes at policy-load time.
- generator ๐
- Main entrypoint for the generator
- relabel_
overlay_ ๐mountpoints - Relabel transient overlay mount point inodes using the running SELinux policy. Called by the generated bootc-early-overlay-relabel.service oneshot to fix the tmpfs_t label that fs_use_trans assigns to overlay upper-dir inodes at policy-load time. Each of /, /etc, /var is relabelled iff it is a writable overlayfs (i.e. a transient overlay, not the read-only composefs).
- unit_
enablement_ ๐impl - Enable our units