Juju 3.0: cannot load ssh client keys: mkdir /home/ubuntu/.local: permission denied
Bug #1995697 reported by
Bartlomiej Gmerek
This bug report is a duplicate of:
Bug #1988355: juju 3.0.0 unable to bootstrap on fresh machine.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
New
|
Undecided
|
Unassigned |
Bug Description
Hello Team,
After installing Juju 3.0 on a fresh AWS machine (Ubuntu 20.04), I'm getting following error when trying to execute any Juju command (juju clouds, juju status, etc):
ERROR cannot load ssh client keys: mkdir /home/ubuntu/
If I install Juju 2.9 first and then upgrade to Juju 3.0 (snap switch and snap refresh), the problem is not there.
Thanks in advance for looking into it.
BR,
Bartek
To post a comment you must log in.
The issue is that 3.0 is a strictly confined snap, and is not allowed to
create ~/.local/share. You can install 3.0.0 directly, and just 'mkdir -p
~/.local/share' and then Juju 3.0 will also work. (We are working with
snapd to work through who should be ensuring that under strict confinement
who should actually be responsible for making sure parent directories
exist.)
On Fri, Nov 4, 2022 at 11:15 AM Bartlomiej Gmerek <
<email address hidden>> wrote:
> Public bug reported: .local: permission /bugs.launchpad .net/bugs/ 1995697 .local: /bugs.launchpad .net/juju/ +bug/1995697/ +subscriptions
>
> Hello Team,
>
> After installing Juju 3.0 on a fresh AWS machine (Ubuntu 20.04), I'm
> getting following error when trying to execute any Juju command (juju
> clouds, juju status, etc):
>
> ERROR cannot load ssh client keys: mkdir /home/ubuntu/
> denied
>
> If I install Juju 2.9 first and then upgrade to Juju 3.0 (snap switch
> and snap refresh), the problem is not there.
>
> Thanks in advance for looking into it.
>
> BR,
> Bartek
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> Juju 3.0: cannot load ssh client keys: mkdir /home/ubuntu/
> permission denied
>
> To manage notifications about this bug go to:
> https:/
>
>