Skip to content

Commit

Permalink
fix d/p/do-not-block-user-login.patch
Browse files Browse the repository at this point in the history
Commit f17b889 unintentionally redacted the second part of the
changeset moving Before=systemd-user-sessions.service from
cloud-config.service back into cloud-init.service.

Replace the dropped patchset.
  • Loading branch information
blackboxsw committed Nov 1, 2023
1 parent 7c12679 commit e59a4ea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions debian/patches/do-not-block-user-login.patch
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Wants=network-online.target cloud-config.target
ConditionPathExists=!/etc/cloud/cloud-init.disabled
ConditionKernelCommandLine=!cloud-init=disabled
--- a/systemd/cloud-init.service.tmpl
+++ b/systemd/cloud-init.service.tmpl
@@ -38,6 +38,7 @@ Conflicts=shutdown.target
Before=shutdown.target
Conflicts=shutdown.target
{% endif %}
+Before=systemd-user-sessions.service
ConditionPathExists=!/etc/cloud/cloud-init.disabled
ConditionKernelCommandLine=!cloud-init=disabled
ConditionEnvironment=!KERNEL_CMDLINE=cloud-init=disabled

0 comments on commit e59a4ea

Please sign in to comment.