lxcip.py looks for liblxc.so.0 in the wrong directory on 12.10

Bug #1045728 reported by Andrew Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lpsetup
Fix Released
High
John A Meinel

Bug Description

In lplxcip/lxcip.py, it tries to load liblxc.so.0 from /usr/lib/x86_64-linux-gnu/lxc/lxc.so.0 though the file is not in an lxc/ subdirectory.
Changing this to just load liblxc.so.0 allows the installation to proceed.

Related branches

Revision history for this message
John A Meinel (jameinel) wrote :

It looks like Q changed the directory where lxc.so is found, so we just need to search both places.

Changed in lpsetup:
assignee: nobody → John A Meinel (jameinel)
importance: Undecided → High
status: New → Triaged
Revision history for this message
John A Meinel (jameinel) wrote :

The associated branch should fix the issue by just looking in both places.

Can you test it in your setup to make sure it works there?

Revision history for this message
Andrew Mitchell (ajmitch) wrote :

This appears to work fine - I tested by destroying the lxc container & running lp-setup again.

Colin Watson (cjwatson)
Changed in lpsetup:
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.