change seeds to keep upstart as init system on Ubuntu Touch

Bug #1428026 reported by Martin Pitt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Martin Pitt
Vivid
Fix Released
Undecided
Martin Pitt
ubuntu-meta (Ubuntu)
Fix Released
Undecided
Martin Pitt
Vivid
Fix Released
Undecided
Martin Pitt
ubuntu-touch-meta (Ubuntu)
Fix Released
Undecided
Martin Pitt
Vivid
Fix Released
Undecided
Martin Pitt

Bug Description

As per https://blueprints.launchpad.net/ubuntu/+spec/core-1411-systemd-migration we want to switch vivid from upstart to systemd, which will happen in ubuntu-minimal. Currently ubuntu-touch also uses ubuntu-minimal, but we can't switch ubuntu-touch to systemd yet.

So we need to give touch its own minimal, by copying platform.vivid's required seed to ubuntu-touch.vivid, and then either build a new ubuntu-touch-minimal, or just fold it into the existing ubuntu-touch metapackage. (Opinions?)

Martin Pitt (pitti)
Changed in ubuntu-touch-meta (Ubuntu Vivid):
milestone: none → ubuntu-15.03
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti)
description: updated
Martin Pitt (pitti)
description: updated
Martin Pitt (pitti)
summary: - add minimal seed
+ fork required/minimal seed to keep upstart as init system
Revision history for this message
Martin Pitt (pitti) wrote : Re: fork required/minimal seed to keep upstart as init system

As a first attempt I changed the ubuntu-touch.vivid seeds like this: http://paste.ubuntu.com/10524862/ (forking/copying required and essential.

Then I added the new ubuntu-minimal-touch binary and the minimal-touch seed to ubuntu-touch-meta: http://paste.ubuntu.com/10524878/

This causes the following autogenerated changes: http://paste.ubuntu.com/10524893/ The problem is this:

+minimal-touch ubuntu-touch-minimal-touch

which obviously doesn't match the intended package name ubuntu-touch-minimal (or ubuntu-minimal-touch would also be okay), and hence the generated dependencies of the new u-m-t metapackage are empty.

Revision history for this message
Martin Pitt (pitti) wrote :

Colin points out that ubuntu-minimal is Priority: important and hence gets into debootstrap. That's the mechanism how ubuntu-minimal is installed (as it doesn't have any reverse dependencies, in particular not ubuntu-{standard,touch,desktop}. So we might need to consider alternative ways.

 One option would be to move ubuntu-minimal from "upstart" to "init", and promote "init" to required. init currently Pre-Depends: upstart | systemd-sysv, so for now this wouldn't change anything. But we need to explicitly seed "upstart" in touch then. The main thing to figure out is whether the image build process gets along with removing systemd-sysv and installing upstart.

summary: - fork required/minimal seed to keep upstart as init system
+ change seeds to keep upstart as init system on Ubuntu Touch
Revision history for this message
Martin Pitt (pitti) wrote :

Updated plan:

Right now:
 - Switch ubuntu-minimal to "init" (no-op as init's preferred alternative is upstart).
 - Add "upstart" dependency to ubuntu-touch, as an extra precaution; lots of packages in -touch actually depend on upstart, but let's be explicit. (No-op right now, but this will prepare us for doing the switch)
 - Explicitly uninstall systemd-sysv in livecd-rootfs (http://paste.ubuntu.com/10525503/) to convince apt to uninstall systemd-sysv and install upstart.

When we do the switch:

 - Upload "init" with flipped dependencies (systemd-sysv | upstart)
 - Add "systemd-sysv" to ubuntu-standard for switching upgrades.

Changed in ubuntu-touch-meta (Ubuntu Vivid):
status: New → In Progress
Martin Pitt (pitti)
Changed in livecd-rootfs (Ubuntu Vivid):
status: New → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Changed in ubuntu-touch-meta (Ubuntu Vivid):
status: In Progress → Fix Committed
Changed in ubuntu-meta (Ubuntu Vivid):
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.290

---------------
livecd-rootfs (2.290) vivid; urgency=medium

  * touch: Explicitly uninstall systemd-sysv, to help apt to install upstart
    when the preferred "init" alternative is systemd-sysv. Also explicitly
    install packagekit to help the problem resolver. Thanks Colin Watson!
    (LP: #1428026)
 -- Martin Pitt <email address hidden> Wed, 04 Mar 2015 12:04:22 +0100

Changed in livecd-rootfs (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-touch-meta - 1.211

---------------
ubuntu-touch-meta (1.211) vivid; urgency=medium

  * Refreshed dependencies
  * Added upstart to desktop, touch. This ensures that we keep upstart on
    Touch even when we switch Ubuntu to systemd. (LP: #1428026)
 -- Martin Pitt <email address hidden> Wed, 04 Mar 2015 11:57:55 +0100

Changed in ubuntu-touch-meta (Ubuntu Vivid):
status: Fix Committed → Fix Released
Martin Pitt (pitti)
Changed in ubuntu-meta (Ubuntu Vivid):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-meta - 1.331

---------------
ubuntu-meta (1.331) vivid; urgency=medium

  * Refreshed dependencies
  * minimal: Replace upstart with init. (LP: #1428026)
 -- Martin Pitt <email address hidden> Wed, 04 Mar 2015 13:38:29 +0100

Changed in ubuntu-meta (Ubuntu Vivid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.