project-new both should and should not be run as root - lxc edition

Bug #1876698 reported by Laurent Sesquès
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Confirmed
Medium
Unassigned

Bug Description

This is similar to lp:1833703, but happening with "-c lxc". Running mojo 0.5.2, from the stable snap.

sajoupa@sapajou:~$ mojo project-new -s bionic -c lxc mojo-test
2020-05-04 12:11:46 [ERROR] This sub-command, project-new, must be run as root
sajoupa@sapajou:~$ sudo !!
sudo mojo project-new -s bionic -c lxc mojo-test
This should not be run as root, exiting.
Possibly use --break-everything option if you are really sure!

sajoupa@sapajou:~$ snap info mojo
name: mojo
summary: Mojo - Continuous Delivery for Juju
publisher: Stuart Bishop (stub)
store-url: https://snapcraft.io/mojo
contact: https://launchpad.net/mojo
license: unset
description: |
  Mojo is a system of configuration and tools for verifying the success of Juju environment
  deployments. It's available as an open source project under the GPLv3 license on Launchpad.
commands:
  - mojo
snap-id: 8GZ3t2c3Ah0N6Ht1luBY351TLORtUL3d
tracking: latest/stable
refresh-date: today at 12:08 CEST
channels:
  latest/stable: 0.5.2+525 2020-02-10 (90) 61MB classic
  latest/candidate: 0.5.2+525 2020-02-10 (90) 61MB classic
  latest/beta: 0.5.2+525 2020-02-10 (90) 61MB classic
  latest/edge: 1.0.0+547 2020-05-04 (105) 172MB classic
installed: 0.5.2+525 (90) 61MB classic

Changed in mojo:
status: New → Confirmed
importance: Undecided → Medium
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.