3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-04-14 04:31:16 +00:00

Remove snap.subiquity.started from subiquity's After=/Requires= as it

does not fix the race condition they were intended to address and causes
subiquity to be killed when snapd refreshes subiquity (LP: )
This commit is contained in:
Michael Hudson-Doyle 2017-10-18 13:26:08 +13:00
parent 895e2a51f1
commit 1a99680334
2 changed files with 5 additions and 2 deletions
debian
live-build/ubuntu-server/includes.binary/overlay/lib/systemd/system

3
debian/changelog vendored

@ -2,6 +2,9 @@ livecd-rootfs (2.478) UNRELEASED; urgency=medium
* Two last minute server-live fixes:
- Seed the subiquity snap to track the stable channel (LP: #1724410)
- Remove snap.subiquity.started from subiquity's After=/Requires= as it
does not fix the race condition they were intended to address and causes
subiquity to be killed when snapd refreshes subiquity (LP: #1724411)
-- Michael Hudson-Doyle <mwhudson@debian.org> Wed, 18 Oct 2017 13:22:50 +1300

@ -1,8 +1,8 @@
[Unit]
Description=Subiquity, the installer for Ubuntu Server
After=systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service snap.subiquity.started.service
Requires=snapd.service snap.subiquity.started.service
After=rc-local.service
Requires=snapd.service
IgnoreOnIsolate=yes
ConditionPathExists=/dev/tty0
ConditionPathExists=!/run/subiquity/complete