-
Notifications
You must be signed in to change notification settings - Fork 75
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
Release 31 #2913
Release 31 #2913
Commits on Jan 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d49b1e0 - Browse repository at this point
Copy the full SHA d49b1e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a7cab6 - Browse repository at this point
Copy the full SHA 0a7cab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed87cbd - Browse repository at this point
Copy the full SHA ed87cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b46e9b4 - Browse repository at this point
Copy the full SHA b46e9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc86a07 - Browse repository at this point
Copy the full SHA fc86a07View commit details -
Configuration menu - View commit details
-
Copy full SHA for d74f214 - Browse repository at this point
Copy the full SHA d74f214View commit details -
Configuration menu - View commit details
-
Copy full SHA for 965f1a6 - Browse repository at this point
Copy the full SHA 965f1a6View commit details -
livepatch: better inform if command fails
If the canonical-livepatch status command fails, we can mistakenly tell the users that Livepatch is disabled. This is an incorrect behavior as we should alert the users about the error. We are now reflecting that went wrong with the command on the output of pro status. LP: #2019997
Configuration menu - View commit details
-
Copy full SHA for d62863c - Browse repository at this point
Copy the full SHA d62863cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6e9447 - Browse repository at this point
Copy the full SHA f6e9447View commit details -
timer: make jobs-status file world readable
When running collect-logs as non-root, we might fail trying to collect the jobs-status information. Since there is no private date in this file, we are making it world readable now. Fixes: #2601
Configuration menu - View commit details
-
Copy full SHA for 1e13f59 - Browse repository at this point
Copy the full SHA 1e13f59View commit details -
github: add CI job to create issues on merge
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af4f389 - Browse repository at this point
Copy the full SHA af4f389View commit details -
mypy: remove workaround for mypy bug
The bug was fixed in mypy version 1.7
Configuration menu - View commit details
-
Copy full SHA for 538417f - Browse repository at this point
Copy the full SHA 538417fView commit details
Commits on Jan 9, 2024
-
tests: implement behave-any for all tests
This extends the "behave-any" refactor to all integration tests. That means any combination of tests, regardless of the cloud/platform they run on, can be run with one command. This allows consolidation of some tests since tests can now be parametrized by machine_type. There is still the capability to run the tests in a per release, per platform matrix via the run-integration-tests.py script. However, after this refactor we don't have to split the tests up that way.
Configuration menu - View commit details
-
Copy full SHA for 5cec532 - Browse repository at this point
Copy the full SHA 5cec532View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96027b2 - Browse repository at this point
Copy the full SHA 96027b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d382f85 - Browse repository at this point
Copy the full SHA d382f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6feddd6 - Browse repository at this point
Copy the full SHA 6feddd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8ad334 - Browse repository at this point
Copy the full SHA a8ad334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4143d27 - Browse repository at this point
Copy the full SHA 4143d27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4692888 - Browse repository at this point
Copy the full SHA 4692888View commit details -
po: remove fuzzy tag from translations
Some brazilian portuguese translations are marked as fuzzy. We are removing the tag from the ones we believe are correct
Configuration menu - View commit details
-
Copy full SHA for 9401e19 - Browse repository at this point
Copy the full SHA 9401e19View commit details -
tests: don't run the disabled cloud-init test on jammy
It involves enabling FIPS, which is not in 22.04 yet. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ebbcac6 - Browse repository at this point
Copy the full SHA ebbcac6View commit details -
tests: update expected messages in tests output
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9a7300 - Browse repository at this point
Copy the full SHA a9a7300View commit details -
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36b94da - Browse repository at this point
Copy the full SHA 36b94daView commit details -
Configuration menu - View commit details
-
Copy full SHA for a661cc2 - Browse repository at this point
Copy the full SHA a661cc2View commit details -
tests: update jammy tests for fips-updates
The fips-updates service is now available for Jammy. We are now updating the Jammy tests to reflect that
Configuration menu - View commit details
-
Copy full SHA for 0689055 - Browse repository at this point
Copy the full SHA 0689055View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5714046 - Browse repository at this point
Copy the full SHA 5714046View commit details -
fix: move plan specific logic to common module
Move the plan API common logic into the appropriate module. Fixes: #2714
Configuration menu - View commit details
-
Copy full SHA for d5a2fa5 - Browse repository at this point
Copy the full SHA d5a2fa5View commit details -
fix: only show livepatch text if CVE fixed by it
When fixing a CVE that is already patched by livepatch, we should only relly on the specific livepatch message we display when we identify that the patch is already applied
Configuration menu - View commit details
-
Copy full SHA for 6722e5d - Browse repository at this point
Copy the full SHA 6722e5dView commit details -
fix: remove redundant message for enable operation
We we require an enable operation for the fix command, we are now displaying two messages if the enable part fails. One related to the actual error and a generic one mentioning that we need the service to install the packages. We are removing the generic one as it does add any new information to the user.
Configuration menu - View commit details
-
Copy full SHA for 900ac1b - Browse repository at this point
Copy the full SHA 900ac1bView commit details -
fix: catch generic exception when fetching items
When fetching USN/CVEs data, we should also handle the generic exception we raise if the data cannot be collected, otherwise the plan API will not be able to deliver that information on the JSON response
Configuration menu - View commit details
-
Copy full SHA for 1db99a0 - Browse repository at this point
Copy the full SHA 1db99a0View commit details -
Move all functions to the security API module and move all associated tests to other related test files
Configuration menu - View commit details
-
Copy full SHA for 101a8b4 - Browse repository at this point
Copy the full SHA 101a8b4View commit details -
move fix logic to _common module
Since we already have a common module, it is better to put the base fix logic inside that module instead of the fix module itself
Configuration menu - View commit details
-
Copy full SHA for 4400d04 - Browse repository at this point
Copy the full SHA 4400d04View commit details -
Configuration menu - View commit details
-
Copy full SHA for cae2bff - Browse repository at this point
Copy the full SHA cae2bffView commit details -
Update imports on cve/usn endpoints
We want users to import all necessary data objects directly from the cve/usn endpoint. To achieve that, we are moving some imports directly into those modules
Configuration menu - View commit details
-
Copy full SHA for 1696eb5 - Browse repository at this point
Copy the full SHA 1696eb5View commit details -
api: allow plan imports through fix module
Due to the backwards compatibility, we will still allow some plan API related objects to be imported through the fix module
Configuration menu - View commit details
-
Copy full SHA for 6cbe5b9 - Browse repository at this point
Copy the full SHA 6cbe5b9View commit details -
test: fix unit test for usn headers
Now that we are using the term Associated CVEs for the USN headers, we need to update the associated unit test
Configuration menu - View commit details
-
Copy full SHA for 608be54 - Browse repository at this point
Copy the full SHA 608be54View commit details -
tests: fix missing mock in attach unit test
_post_cli_attach must be mocked to avoid leaks. The JSON part of the test removed in this commit is covered in test_event_logger. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4b7cbe - Browse repository at this point
Copy the full SHA b4b7cbeView commit details -
tests: add unit test for _post_cli_attach
testing only the relevant output Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11d190d - Browse repository at this point
Copy the full SHA 11d190dView commit details -
collect-logs: include esm-cache and apt-news services
Fixes: #2860 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 324f62b - Browse repository at this point
Copy the full SHA 324f62bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4886206 - Browse repository at this point
Copy the full SHA 4886206View commit details -
Configuration menu - View commit details
-
Copy full SHA for a79389e - Browse repository at this point
Copy the full SHA a79389eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a49eefb - Browse repository at this point
Copy the full SHA a49eefbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47e8066 - Browse repository at this point
Copy the full SHA 47e8066View commit details -
This helps when the timer job is running in the background and a cli command happens to collide with it. The timer job is usually over quickly, so retrying several times with a small sleep time should be sufficient.
Configuration menu - View commit details
-
Copy full SHA for 066a77a - Browse repository at this point
Copy the full SHA 066a77aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e95baa8 - Browse repository at this point
Copy the full SHA e95baa8View commit details -
fix: match integrations tests with new messages for FIPS
This changes updates the integration tests to include new messages about checking subscription, disabling livepatch, etc. In line with normalization efforts, this change also converts many checks that were unnecessarily regex to substring matches.
Configuration menu - View commit details
-
Copy full SHA for fe1261d - Browse repository at this point
Copy the full SHA fe1261dView commit details -
livepatch: don't raise error for livepatch not enabled
Prior to this change, livepatch status for an unenabled machine that supported livepatch (which is always the case for FIPS enabled machines) would record an error in the logs on querying status.
Configuration menu - View commit details
-
Copy full SHA for e0f21d0 - Browse repository at this point
Copy the full SHA e0f21d0View commit details -
test: clean up test to match others
Bringing this test is line with the format others are using
Configuration menu - View commit details
-
Copy full SHA for 10615f4 - Browse repository at this point
Copy the full SHA 10615f4View commit details -
style: refactor messages wording
adjust messages for consistency; use the 'attach/detach/enable/disable' correct usage for 'subscription' and 'service' Fixes: #2788
Configuration menu - View commit details
-
Copy full SHA for de177cc - Browse repository at this point
Copy the full SHA de177ccView commit details -
tests: fix integration tests to expect updated messages
Recently some messages were updated to have more consistent terminology around the use of the words "service" and "subscription". This commit updates the related behave tests to expect the new messages.
Configuration menu - View commit details
-
Copy full SHA for dd1788f - Browse repository at this point
Copy the full SHA dd1788fView commit details -
tests: fix reboot_cmds.feature
The test relies on downgrading the version of strongswan in focal. It was previously set to downgrade to the version in focal-updates, but that changed. After this commit, the test downgrades to the version in focal, which will not change. Fixes: #2863
Configuration menu - View commit details
-
Copy full SHA for 64357af - Browse repository at this point
Copy the full SHA 64357afView commit details -
release-update: drop lunar, add noble package build CI
We can stop testing on lunar since our next release will go out after lunar EOL. Also configures CI to build package for noble, and run integration tests for on mantic. Fixes: #2871
Configuration menu - View commit details
-
Copy full SHA for 86a7b5f - Browse repository at this point
Copy the full SHA 86a7b5fView commit details -
tests: fix mantic EOL date in the security-status test
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 617da73 - Browse repository at this point
Copy the full SHA 617da73View commit details -
tests: make sure logs start empty when testing user logs
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 895b22a - Browse repository at this point
Copy the full SHA 895b22aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd08b76 - Browse repository at this point
Copy the full SHA cd08b76View commit details -
landscape: better UX for enable and disable
* No longer assume landscape-client gets removed on disable * Leave client.conf in place instead of renaming * Require service to be running to consider "enabled" * New explanatory message when disabling Fixes: #2840
Configuration menu - View commit details
-
Copy full SHA for f2ba480 - Browse repository at this point
Copy the full SHA f2ba480View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb0fe50 - Browse repository at this point
Copy the full SHA fb0fe50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f24e0e - Browse repository at this point
Copy the full SHA 6f24e0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a72367a - Browse repository at this point
Copy the full SHA a72367aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf544a3 - Browse repository at this point
Copy the full SHA cf544a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1230a39 - Browse repository at this point
Copy the full SHA 1230a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ea0bbe - Browse repository at this point
Copy the full SHA 0ea0bbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87de894 - Browse repository at this point
Copy the full SHA 87de894View commit details -
Configuration menu - View commit details
-
Copy full SHA for a11a205 - Browse repository at this point
Copy the full SHA a11a205View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b73be5 - Browse repository at this point
Copy the full SHA 4b73be5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f22e43c - Browse repository at this point
Copy the full SHA f22e43cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5ac8f5 - Browse repository at this point
Copy the full SHA e5ac8f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce5beac - Browse repository at this point
Copy the full SHA ce5beacView commit details -
Move temporary test files to /var/lib/ubuntu-advantage
Due to the PrivateTmp=yes restriction set on the apt-news.service unit, tests that use the /tmp directory will fail. This happens because the unit will get a brand new and empty /tmp when it starts up, and anything it does in that /tmp will be gone when it terminates.
Configuration menu - View commit details
-
Copy full SHA for cbabfa3 - Browse repository at this point
Copy the full SHA cbabfa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ba7a4 - Browse repository at this point
Copy the full SHA 78ba7a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4540f9 - Browse repository at this point
Copy the full SHA f4540f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c299be - Browse repository at this point
Copy the full SHA 2c299beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c2b620 - Browse repository at this point
Copy the full SHA 3c2b620View commit details -
systemd/apt-news.service: rename apparmor profile: ubuntu_advantage_a…
…pt_news to ubuntu_pro_apt_news
Configuration menu - View commit details
-
Copy full SHA for 8346590 - Browse repository at this point
Copy the full SHA 8346590View commit details -
Configuration menu - View commit details
-
Copy full SHA for 763cf93 - Browse repository at this point
Copy the full SHA 763cf93View commit details -
Configuration menu - View commit details
-
Copy full SHA for cac9659 - Browse repository at this point
Copy the full SHA cac9659View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3577a9 - Browse repository at this point
Copy the full SHA f3577a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b72371c - Browse repository at this point
Copy the full SHA b72371cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d683c - Browse repository at this point
Copy the full SHA 68d683cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f61fc1f - Browse repository at this point
Copy the full SHA f61fc1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 315d7e2 - Browse repository at this point
Copy the full SHA 315d7e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb9c2bd - Browse repository at this point
Copy the full SHA fb9c2bdView commit details -
Move APPARMOR_PROFILES to defaults
Most or all of the settings are defined there, and since that module doesn't import anything, this also avoids potential future dependencies.
Configuration menu - View commit details
-
Copy full SHA for cf7d620 - Browse repository at this point
Copy the full SHA cf7d620View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6a3880 - Browse repository at this point
Copy the full SHA c6a3880View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbd4047 - Browse repository at this point
Copy the full SHA bbd4047View commit details -
Merge UrlError and ConnectivityError exceptions
Since ConnectityError is only raised when we detect an UrlError exception, we have decided to merge those exceptios. Additionally, we have also updated the ConnectivityError message to be more explicit on what the actual error is. Fixes: #2647
Configuration menu - View commit details
-
Copy full SHA for cfb6dbd - Browse repository at this point
Copy the full SHA cfb6dbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77a0f4c - Browse repository at this point
Copy the full SHA 77a0f4cView commit details -
tests: auto-attach in docker build using existing config cloud override
This serves as integration test coverage for the settings_overrides.cloud_type feature since we didn't previously have coverage for it.
Configuration menu - View commit details
-
Copy full SHA for dfc3387 - Browse repository at this point
Copy the full SHA dfc3387View commit details -
auto-attach: allow cloud_override param in API
This is useful in situations where for some reason, cloud-id does not return the correct cloud. One prominent case where this happens is inside docker builds.
Configuration menu - View commit details
-
Copy full SHA for 7f80be8 - Browse repository at this point
Copy the full SHA 7f80be8View commit details -
api: fix enabled_services endpoint for usg
When reporting enabled_services throught the API, for each enabled entitlement, we are reporting its name. This is problematic because today cis and usg share the same entitlement. To differentiate between them, we need to get the entitlement presentation_name instead.
Configuration menu - View commit details
-
Copy full SHA for 44035eb - Browse repository at this point
Copy the full SHA 44035ebView commit details -
api: add services with warning to enabled_services
If a service has has a warning status, we are now returning that service as a enabled service through the enabled_services API. However, we are also creating a warning in the API response to let the user know that there is a required action for the service. Fixes: #2882
Configuration menu - View commit details
-
Copy full SHA for cedcb28 - Browse repository at this point
Copy the full SHA cedcb28View commit details -
disable incompatible services with warning status
When checking if a incompatible service is enabled, we must also take in consideration services whose status is a warning one. That is because they are still enabled in the system, even if they are properly running
Configuration menu - View commit details
-
Copy full SHA for 5a2e0a4 - Browse repository at this point
Copy the full SHA 5a2e0a4View commit details -
tests: use API to check for services/attached info
Instead of relying on pro status to check if a service is enabled/disabled or if the machine is attached to a Pro subscription, we are now relying on the enabled_services and is_attached APIs instead Fixes: #2851
Configuration menu - View commit details
-
Copy full SHA for 800ba7f - Browse repository at this point
Copy the full SHA 800ba7fView commit details -
tests: check if service status is warning
Use our API to check that a service status is warning instead of relying on pro status for that
Configuration menu - View commit details
-
Copy full SHA for d06ef6c - Browse repository at this point
Copy the full SHA d06ef6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8be5e6 - Browse repository at this point
Copy the full SHA b8be5e6View commit details -
fix: ignore LSNs when fetching CVE related USNs
When fixing a CVE, we also fetch the related USNs tied to it. When doing that, we need to discard LSNs since they are not supported at the moment.
Configuration menu - View commit details
-
Copy full SHA for 4e75659 - Browse repository at this point
Copy the full SHA 4e75659View commit details -
fix: update how CVE descriptions are generated
We fetch the CVE description from the USNs associated with the CVE. Before, we picked the first USN title as the CVE description. We are updating that logic to check first if at least one package related to the USN is installed in the system before using its description. Fixes: #2739
Configuration menu - View commit details
-
Copy full SHA for f2771a3 - Browse repository at this point
Copy the full SHA f2771a3View commit details -
messages: suggest running apt instead of apt-get
Fixes: #2798 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 828cea1 - Browse repository at this point
Copy the full SHA 828cea1View commit details -
chore: remove unused message from unit tests
This is tested in the integration tests, and the unit test which changed this was removed/changed already Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77a3bb6 - Browse repository at this point
Copy the full SHA 77a3bb6View commit details -
tests: standardize package installation on behave tests
- use the step instead of running the command explicitly - use apt instead of apt-get - retry on exit 100 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93599fa - Browse repository at this point
Copy the full SHA 93599faView commit details -
tests: standardize apt updates on behave tests
- create a step instead of running the command explicitly - use apt instead of apt-get - retry on exit 100 Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dadceb9 - Browse repository at this point
Copy the full SHA dadceb9View commit details -
tests: standardize dist-upgrades on behave tests
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fab1ce - Browse repository at this point
Copy the full SHA 4fab1ceView commit details -
tests: standardize package removal on behave tests
- create a step instead of running the command explicitly - use apt instead of apt-get Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8312e85 - Browse repository at this point
Copy the full SHA 8312e85View commit details -
tests: standardize apt upgrades on behave tests
- create a step instead of running the command explicitly - cover the different options like dry runs and phased updates Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fab5cee - Browse repository at this point
Copy the full SHA fab5ceeView commit details -
tests: standardize apt autoremove on behave tests
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a5939d - Browse repository at this point
Copy the full SHA 9a5939dView commit details -
tests: add machine_name as a parameter to retry_run
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 891a8ab - Browse repository at this point
Copy the full SHA 891a8abView commit details -
tests: fix ambiguous step name
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e075d4 - Browse repository at this point
Copy the full SHA 1e075d4View commit details -
repoentitlement: define repo_file as a property
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cb6f0e - Browse repository at this point
Copy the full SHA 3cb6f0eView commit details -
util: add function to set filename extensions
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 924af2e - Browse repository at this point
Copy the full SHA 924af2eView commit details -
apt: create deb822 .sources files for enablements on new releases
Starting from noble, create deb822 files instead of the regular apt files when enabling services. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6b06d4 - Browse repository at this point
Copy the full SHA c6b06d4View commit details -
apt: try to remove .list files if present when removing .sources files
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7d2bb9 - Browse repository at this point
Copy the full SHA b7d2bb9View commit details -
apt: change private cache list files to deb822
In this case we can do it for all releases, as there is no dependency on it outside of the client. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7a8bbc - Browse repository at this point
Copy the full SHA a7a8bbcView commit details -
lib: add post-dist-upgrade script to convert files to deb822
The script noops in all releases but noble. On noble, it will convert valid entitlements repofiles to the new format. Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b6d9ab - Browse repository at this point
Copy the full SHA 5b6d9abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eaa0fa - Browse repository at this point
Copy the full SHA 1eaa0faView commit details -
Configuration menu - View commit details
-
Copy full SHA for a85d467 - Browse repository at this point
Copy the full SHA a85d467View commit details
Commits on Jan 10, 2024
-
fix: don't include LSN in cve notices list
When fetching the CVE notices list, we should exclude a LSNs, as they are not supported for the fix operation
Configuration menu - View commit details
-
Copy full SHA for b93f3a1 - Browse repository at this point
Copy the full SHA b93f3a1View commit details
Commits on Jan 16, 2024
-
prerm: also delete .sources files
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a4747f0 - Browse repository at this point
Copy the full SHA a4747f0View commit details -
tests: fix check for private esm cache in upgrade test
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9549c4c - Browse repository at this point
Copy the full SHA 9549c4cView commit details -
deb822: try to update the .sources file if present
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25aa222 - Browse repository at this point
Copy the full SHA 25aa222View commit details -
chore: remove newline in deb822 template
newlines indicate new stanzas, there is no need to confuse python3-apt Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05e7096 - Browse repository at this point
Copy the full SHA 05e7096View commit details
Commits on Jan 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8b7f85e - Browse repository at this point
Copy the full SHA 8b7f85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b58663a - Browse repository at this point
Copy the full SHA b58663aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d61e0da - Browse repository at this point
Copy the full SHA d61e0daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0255d3a - Browse repository at this point
Copy the full SHA 0255d3aView commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cb35b90 - Browse repository at this point
Copy the full SHA cb35b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f8ff9c - Browse repository at this point
Copy the full SHA 9f8ff9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 335cd62 - Browse repository at this point
Copy the full SHA 335cd62View commit details -
Signed-off-by: Renan Rodrigo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1a1f73 - Browse repository at this point
Copy the full SHA b1a1f73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 936954b - Browse repository at this point
Copy the full SHA 936954bView commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d39a017 - Browse repository at this point
Copy the full SHA d39a017View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b69ed2 - Browse repository at this point
Copy the full SHA 3b69ed2View commit details -
debian: rename binary packages
We're renaming the following packages using transitional packages to align the package names with the product naming: * ubuntu-advantage-tools -> ubuntu-pro-client * ubuntu-advantage-pro -> ubuntu-pro-image-auto-attach Because old versions of ubuntu-advantage-tools will break ESM upon removal, and ubuntu-pro-client "Breaks" ubuntu-advantage-tools <<31~, we need to force existing instances to upgrade to ubuntu-advantage-tools 31 (the transitional package) in order to install the new ubuntu-pro-client package. Enforcing that is accomplished via a Depends: ubuntu-advantage-tools on existing Ubuntu releases. Future Ubuntu releases (Noble onward) will not have this Depends. Because of that, all previous package migrations (from versions older than 31) are left in ubuntu-advantage-tools.{preinst,postinst,postrm}. All future package migrations will happen in ubuntu-pro-client.{preinst,postinst,postrm}.
Configuration menu - View commit details
-
Copy full SHA for 6dc6704 - Browse repository at this point
Copy the full SHA 6dc6704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01ba7bb - Browse repository at this point
Copy the full SHA 01ba7bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3c922b - Browse repository at this point
Copy the full SHA c3c922bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12e40da - Browse repository at this point
Copy the full SHA 12e40daView commit details -
fixup: don't provide ubuntu-advantage-tools
By removing "Provides: ubuntu-advantage-tools", we lower the chances of ubuntu-advantage-tools <31 being removed during an install of ubuntu-pro-client, becuase ubuntu-minimal (and ubuntu-cloud-minimal) Depend on ubuntu-advantage-tools. This removes the need for ubuntu-pro-client Depends: ubuntu-advantage-tools.
Configuration menu - View commit details
-
Copy full SHA for 35bc7d9 - Browse repository at this point
Copy the full SHA 35bc7d9View commit details -
tests: add test for transition package
Add integration test that install the ubuntu-advantage-tools transition package and checks that it also install the new ubuntu-pro-client package. We are also performing the same check for the ubuntu-advantage-pro package
Configuration menu - View commit details
-
Copy full SHA for f46eafe - Browse repository at this point
Copy the full SHA f46eafeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3205fa - Browse repository at this point
Copy the full SHA c3205faView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea506b6 - Browse repository at this point
Copy the full SHA ea506b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 238c2d9 - Browse repository at this point
Copy the full SHA 238c2d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f44b02 - Browse repository at this point
Copy the full SHA 5f44b02View commit details
Commits on Feb 8, 2024
-
The redaction filter was not correctly applied to our current logs. We are now fixing this by adding the redaction filter directly in the log file handler
Configuration menu - View commit details
-
Copy full SHA for cc8ee04 - Browse repository at this point
Copy the full SHA cc8ee04View commit details
Commits on Feb 12, 2024
-
daemon: wait for cloud-config.service to complete in python
When cloud-init gets "ubuntu_advantage" user-data, it may need to install or upgrade ubuntu-advantage-tools. This happens during cloud-config.service. The install/upgrade of ubuntu-advantage-tools triggers a "systemctl start ubuntu-advantage.service". ubuntu-advantage.service is configured with an "After=cloud-config.service", so it waits to start until cloud-config.service becomes "active". In this scenario, cloud-config.service cannot continue until ubuntu-advantage.service starts, creating deadlock. We get around this deadlock by removing the "After=cloud-config.service" from ubuntu-advantage.service. Instead we are moving the ordering dependency enforcement into the python code called by the service. This allows systemd to go ahead and start the service allowing the install of ubuntu-advantage-tools to finish and cloud-init to continue. ubuntu-advantage.service will wait until cloud-config.service is "active" to actually do anything. LP: #2050022
Configuration menu - View commit details
-
Copy full SHA for 26ecd2c - Browse repository at this point
Copy the full SHA 26ecd2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f02f9 - Browse repository at this point
Copy the full SHA 81f02f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e9a479 - Browse repository at this point
Copy the full SHA 4e9a479View commit details
Commits on Feb 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ae56423 - Browse repository at this point
Copy the full SHA ae56423View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac0c7df - Browse repository at this point
Copy the full SHA ac0c7dfView commit details
Commits on Feb 14, 2024
-
tests: remove stdlib detail from unit test
This message is a detail of the stdlib and could change and it doesn't matter to us. The important thing that this test is testing is that base.UAEntitlement cannot be instantiated itself and will raise a TypeError.
Configuration menu - View commit details
-
Copy full SHA for 00aea08 - Browse repository at this point
Copy the full SHA 00aea08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 285e9dd - Browse repository at this point
Copy the full SHA 285e9ddView commit details