[Group.of.nepali.translators] [Bug 1999567] Re: [SRU] Bring translations from launchpad
** No longer affects: update-notifier (Ubuntu Trusty) -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1999567 Title: [SRU] Bring translations from launchpad Status in update-notifier package in Ubuntu: New Status in update-notifier source package in Xenial: New Status in update-notifier source package in Bionic: New Status in update-notifier source package in Focal: New Status in update-notifier source package in Jammy: New Bug description: [Impact] In the last couple releases we have not updated the translations from Launchpad. We are bringing them to the source package in an effort to unblock this SRU release: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1991030 This is because the launchpad translations already have the "pro status" string properly translated. Not only this will unblock this SRU, but it will make the package aligned with the launchpad translations. [Test Case] To test this change, we will need to verify if the message: See https://ubuntu.com/esm or run: sudo pro status Is correctly translated for the languages that have added support for this message. [Regression Potential] Since we are bringing the translations from launchpad, there could be translations done directly in the package that are now missed. Although this is unlikely, since the translations on Launchpad are better maintained them the ones in the package. Note that update-notifier is not using language pack (reasons in https://launchpad.net/bugs/562900) so it relies on translations updates to be included in the source. We used to do such 'export translations for launchpad and include them in the vcs' but that hadn't been done since 2013 which means none of the strings added in the last years for ua and now ubuntu pro have a working translation today, such the risk of regression a translated string there is rather inexistant To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1999567/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1980990] Re: [SRU] ubuntu-advantage-tools (27.9 -> 27.10) Xenial, Bionic, Focal, Impish, Jammy
** Summary changed: - [SRU] ubuntu-advantage-tools (27.9 -> 27.10) Xenial, Bionic, Focal, Impish, Jammy, Kinetic + [SRU] ubuntu-advantage-tools (27.9 -> 27.10) Xenial, Bionic, Focal, Impish, Jammy ** No longer affects: ubuntu-advantage-tools (Ubuntu Kinetic) -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1980990 Title: [SRU] ubuntu-advantage-tools (27.9 -> 27.10) Xenial, Bionic, Focal, Impish, Jammy Status in ubuntu-advantage-tools package in Ubuntu: New Status in ubuntu-advantage-tools source package in Xenial: New Status in ubuntu-advantage-tools source package in Bionic: New Status in ubuntu-advantage-tools source package in Focal: New Status in ubuntu-advantage-tools source package in Impish: New Status in ubuntu-advantage-tools source package in Jammy: New Bug description: [Impact] This release sports both bug-fixes and new features such as: * Update ESM service names on every user output provided by UA * apt-hooks: - replace json APT go hook for a C++ version - only install APT hooks on LTS releases * cli: - properly sort services based on reverse dependencies before running attach/detach - collect-logs command not collect old rotated log files as well - display UA custom user features directly on `ua status` - add support for pro command - create api command with support to version and magic-attach * fix: add --dry-run support * security-status: include download size of package updates * timer: log when job start running See the changelog entry below for a full list of changes and bugs. [Test Case] The following development and SRU process was followed: [https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates](https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates) The ubuntu-advantage-tools team will be in charge of attaching the artifacts and console output of the appropriate run to the bug. ubuntu-advantage-tools team members will not mark ‘verification-done’ until this has happened. [Regression Potential] The goal of this release is to mainly perform the rebranding of ESM services while also creating the API cli for magic-attach. This is a flow where we would allow users to attach to UA by providing only their email as a key. [Discussion] We have changed our APT json go hook for a C++ version. This effort allows us to drop the go dependencies of the package while also making it smaller. However, due to that change, we might be open to unexpected errors on the new implementation. We have tested the new C++ hook with the same scenario we have used for the go hook and we believe this is not a huge risk. Additionally, we are now sorting the service based on their reverse dependencies before running attach or detach. We were already doing that, but in a partial way. The new solution just make it simpler if we add new services with reverse dependencies, so we don't believe this also poses a huge risk for the users. Finally, all of other changes are new features to the users, so they should pose no bigger threat to existing users. [Changelog] * d/control: - Add ca-certificates dependency * d/rules: - Only install APT hooks on LTS series * New upstream release 27.10 - api: add support for new api command for version and magic-attach - apt-hook: + update json hook messages + replace golang with cpp for json-hook - cli + properly sort services for detach/attach (GH: #1831) + collect-logs include rotated log files + display UA features directly on status + Add support for pro command - esm: Rename ESM service title and description - esm-apps: make service non-beta - fix: + update ua portal url when asking for attach + add --dry-run option - gcp-pro: handle metadata endpoint error - messages: + remove warranty message from MOTD and APT + update base UA url on all messages - security-status: include download size of package updates - timer: log when job start running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1980990/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1980990] [NEW] [SRU] ubuntu-advantage-tools (27.9 -> 27.10) Xenial, Bionic, Focal, Impish, Jammy, Kinetic
Public bug reported: [Impact] This release sports both bug-fixes and new features such as: * Update ESM service names on every user output provided by UA * apt-hooks: - replace json APT go hook for a C++ version - only install APT hooks on LTS releases * cli: - properly sort services based on reverse dependencies before running attach/detach - collect-logs command not collect old rotated log files as well - display UA custom user features directly on `ua status` - add support for pro command - create api command with support to version and magic-attach * fix: add --dry-run support * security-status: include download size of package updates * timer: log when job start running See the changelog entry below for a full list of changes and bugs. [Test Case] The following development and SRU process was followed: [https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates](https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates) The ubuntu-advantage-tools team will be in charge of attaching the artifacts and console output of the appropriate run to the bug. ubuntu- advantage-tools team members will not mark ‘verification-done’ until this has happened. [Regression Potential] The goal of this release is to mainly perform the rebranding of ESM services while also creating the API cli for magic-attach. This is a flow where we would allow users to attach to UA by providing only their email as a key. [Discussion] We have changed our APT json go hook for a C++ version. This effort allows us to drop the go dependencies of the package while also making it smaller. However, due to that change, we might be open to unexpected errors on the new implementation. We have tested the new C++ hook with the same scenario we have used for the go hook and we believe this is not a huge risk. Additionally, we are now sorting the service based on their reverse dependencies before running attach or detach. We were already doing that, but in a partial way. The new solution just make it simpler if we add new services with reverse dependencies, so we don't believe this also poses a huge risk for the users. Finally, all of other changes are new features to the users, so they should pose no bigger threat to existing users. [Changelog] * d/control: - Add ca-certificates dependency * d/rules: - Only install APT hooks on LTS series * New upstream release 27.10 - api: add support for new api command for version and magic-attach - apt-hook: + update json hook messages + replace golang with cpp for json-hook - cli + properly sort services for detach/attach (GH: #1831) + collect-logs include rotated log files + display UA features directly on status + Add support for pro command - esm: Rename ESM service title and description - esm-apps: make service non-beta - fix: + update ua portal url when asking for attach + add --dry-run option - gcp-pro: handle metadata endpoint error - messages: + remove warranty message from MOTD and APT + update base UA url on all messages - security-status: include download size of package updates - timer: log when job start running ** Affects: ubuntu-advantage-tools (Ubuntu) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Xenial) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Bionic) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Focal) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Impish) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Jammy) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Kinetic) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Kinetic) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Bionic) Importance: Undecided Status: New ** Summary changed: - [SRU] ubuntu-advantage-tools (27.9 -> 27.10) Xenial, Bionic, Focal, Impish, Jammy + [SRU] ubuntu-advantage-tools (27.9 -> 27.10) Xenial, Bionic, Focal, Impish, Jammy, Kinetic -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1980990 Title: [SRU] ubuntu-advantage-tools (27.9 ->
[Group.of.nepali.translators] [Bug 1949634] [NEW] [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
Public bug reported: [Impact] This releases will turn on the metering job by default. The metering job will report which services are being used to the contract server every 4 hours. Since we already have the timer mechanism in place, we believe the substantial risk for this release is that the job may not work as intended and fail during the execution. However, this will not block any of the other existing jobs from running, so it should be a low risk addition. Furthermore, these are the additional functionalities we are adding: * Make cc-eal a non-beta service * Update ua fix return code: - exit 0 when fix is successfully applied and completed - exit 1 when fix cannot be applied - exit 2 when fix requires a reboot to complete * Allow livepatch to be enabled together with fips-updates * New security-status subcommand that lists potentially available security and ESM updates * Set PYTHONPATH during postinst to avoid problems that happen when users have a custom python installation (LP: #1930121) Additionally, we are also addressing some bugs we found along the way: * Do not use proxy configuration when reaching clouds IMDS endpoint during auto-attach operation * Attach will save machine-id during operation * Detach won't ask unnecessary questions (For example, when ROS is enabled we don't want to notify user about dependent services, since all services will be disabled anyway) See the changelog entry below for a full list of changes and bugs. [Test Case] The following development and SRU process was followed: https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates The ubuntu-advantage-tools team will be in charge of attaching the artifacts and console output of the appropriate run to the bug. ubuntu-advantage-tools team members will not mark ‘verification-done’ until this has happened. [Regression Potential] In order to mitigate the regression potential, the results of the aforementioned integration tests are attached to this bug. Since we are adding a new job, we need to make sure that if it fails we will not interfere with any of the other jobs that were already delivered on release 27.3. Currently, our script that handles the job execution should cover this. If the metering job fails it should just add a new log entry into /var/log/ubuntu-advantage-timer.log. For the ua fix update, we don't think we can cause a regression, since the command was always returning 0, no matter what happened during the execution. We believe the new return codes are better now. The other fixes are either bug fixes or service changes (cc-eal) that should not pose a regression risk on current behavior of the ua client, since our tests are passing with those new changes. [Discussion] The addition of the new job was tested by the contracts team and it seems to be working fine. However, we will need to keep an eye open to see if the metering job is working as expected and delivering the desired information to the contract backend. [Changelog] * d/tools.postinst: - hardcode python binary and PYTHONPATH (LP: #1930121) - undo unnecessary log file creation * New upstream release 27.4 - cc-eal: remove beta flag - cli: + attach will save machine-id during operation + detach won't ask unnecessary questions + new security-status subcommand lists potentially available security and ESM updates (beta) - fix: + exit 0 when fix is successfully applied and completed + exit 1 when fix cannot be applied + exit 2 when fix requires a reboot to complete + check reboot-required.pkgs for better reboot suggestions - livepatch: allow livepatch and fips-updates at the same time - metering: + update how activity info is parsed + update contract response structure + enable job by default - proxy: no_proxy defaults for link-local IMDS routes - util: + cache get_platform_info calls + fix machine-id fallback path on get_machine_id ** Affects: ubuntu-advantage-tools (Ubuntu) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Xenial) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Bionic) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Focal) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Hirsute) Importance: Undecided Status: New ** Affects: ubuntu-advantage-tools (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: ubuntu-advantage-tools (Ubuntu Impish) Importance: Undecided
[Group.of.nepali.translators] [Bug 1924766] [NEW] update-notifier does not handle ESM Apps in the apt-check script
Public bug reported: [Impact] When ESM Apps goes into production we want to be able to advertise it to our users through MOTD. Currently, update-notifier apt-check does not take into consideration the exclusive packages of ESM Apps, which is a problem. [Test case] To reproduce the issue, you can: 1. Launch a xenial vm 2. Install the latest version of uaclient from the stable ppa: https://launchpad.net/~ua-client/+archive/ubuntu/stable/ 3. Change the following line on `/etc/ubuntu-advantage/uaclient.conf` from contract_url: 'https://contracts.canonical.com' To: contract_url: 'https://contracts.staging.canonical.com' 4. Attach a staging token to uaclient thorough: ua attach YOUR_STAGING_TOKEN 5. Run /usr/lib/update-notifier/apt-check --human-readable 6. Verify that no mention to ESM Apps is made and that update-notifier puts all of the ESM packages in the same bucket To verify that the error is fixed: 1.Perform all the stages above until step 4 2 Install the new update-notifier from this ppa: https://launchpad.net/~lamoura/+archive/ubuntu/update-notifier-test-ppa 3. Verify now that ESM Apps is reflected in the message [Where problems could occur] The changes in this package should only be seen when MOTD is getting a new message. If that script fails for some reason, it seems that MOTD will only not present the message, which is doesn't seem to be a system critical issue. [Discussion] With ESM Apps going to production soon, we have decided to update the messages delivered by update-notifier apt-check to address the package count of ESM Apps and the possibility of installing more upgrades if the user has ESM Apps disabled. We are also updating other parts of the messaging as well. First, we only display ESM Infra status on ESM distros. However, we will keep showing the ESM Infra package count on all of them. For ESM Apps, we are only performing the alerts (For example, that you might have x packages updates if ESM Apps is installed) if the user is on a LTS distro. Finally, we are also addressing this bug here: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1883315 Where we were incorrectly counting ESM packages even if the user did not have access to those services. == Changelog == + data/apt-check - Make distinction of ESM Apps and ESM Infra when doing package count - Only count ESM packages if the user has access to the service (LP #1883315) - Only display ESM Infra alerts if the distro is ESM ** Affects: update-notifier (Ubuntu) Importance: Undecided Status: New ** Affects: update-notifier (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: update-notifier (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1924766 Title: update-notifier does not handle ESM Apps in the apt-check script Status in update-notifier package in Ubuntu: New Status in update-notifier source package in Xenial: New Bug description: [Impact] When ESM Apps goes into production we want to be able to advertise it to our users through MOTD. Currently, update-notifier apt-check does not take into consideration the exclusive packages of ESM Apps, which is a problem. [Test case] To reproduce the issue, you can: 1. Launch a xenial vm 2. Install the latest version of uaclient from the stable ppa: https://launchpad.net/~ua-client/+archive/ubuntu/stable/ 3. Change the following line on `/etc/ubuntu-advantage/uaclient.conf` from contract_url: 'https://contracts.canonical.com' To: contract_url: 'https://contracts.staging.canonical.com' 4. Attach a staging token to uaclient thorough: ua attach YOUR_STAGING_TOKEN 5. Run /usr/lib/update-notifier/apt-check --human-readable 6. Verify that no mention to ESM Apps is made and that update-notifier puts all of the ESM packages in the same bucket To verify that the error is fixed: 1.Perform all the stages above until step 4 2 Install the new update-notifier from this ppa: https://launchpad.net/~lamoura/+archive/ubuntu/update-notifier-test-ppa 3. Verify now that ESM Apps is reflected in the message [Where problems could occur] The changes in this package should only be seen when MOTD is getting a new message. If that script fails for some reason, it seems that MOTD will only not present the message, which is doesn't seem to be a system critical issue. [Discussion] With ESM Apps going to production soon, we have decided to update the messages delivered by update-notifier apt-check to address the package count of ESM Apps and the possibility of installing more upgrades if the user has ESM Apps disabled. We are also updating other parts of the messaging as well.
[Group.of.nepali.translators] [Bug 1915547] [NEW] sru unattended-upgrades ( 1.1ubuntu1.18.04.7~16.04.6 update to 1.1ubuntu1.18.04.7~16.04.7 ) Xenial
Public bug reported: == Begin SRU Template == [Impact] When upgrading from trusty to xenial, we are prompted about config changes on 50unattended-upgrades with the following diff: --- /etc/apt/apt.conf.d/50unattended-upgrades root.root 0644 2017-05-08 19:21:39 +++ /etc/apt/apt.conf.d/50unattended-upgrades.ucftmp root.root 0644 2020-02-17 18:03:38 @@ -1,11 +1,13 @@ // Automatically upgrade packages from these (origin:archive) pairs Unattended-Upgrade::Allowed-Origins { + "${distro_id}:${distro_codename}"; "${distro_id}:${distro_codename}-security"; // Extended Security Maintenance; doesn't necessarily exist for // every release and this system may not have it installed, but if // available, the policy for updates is such that unattended-upgrades // should also install from here by default. - "${distro_id}ESM:${distro_codename}"; + "${distro_id}ESMApps:${distro_codename}-apps-security"; + "${distro_id}ESM:${distro_codename}-infra-security"; // "${distro_id}:${distro_codename}-updates"; // "${distro_id}:${distro_codename}-proposed"; // "${distro_id}:${distro_codename}-backports"; The reason we are presented with this diff is that the xenial package does not contain a md5sum history file that informs ucf about all the supported configs for 50unattended-upgrades. To fix that upgrade problem, we are prosing the following changes on the xenial package of unattended-upgrades: - Add 50unattended-upgrades.md5sum file into the xenial package - Add md5sum of the current xenial 50unattende-upgrades file into the md5sum history file - Modify ucf command in postinst to be aware of the md5sum history file See the changelog entry below for a full list of changes and bugs. [Test Case] We have performed a manual test with a modified version of the xenial package: https://launchpad.net/~lamoura/+archive/ubuntu/unattended-upgrades-ppa Using that package, we were able to verify that the config change prompt no longer happens from trusty to xenial. [Regression Potential] Since we are modifying are features on unattended-upgrades, just adding a new file to package, we don't believe there is any regression potential [Discussion] == End SRU Template == == Changelog == * data: add md5sum history file on the data folder - This file contains md5sum of several supported 50unattended-upgrades config files * data: add xenial md5sum of 50unattented-upgrades into md5sum file * debian/postint: make ucf command reference the md5sum history file ** Affects: unattended-upgrades (Ubuntu) Importance: Undecided Status: New ** Affects: unattended-upgrades (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: unattended-upgrades (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1915547 Title: sru unattended-upgrades ( 1.1ubuntu1.18.04.7~16.04.6 update to 1.1ubuntu1.18.04.7~16.04.7 ) Xenial Status in unattended-upgrades package in Ubuntu: New Status in unattended-upgrades source package in Xenial: New Bug description: == Begin SRU Template == [Impact] When upgrading from trusty to xenial, we are prompted about config changes on 50unattended-upgrades with the following diff: --- /etc/apt/apt.conf.d/50unattended-upgrades root.root 0644 2017-05-08 19:21:39 +++ /etc/apt/apt.conf.d/50unattended-upgrades.ucftmp root.root 0644 2020-02-17 18:03:38 @@ -1,11 +1,13 @@ // Automatically upgrade packages from these (origin:archive) pairs Unattended-Upgrade::Allowed-Origins { + "${distro_id}:${distro_codename}"; "${distro_id}:${distro_codename}-security"; // Extended Security Maintenance; doesn't necessarily exist for // every release and this system may not have it installed, but if // available, the policy for updates is such that unattended-upgrades // should also install from here by default. - "${distro_id}ESM:${distro_codename}"; + "${distro_id}ESMApps:${distro_codename}-apps-security"; + "${distro_id}ESM:${distro_codename}-infra-security"; // "${distro_id}:${distro_codename}-updates"; // "${distro_id}:${distro_codename}-proposed"; // "${distro_id}:${distro_codename}-backports"; The reason we are presented with this diff is that the xenial package does not contain a md5sum history file that informs ucf about all the supported configs for 50unattended-upgrades. To fix that upgrade problem, we are prosing the following changes on the xenial package of unattended-upgrades: - Add 50unattended-upgrades.md5sum file into the xenial package - Add md5sum of the current xenial 50unattende-upgrades file into the md5sum history file - Modify ucf command in postinst to be aware of the md5sum history file See the changelog entry below for a full list of