Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions fedora-coreos-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ tmp-is-dir: true

# Required by Ignition, and makes the system not compatible with Anaconda
machineid-compat: false
# New model
sysusers: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, how this intersects with Ignition is interesting. Ignition allows you to specify users/groups by name for each file/dir/link. I think this means that we'd have to run sysusers too in the initrd on first boot. That would also allow us to just do a blanket systemd-tmpfiles --create --boot --root=/sysroot --prefix=/var.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where's the code that runs systemd-tmpfiles for Ignition today?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Today, nowhere. :)
Soon: coreos/ignition-dracut#47

sysusers-users:
dbus: 81 # Historical
dnsmasq: 920 # No particular reason to start here
polkitd: 921
chrony: 922
sysusers-groups:
utmp: 22 # Matches historical soft value
ssh_keys: 23 # Matches historical soft value

releasever: "29"
automatic_version_prefix: "29"
Expand All @@ -15,21 +25,6 @@ repos:
- fedora-updates
- dustymabe-ignition

ignore-removed-users:
- root
ignore-removed-groups:
- root
etc-group-members:
- wheel
- sudo
- systemd-journal
- adm
check-passwd:
type: "file"
filename: "passwd"
check-groups:
type: "file"
filename: "group"

postprocess:
- |
Expand Down
52 changes: 0 additions & 52 deletions group

This file was deleted.

33 changes: 0 additions & 33 deletions passwd

This file was deleted.