[Bug 1978890] Re: FIPS/OEM installation compatibility is unclear to the end-user
Kyler Hornor
1978890 at bugs.launchpad.net
Tue Jul 19 16:17:49 UTC 2022
> "Third-party drivers should not be installed on systems that will be
used for FIPS or the real-time kernel."
This may be sufficient. We're already talking about a fairly extreme
edge case here. The footprint of hardware that triggers the ubuntu-
drivers criteria that also is intended to use FIPS later is already
quite small. If we ever add additional packages that leverage
GRUB_FLAVOUR_ORDER in the future, we could add information as needed?
The subiquity piece of this is likely the smallest part. The
`aggressive` installs of the oem packages in already-configured desktop
instances via update-manager is the bigger headache.( i.e. running fips
fine, then oem packages `randomly` install, and I lose compliance
without being aware.)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1978890
Title:
FIPS/OEM installation compatibility is unclear to the end-user
Status in subiquity package in Ubuntu:
Incomplete
Status in ubiquity package in Ubuntu:
New
Status in ubuntu-advantage-tools package in Ubuntu:
New
Status in ubuntu-drivers-common package in Ubuntu:
New
Status in update-manager package in Ubuntu:
New
Bug description:
[Overall Summary]
Converting to cover all oem/fips compatibility issues with
ua/installers/update-manager. These projects are mostly silo'd, so
when they all converge it creates a confusing and frustrating
experience for the user.
At it's core, the problem is that both fips and oem us
GRUB_FLAVOUR_ORDER to select the preferred kernel to boot from,
disregarding versioning.
The main issues are:
1. ubuntu-drivers should not attempt to `oem-ify` a `fipsified` machine
2. ua tool should not attempt to `fipsify` an oem machine
3. subiquity should mention that drivers page is potentially making machine realtime & fips incompatible
Below are some reproducible examples of issues:
---
(Subiquity installer case)
[Summary]
A recent change to the subiquity snap adds support for installing oem drivers at time of instance install. If the user installs these packages, then attempts to install the fips packages post-install, fips will install as expected, but the system will always boot to the oem kernel.
[Expected Behavior]
Messaging should clearly indicate that installing the oem packages will make the environment incompatible with fips/RT kernel/ etc.
[Observed Behavior]
Subiquity just offers additional drivers, without clarifying the compatibility complications.
[Replication Steps]
(Using Dell Inc. Precision 7920 Tower/060K5C)
1. Install from current focal ISO
2. Confirm driver installation on the oem gui page
3. Install ua client/fips
4. Reboot
5. Observe kernel version (oem)
---
(update-manager case)
[Summary]
A feature was added to allow for post-install enablement for oem-enabled devices via update manager:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1908050
While this works great for some situations, it can lead to users
unexpectedly installing the oem meta package + associated kernel,
overwriting an existing fips installation, as the "Improved hardware
support" bundle may not be noticed when operating update-manager
[Expected Behavior]
For non linux-generic running installs, the post-install oem enablement functionality should not trigger, nor should it add the additional repositories to the client's sources.list.d.
[Observed Behavior]
sources.list.d is updated and "Improved hardware support" is allowed as an option in update-manager, which leads to clients unexpectedly losing compliance in fips environments.
[Replication Steps]
(Using Dell Inc. Precision 7920 Tower/060K5C)
1. Install from current focal ISO
2. Attach a ua subscription
3. Enable the fips-updates service
4. Reboot the system, login the desktop and wait for a while. The notification will pop up and it will show "Improved hardware support" on the certified machines that has the OEM metapackage support.
5. Click through the update-manager prompt and install the oem packages
6. Reboot check fips status
oem's config in /etc/default/grub.d/* does not have a number prefix,
and thus will always override 99-ubuntu-fips.cfg when calling update-
grub.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1978890/+subscriptions
More information about the foundations-bugs
mailing list