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

Bug #1353587 reported by Bryan Quigley
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
bootchart (Ubuntu)
Fix Released
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.

Tags: systemd-boot
Revision history for this message
dino99 (9d9) wrote :

Related issue: lp:1035385

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in bootchart (Ubuntu):
status: New → Confirmed
Revision history for this message
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
Revision history for this message
Daniel Hollocher (chogydan) wrote :

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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
Bryan Quigley (bryanquigley) wrote : Re: superseded by systemd-bootchart, remove after switching to systemd

Agreed, awesome. Closing.

Changed in bootchart (Ubuntu):
status: Triaged → Invalid
Revision history for this message
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)
Revision history for this message
Oliver Grawert (ogra) wrote : Re: superseded by systemd-bootchart, remove after LTS that has switched to systemd (16.10 the earliest)

https://wiki.ubuntu.com/BootCharting should be updated with the new info too

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

@Oli: Indeed! Done

Revision history for this message
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
Revision history for this message
Andrey Bondarenko (abone) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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