superseded by systemd-bootchart, remove after no form factors use upstart as pid1

Bug #1353587 reported by Bryan Quigley on 2014-08-06
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
bootchart (Ubuntu)
Low
Unassigned

Bug Description

Bootchart currently does not work if systemd is the init system. This prevents us from comparing boot speed from upstart vs systemd. (It also might make other bugs more visible). The provided init.d script doesn't work.

bootchart2 (in debian) does have systemd unit files available but they are not drop in replacements for bootchart(1).

There is also a bootchart built in to systemd? That might also be a useful option.

I'm on Ubuntu Utopic with bootchart 0.90.2-8ubuntu2. (Was originally looking at in https://bugs.launchpad.net/ubuntu/+source/bootchart/)

[2016 update]
In light of current status of Ubuntu form-factors - I'd like to keep this in until after none of the form factors use upstart as pid1. At the moment, ubuntu touch does. And it might be likely that e.g. ubuntu touch will use xenial with an underlay ppa, still with upstart as pid1.

dino99 (9d9) wrote :

Related issue: lp:1035385

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bootchart (Ubuntu):
status: New → Confirmed
Daniel Hollocher (chogydan) wrote :

You can get a bootchart on systemd with the following command `systemd-analyze plot > plot.svg`

I'm nobody, so feel free to unset the invalid status if that doesn't solve your issue.

Changed in bootchart (Ubuntu):
status: Confirmed → Invalid
Daniel Hollocher (chogydan) wrote :

for more info regarding systemd: http://0pointer.de/blog/projects/blame-game.html

Bryan Quigley (bryanquigley) wrote :

@Daniel,,
You're not nobody. that was incredibly helpful! Per the blog post you posted I'll be able to do what I was hoping to do. Although per the same blogpost, bootchart still has some useful advantages over the systemd way..

Changed in bootchart (Ubuntu):
status: Invalid → Confirmed
importance: Undecided → Low
Martin Pitt (pitti) wrote :

systemd-analyze plot is a very reduced form of bootchart indeed, but has the advantage that it's always available. OTOH, systemd has "systemd-bootchart" built in which needs to be activated manually as it slows down the boot due to the probing (like the original bootchart). But it's very easy -- boot with init=/lib/systemd/systemd-bootchart, and pick up the SVG from / run/log. (See man systemd-bootchart).

This shows all the information that the old "bootchart" package did (it's built on top of that and got developed further). So I think we don't need to bother about adding units to this package, and should instead just remove it once we switch over to systemd as a default. Do you agree?

summary: - [systemd] Bootchart needs unit files
+ superseded by systemd-bootchart, remove after switching to systemd
Changed in bootchart (Ubuntu):
status: Confirmed → Triaged

Agreed, awesome. Closing.

Changed in bootchart (Ubuntu):
status: Triaged → Invalid
Martin Pitt (pitti) wrote :

Still keeping it open as a reminder to remove the package.

Changed in bootchart (Ubuntu):
status: Invalid → Triaged
summary: - superseded by systemd-bootchart, remove after switching to systemd
+ superseded by systemd-bootchart, remove after LTS that has switched to
+ systemd (16.10 the earliest)
Martin Pitt (pitti) wrote :

@Oli: Indeed! Done

Dimitri John Ledkov (xnox) wrote :

In light of current status of Ubuntu form-factors - I'd like to keep this in until after none of the form factors use upstart as pid1. At the moment, ubuntu touch does. And it might be likely that e.g. ubuntu touch will use xenial with an underlay ppa, still with upstart as pid1.

description: updated
summary: - superseded by systemd-bootchart, remove after LTS that has switched to
- systemd (16.10 the earliest)
+ superseded by systemd-bootchart, remove after no form factors use
+ upstart as pid1
Martin Pitt (pitti) wrote :

Removing packages from yakkety:
 bootchart 0.90.2-8ubuntu2 in yakkety
  bootchart 0.90.2-8ubuntu2 in yakkety amd64
  bootchart 0.90.2-8ubuntu2 in yakkety arm64
  bootchart 0.90.2-8ubuntu2 in yakkety armhf
  bootchart 0.90.2-8ubuntu2 in yakkety i386
  bootchart 0.90.2-8ubuntu2 in yakkety powerpc
  bootchart 0.90.2-8ubuntu2 in yakkety ppc64el
  bootchart 0.90.2-8ubuntu2 in yakkety s390x
Comment: superseded by systemd-bootchart, LP#1353587

Changed in bootchart (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers