[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-24 Thread Christian Ehrhardt 
While this is important and fixed in the SRU upload of bug 1940871 - the bad code never reached Bionic/Focal/Hirsute as it was in the interim 21.3 versions. Therefore the bug starte for these releases is invalid (it isn't there now, and won't be added in the ongoing SRU). Setting the states to i

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-23 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 21.3-1-g6803368d-0ubuntu1 --- cloud-init (21.3-1-g6803368d-0ubuntu1) impish; urgency=medium * New upstream snapshot. - testing: Fix ssh keys integration test (#992) - Release 21.3 (#993) (LP: #1940839) - Azure: During primar

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-23 Thread Chad Smith
** Also affects: cloud-init (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Impish) Importance: Critical Status: Fix Committed ** Also affects: cloud-

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-23 Thread James Falcon
This bug is believed to be fixed in cloud-init in version 21.3. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a membe

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-22 Thread Christian Ehrhardt 
Thank you all for the prompt handling! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940233 Title: cloud-init in impish makes /home/ubuntu/.ssh root.root To manage notifications about this bug g

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-20 Thread Chad Smith
PR landed, expected upload to Ubuntu Impish 21.10 on Monday Aug 23 ** Changed in: cloud-init Status: Triaged => Fix Committed ** Changed in: cloud-init (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-17 Thread James Falcon
PR up: https://github.com/canonical/cloud-init/pull/984 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940233 Title: cloud-init in impish makes /home/ubuntu/.ssh root.root To manage notifications

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-17 Thread Paride Legovini
Turns out this bug is also the reason why the HA test jobs are failing, as they run on Impish and and an extra ssh key is added to the instances under test. The failure mode is the same Christian hit. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-17 Thread James Falcon
** Changed in: cloud-init (Ubuntu) Status: New => Triaged ** Changed in: cloud-init Status: New => Triaged ** Changed in: cloud-init Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. h

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-17 Thread Paride Legovini
Thanks Christian for filing this. Yes there's where we introduced the problem. I think we are missing a check in check_create_path() so that directories under the home directory are created as user-owned. Something like: newparent_uid = root_pwent.pw_uid newparent_gid = root_pwent.pw_gid

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-17 Thread Christian Ehrhardt 
paride found this change: https://github.com/canonical/cloud-init/commit/00dbaf1e9ab0e59d81662f0f3561897bef499a3f It say in the message: "the directories in the path that do not exist must be root owned and with permission 755." That is wrong, it needs to be user owned or the user can later on n

[Bug 1940233] Re: cloud-init in impish makes /home/ubuntu/.ssh root.root

2021-08-17 Thread Christian Ehrhardt 
Since it might affect the ability to log into a new spawned system I think this could be release-critical for Impish. Therefore I flagged it like that for now - please feel free to downgrade once the root cause is known and you think a lower rating is appropriate. ** Description changed: Hi,