Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 2023 10 04 #1821

Merged
merged 12 commits into from Oct 5, 2023
Merged

Conversation

Chris-Peterson444 and others added 12 commits October 4, 2023 20:49
(cherry picked from commit 8f28063)
(cherry picked from commit ddc3345)
target already exists, we should just inspect target and find if it is a
directory or not.

(cherry picked from commit 4a4e8ba)
(cherry picked from commit 8ab052c)
(cherry picked from commit a2b63da)
These have owner syslog at install time, but that is uid remapped on the
target system which may end up with a different owning user.

(cherry picked from commit ab0af63)
CVE-2023-5182

As autoinstall-user-data contains a password hash hash for a user with
sudo access, create the autoinstall-user-data as 0400 root:root.

The old permissions are 0640 root:adm, and the adm group does not by
default have sudo access, so cracking that hash could lead to privilege
escallation for someone in the adm group.

Thanks to Patric Åhlin and Johan Hortling for identifying and reporting
the issue.

(cherry picked from commit 62e1268)
When handling a POST request to /source, Subiquity sends a 'source
configured' event. This signals other controllers / models that they
need to restart their tasks that depend on the source being used.

However, if the user of the installer goes back all the way to the
source page and submits it again without changing the settings, there
should be no reason to restart the machinery.

If a call to source ends up doing no modification to the model (i.e.,
not changing the source used or the search_drivers setting), we now
avoid emitting the 'source configured' event ; except if the model has
not been configured yet.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
(cherry picked from commit fff2f65)
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
(cherry picked from commit f6da616)
@dbungert dbungert merged commit 6b4b39e into canonical:ubuntu/mantic Oct 5, 2023
12 checks passed
@dbungert dbungert deleted the merge-2023-10-04 branch October 5, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants