~maciek-borzecki/subiquity:bboozzoo/drop-user-key-fingerprint

Last commit made on 2024-02-06
Get this branch:
git clone -b bboozzoo/drop-user-key-fingerprint https://git.launchpad.net/~maciek-borzecki/subiquity
Only Maciej Borzecki can upload to this branch. If you are Maciej Borzecki please log in for upload directions.

Branch merges

Branch information

Name:
bboozzoo/drop-user-key-fingerprint
Repository:
lp:~maciek-borzecki/subiquity

Recent commits

257910e... by Maciej Borzecki

console_conf/models: drop key fingerprints

The fingerprints are not used anywhere, no point in keeping the field.

Signed-off-by: Maciej Borzecki <email address hidden>

b19c716... by Maciej Borzecki

console_conf/controllers: do not attempt to set user's key fingerprint

In preparation for running console-conf as a strictly confined snaps, review of
the existing code has shown that user's key fingerprints are not being used or
displayed anywhere. Since we would not be able to read those public keys anyway,
we may as well drop the code which attempts to device the key fingerprints.

Signed-off-by: Maciej Borzecki <email address hidden>

b2441fd... by Dan Bungert

Merge pull request #1902 from dbungert/cloud-init-status-json

cloudinit: handle format=json status

48e5f9c... by Chris Peterson

Merge pull request #1897 from Chris-Peterson444/autoinstall-exception-FR-6293

AutoinstallError exception

b064528... by Dan Bungert

cloudinit: handle format=json status

Add version checks for cloud-init to know if we can read status in JSON
format or not. If so, use that for a superior answer to the legacy
format. Handle legacy code paths also.

24de248... by Chris Peterson

AutoinstallError: Disable apport reporting

Autoinstall related failures are more likely than not going to be
user caused, so we shouldn't immediately generate a crash report
for these types of failures. This should hopefully allow the user
to debug their autoinstall data much faster and reduce the number
of autoinstall-related bugs reported.

fa8cc03... by Dan Bungert

Merge pull request #1903 from bboozzoo/bboozzoo/log-dir-owner-in-snap

subiquitycore/log: use 'root' as group for strictly confined snaps

5c266cc... by Maciej Borzecki

subiquitycore/log: use 'root' as group for strictly confined snaps

When setting up the logging in a strictly confined snap, use the 'root' group,
rather than 'adm'. This will not interfere with the sandbox's policy but also
does not result in providing wider access to the logs.

Signed-off-by: Maciej Borzecki <email address hidden>

f1944dd... by Chris Peterson

AutoinstallValidationError: An error for autoinstall validation failures

Adds a base exception type for Autoinstall related failures and a
specific implementation for autoinstall validation failures.

When a user passes incorrect autoinstall data, the installer will crash
with an AutoinstallValidationError exception. Failure messages are
currently in the form of:

    "Malformed autoinstall in '<autoinstall_key>' section"

where <autoinstall_key> is the name of the top-level key a particular
controller is responsible (e.g., 'apt' and MirrorController).

The section reporting is a little crude in the validation
of the base schema done by SubiquityServer, which can't discern
between the 'interative-sessions' and 'version' keys, but for now
the scope is pretty limited and can be fixed up at a later time.

e29a2a6... by Chris Peterson

SubiquityServer: Include interactive-sections as a property

SubiquityServer is responsible for checking and loading the
interactive-sessions, so it should be responsible for validating
this section as well. Additionally add this to the autoinstall
schema in the docs.