Skip to content

Apply systemd presets#299

Merged
toanju merged 1 commit into
gardenlinux:mainfrom
iddpd:systemd-preset
Jul 14, 2026
Merged

Apply systemd presets#299
toanju merged 1 commit into
gardenlinux:mainfrom
iddpd:systemd-preset

Conversation

@iddpd

@iddpd iddpd commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Some systemd presets are being installed in the image but they are not enabled. Fix that by calling systemd preset-all. On a running system this produces the following output.

Removed '/etc/systemd/system/ipmi.service'.
Removed '/etc/systemd/system/multi-user.target.wants/ipmievd.service'.
Removed '/etc/systemd/system/multi-user.target.wants/ssh.service'.
Removed '/etc/systemd/system/multi-user.target.wants/containerd.service'.
Removed '/etc/systemd/system/sshd.service'.
Removed '/etc/systemd/system/timers.target.wants/apt-daily.timer'.
Removed '/etc/systemd/system/timers.target.wants/dpkg-db-backup.timer'.
Unit /etc/systemd/system/systemd-repart.service is masked, ignoring.
Unit /etc/systemd/system/libvirtd-tcp.socket is masked, ignoring.
Created symlink '/etc/systemd/system/multi-user.target.wants/gardener-node-init.service' → '/etc/systemd/system/gardener-node-init.service'.
Unit /usr/lib/systemd/system/cryptdisks-early.service is masked, ignoring.
Unit /usr/lib/systemd/system/cryptdisks.service is masked, ignoring.
Unit /usr/lib/systemd/system/hwclock.service is masked, ignoring.
Unit /usr/lib/systemd/system/nfs-common.service is masked, ignoring.
Unit /usr/lib/systemd/system/sshd-keygen.service is added as a dependency to a non-existent unit sshd.service.
Unit /usr/lib/systemd/system/sshguard.service is added as a dependency to a non-existent unit nftables.service.
Unit /usr/lib/systemd/system/sudo.service is masked, ignoring.
Unit /usr/lib/systemd/system/system-xfs_scrub.slice is added as a dependency to a non-existent unit system.slice.
Unit /usr/lib/systemd/system/x11-common.service is masked, ignoring.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
NONE

Release note:
NONE

@anokfireball

anokfireball commented Jul 14, 2026

Copy link
Copy Markdown
Member

_usi/dbgimport.service has Requires=containerd.service, so at least one component depends on containerd running. According to your PR body (and any lack of systemctl enable containerd), this could break. Should be fine, it's actually disabled in the gardener feature.

@toanju toanju merged commit ed0ce16 into gardenlinux:main Jul 14, 2026
46 checks passed
toanju added a commit that referenced this pull request Jul 15, 2026
Co-authored-by: Евгени Димитров <evgeni.dimitrov@gmail.com>
toanju added a commit that referenced this pull request Jul 15, 2026
Co-authored-by: Евгени Димитров <evgeni.dimitrov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants