#2835 Change: Preset All Systemd Units on First Boot
Closed: Accepted 2 years ago by decathorpe. Opened 2 years ago by bcotton.

Systemd will execute the equivalent of systemctl preset-all when an unconfigured system is booted ("First Boot" condition). This means that units will be enabled or disabled according to the preset configuration. We currently do the equivalent of systemctl preset-all --preset-mode=enable-only, and this will be extended to also disable units, i.e. systemctl preset-all --preset-mode=full. Any units which are manually symlinked but presets say they shouldn't (which is against the packaging guidelines for packaged units) will be disabled.

Note that this applies to "first boot" only, i.e. to boot from an image without /etc fully populated. In does not apply to systems that were installed using Anaconda.

Owners, do not implement this work until the FESCo vote has explicitly ended.
The Fedora Program Manager will create a tracking bug in Bugzilla for this Change, which is your indication to proceed.
See the FESCo ticket policy and the Changes policy for more information.


Insufficient votes. Waiting…

+1

Initially, I was worried this might conflict with cloud images + cloud-init, but it looks like that's addressed already since /etc is fully populated in cloud images. 👍🏻

Looks like this is APPROVED (+6, 0, -0) after two weeks.

Metadata Update from @decathorpe:
- Issue tagged with: pending announcement

2 years ago

Metadata Update from @decathorpe:
- Issue untagged with: pending announcement
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata