project-new both should and should not be run as root - lxc edition
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:/
contact: https:/
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: 8GZ3t2c3Ah0N6Ht
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 |