running-in-container is no longer on $PATH

Bug #2056200 reported by Simon Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Committed
Low
Caner Derici

Bug Description

The code[1] references "running-in-container". The binary was removed some time ago[2]. It is expected to use `systemd-detect-virt` instead.

 1. https://github.com/juju/juju/blob/55fb5d03683b70dea08d1e54687e0f90bb06a63a/container/utils.go#L16-L20
 2. https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1539016

Revision history for this message
Simon Richardson (simonrichardson) wrote :

The ContainersSupported function should return a slice of virt-types and we should normalise them and verify that we also support them.

Changed in juju:
assignee: nobody → Caner Derici (cderici)
Changed in juju:
milestone: 3.4.1 → 3.4.2
Changed in juju:
milestone: 3.4.2 → 3.4.3
Caner Derici (cderici)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
milestone: 3.4.3 → 3.4.4
Caner Derici (cderici)
Changed in juju:
status: In Progress → Fix Committed
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.