-
Notifications
You must be signed in to change notification settings - Fork 690
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
Ubuntu Pro CLI tool cannot parse our kernel versions #6773
Comments
The kernel version parsing code is https://github.com/canonical/ubuntu-pro-client/blob/main/uaclient/system.py#L27 - this is basically the same problem as #6762 and will eventually be fixed by freedomofpress/kernel-builder#33
this seems sensible regardless. |
Note that the approach of removing |
From the discussion so far (with @nathandyer), we've identified two main areas where this comes into play.
Source code link: https://git.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/tree/?h=applied/ubuntu/focal-updates |
Ubuntu Pro's "uaclient" expects the Linux kernel package to be versioned in a specific format that we are not currently compliant with. This error message is triggering spurious OSSEC alerts. While we do plan to fix our kernel versioning scheme, we really don't need this Ubuntu Pro stuff, so let's disable it the same way we do with fwupd. Fixes #6773.
…lerts Ubuntu Pro's "uaclient" expects the Linux kernel package to be versioned in a specific format that we are not currently compliant with. This error message is triggering spurious OSSEC alerts. While we do plan to fix our kernel versioning scheme, we really don't need this Ubuntu Pro stuff, so let's disable it the same way we do with fwupd. Since ua-timer is started by a timer, simply disabling it is enough. But for esm-cache, it's invoked by an apt hook, so we need to mask it. Fixes #6773.
…lerts Ubuntu Pro's "uaclient" expects the Linux kernel package to be versioned in a specific format that we are not currently compliant with. This error message is triggering spurious OSSEC alerts. While we do plan to fix our kernel versioning scheme, we really don't need this Ubuntu Pro stuff, so let's disable it the same way we do with fwupd. Since ua-timer is started by a timer, simply disabling it is enough. But for esm-cache, it's invoked by an apt hook, so we need to mask it. Fixes #6773.
Description
Ubuntu Pro's
pro
utility runs some kind of nightly version check (or phones home?), but it chokes on ourX.Y.Z-grsec-securedrop
kernel versions.Steps to Reproduce
Long-running QA instance with SecureDrop 2.5.2 and Ubuntu 20.04.6; no specific reproduction.
Expected Behavior
Not applicable
Actual Behavior
OSSEC alert:
Or manually:
Comments
At a minimum, we should silence this alert in
securedrop/debian/ossec-server/var/ossec/rules/local_rules.xml
. It might be worth time-boxing an investigation of thepro
utility itself to see if it's phoning home, in which case we should consider removingubuntu-advantage-tools
during installation.The text was updated successfully, but these errors were encountered: