Skip to content

Bug: Pro client provides confusing messaging in edge-case #3514

@adam-vest

Description

@adam-vest

Description of the bug
On at least Jammy and Noble, when one enables fips-updates, disables it, and then re-enables it, the pro client will provide confusing messaging about the kernel:

ubuntu@LXD-VM3:~$ sudo pro enable fips-updates
One moment, checking your subscription first
This will install the FIPS packages including security updates.
Warning: This action can take some time and cannot be undone.
Are you sure? (y/N) y
The "generic" variant of fips-updates is based on the "generic" Ubuntu
kernel but this machine is running the "fips" kernel.
The "fips" kernel may have significant hardware support
differences from "generic" fips-updates.

Warning: Installing generic fips-updates may result in lost hardware support
         and may prevent the system from booting.

Do you accept the risk and wish to continue? (y/N) y

It is essentially suggesting that the FIPS kernel may have significant hardware support differences from the FIPS kernel, heh.

Expected behavior
The pro client will not make mention of hardware compatibility when a system is running the FIPS kernel

Current behavior
See description

To Reproduce

  1. Launch a 22.04/Jammy or 24.04/Noble VM
  2. Attach to a pro token
  3. pro enable fips-updates
  4. Reboot into FIPS kernel
  5. pro disable fips-updates
  6. Reboot, but remain on the FIPS kernel
  7. pro enable fips-updates

System information:

:~$ grep "VERSION=" /etc/os-release 
VERSION="22.04.5 LTS (Jammy Jellyfish)"
:~$ pro version
36ubuntu0~22.04

Additional context
This is purely cosmetic, emitting confusing/misleading language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions