Snapcraft should detect being run inside multipass and error

Bug #1803708 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

Some users will install multipass and mistakenly run snapcraft inside of it, thinking that's why multipass was installed as a snapcraft dependency.

We should error out when the outer snapcraft (frontend) detects that it is running in multipass, with a message like:

"""
It looks like you are trying to run snapcraft inside a multipass VM.
Instead, please exit your multipass VM and run snapcraft on your native system.
"""

Revision history for this message
Seth Arnold (seth-arnold) wrote : Re: [Bug 1803708] [NEW] Snapcraft should detect being run inside multipass and error

On Fri, Nov 16, 2018 at 01:24:00PM -0000, Evan wrote:
> Some users will install multipass and mistakenly run snapcraft inside of
> it, thinking that's why multipass was installed as a snapcraft
> dependency.

What if a user is using multipass to run their VMs and actually wants to
do this? Many people look for alternatives to virsh or virt-manager.

Thanks

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.