[cosmic] lxd-tools replaced by lxd snap, which is missing 'fuidshift' binary

Bug #1811087 reported by Harald Hetzner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Invalid
Undecided
Unassigned
lxd (Ubuntu)
Won't Fix
Undecided
Unassigned
snapd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

lxd-tools used to ship the fuidshift command which is useful for shifting UIDs and GIDs of the container root filesystem in order to convert privileged into unprivileged containers. lxd-tools is now a meta package that will enforce that the lxd snap package is being installed. However, lxd snap (tested: stable channel, version 3.0.3 and 3.9) does not seem to provide fuidshift.

To get fuidshift back, I had to forcibly install an older version of lxd-tools: https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/lxd-tools_3.0.3-0ubuntu1~18.04.1_amd64.deb.html

Being a replacement also for lxd-tools, lxd snap should ship all binaries that used to be shipped.

Revision history for this message
Seth Arnold (seth-arnold) wrote :

This appears to be related to the package manager snapd, not the DNA analysis tool snap.

affects: snap (Ubuntu) → snapd (Ubuntu)
Revision history for this message
Michael Vogt (mvo) wrote :

I added a task for lxd as this seems to be about the lxd snap itself, not so much about snapd the package manager.

Changed in snapd (Ubuntu):
status: New → Invalid
Changed in snapd:
status: New → Invalid
Revision history for this message
Stéphane Graber (stgraber) wrote :

Marking as "won't fix" as we can't really ship `fuidshift` as part of a strictly confined snap.

Those wanting this tool are probably best building it with a simple `go get github.com/lxc/lxd/fuidshift`. In theory a separate deb package for it could be introduced, but it's not something that the LXD team has any plan on doing ourselves.

no longer affects: lxd
Changed in lxd (Ubuntu):
status: New → Won't Fix
Revision history for this message
Harald Hetzner (haraldhetzner) wrote :

Hm, I just figured out that I missed the last really useful comment because I did not get an e-mail about it.

Anyway, https://github.com/lxc/lxc/issues/3186 now explains in more detail how to quickly build fuidshift from source.

Thank you, Stéphane!

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.