[FFe] Sync ltt-control and remove lttng-tools to fix broken lttng in 13.04

Bug #1163358 reported by Paweł Stołowski
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ltt-control (Ubuntu)
Fix Released
Undecided
Unassigned
ust (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu ships "lttng-tools" which is a packaged version of LTTng's "lttng-tools" tarball. Debian ships the same thing, including an almost identical copy of our packaging using an old "ltt-control" source package name.

This is as far as I know the only bit of the LTTng stack that we aren't in sync with, most likely because of the different source package name which made it drop off my radar.

Anyway, our lttng-tools is now outdated and broken in 13.04 as can be seen in this bug report, so I'd like us to do the following:
 - Sync ltt-control from Debian (2.1.1-2 should do the trick)
 - Remove the lttng-tools source from Ubuntu
 - Check that everything now works

As things stand, the control daemon simply crashes at startup, so I'm seeing this as a very low-risk action as "things can't really go any worse".

Asking for an FFe nonetheless as we're talking about a pretty major version bump which will bring new features in the process (I can probably dig an exact list if anyone cares).

--- Original bug report ---
liblttng-ust-ctl.so.0 is not provided by any package in raring. There is a broken symbolic link: /usr/lib/x86_64-linux-gnu/liblttng-ust-ctl.so -> liblttng-ust-ctl.so.1.0.0 (target is missing).

This makes lttng fail, eg:

$ lttng list
Spawning a session daemon
lttng-sessiond: error while loading shared libraries: liblttng-ust-ctl.so.0: cannot open shared object file: No such file or directory
Error: Session daemon died (exit status 127)

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

This bug was fixed in the package ust - 2.1.1-2

---------------
ust (2.1.1-2) unstable; urgency=low

  * [390e7e4] Include liblttng-ust-ctl library in liblttng-ust0.
    Thanks to Glenn McGrath

 -- Jon Bernard <email address hidden> Thu, 28 Feb 2013 03:48:49 -0500

Changed in ust (Ubuntu):
status: New → Fix Released
Revision history for this message
Christopher Lee (veebers) wrote :

I'm still experiencing this error with the fixed version:

$ lttng list -u
Spawning a session daemon
lttng-sessiond: error while loading shared libraries: liblttng-ust-ctl.so.0: cannot open shared object file: No such file or directory
Error: Session daemon died (exit status 127)

$ dpkg -l liblttng-ust0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================-=============-=============-=====================================
ii liblttng-ust0:am 2.1.1-2 amd64 LTTng 2.0 Userspace Tracer (libraries

Changed in ust (Ubuntu):
status: Fix Released → Triaged
summary: - Missing liblttng-ust-ctl.so.0
+ [FFe] Sync ltt-control and remove lttng-tools to fix broken lttng in
+ 13.04
description: updated
Changed in ust (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

affects: lttng-tools (Ubuntu) → ltt-control (Ubuntu)
Changed in ltt-control (Ubuntu):
status: New → Confirmed
Revision history for this message
Iain Lane (laney) wrote :

Ack in principle, but please do some basic smoke checking before syncing to make sure that obvious issues (including with the packaging upgrade path; it seems there are more binary packages in Debian, for example) can be fixed in the first upload.

Changed in ltt-control (Ubuntu):
status: New → Triaged
Revision history for this message
Stéphane Graber (stgraber) wrote :

Pre-upgrade:
stgraber@castiana:~$ lttng list
Spawning a session daemon
lttng-sessiond: error while loading shared libraries: liblttng-ust-ctl.so.0: cannot open shared object file: No such file or directory
Error: Session daemon died (exit status 127)

Post-upgrade:
stgraber@castiana:~$ lttng list
Spawning a session daemon
Currently no available tracing session

I'll now trigger the sync to the archive.

Changed in ltt-control (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.