[SRU] rename ESM services on messages delivered to MOTD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
There is an update on how the ESM services are named on the Ubuntu Advantage Client (UA) project.
We need to change those names on update-notifier as well to provide an unified user experience regarding the ESM services.
We are changing:
UA Infra: ESM -> ESM Infra
UA Apps: ESM -> ESM Apps
UA Infra: Extended Security Maintenance (ESM) -> Expanded Security Maintenance for Infrastructure
UA Apps: Extended Security Maintenance (ESM) -> Expanded Security Maintenance for Applications
[Test Case]
To test this change, use the following script:
-------
#!/bin/bash
set -e
series=$1
token=$2
name=$series-dev
function cleanup {
lxc delete $name --force
}
function on_err {
echo -e "Test Failed"
cleanup
exit 1
}
trap on_err ERR
lxc launch ubuntu-
sleep 10
# Update update-notifier package
lxc exec $name -- sh -c "echo \"deb http://
lxc exec $name -- sudo apt-get update > /dev/null
lxc exec $name -- sudo apt-get install update-
lxc exec $name -- apt-cache policy update-
# Running update-motd for machine without an ua subscription
echo -e "\n* Updated update-notifier message"
echo "######
lxc exec $name -- /usr/lib/
echo -e "######
# Attaching machine to a UA subscription
echo "Attaching to a UA subscription"
lxc exec $name -- ua attach $token > /dev/null
lxc exec $name -- ua status
# Running update-motd for attached machine
echo -e "\n* Updated update-notifier message with system attached to UA"
echo -e "######
lxc exec $name -- /usr/lib/
echo -e "######
# Installing all esm-infra packages
lxc exec $name -- sudo apt-get upgrade -y > /dev/null
# Disabling esm-infra
lxc exec $name -- sudo pro disable esm-infra --assume-yes > /dev/null
echo "* Updated update-notifier message with esm-infra disabled"
echo "######
lxc exec $name -- /usr/lib/
echo -e "######
cleanup
-------
Notice that you need a UA token to run this script.
Additionally, most messages will appear on the xenial machine due to it being ESM already
[Regression Potential]
See translatable string note in comment 3.
We are just providing message changes, so the regression potential is really low. User might notice the changes, but they are not that different from the original ones.
Related branches
- Paride Legovini: Approve
-
Diff: 338 lines (+58/-53)3 files modifieddata/apt_check.py (+15/-17)
debian/changelog (+7/-0)
tests/test_motd.py (+36/-36)
- Paride Legovini: Approve
-
Diff: 338 lines (+58/-53)3 files modifieddata/apt_check.py (+15/-17)
debian/changelog (+7/-0)
tests/test_motd.py (+36/-36)
- Paride Legovini: Approve
-
Diff: 338 lines (+58/-53)3 files modifieddata/apt_check.py (+15/-17)
debian/changelog (+7/-0)
tests/test_motd.py (+36/-36)
- Paride Legovini (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 338 lines (+58/-53)3 files modifieddata/apt_check.py (+15/-17)
debian/changelog (+7/-0)
tests/test_motd.py (+36/-36)
- git-ubuntu import: Pending requested
-
Diff: 31994 lines (+14280/-3) (has conflicts)135 files modifiedc.diff (+0/-0)
data/apt_check.py (+47/-0)
data/backend_helper.py (+3/-0)
data/package-data-downloader (+4/-0)
data/package-data-downloads-failed-permanently.in (+1/-1)
debian/changelog (+149/-0)
debian/control (+21/-0)
debian/rules (+3/-0)
debian/tests/control (+4/-0)
debian/update-notifier-common.postinst (+13/-0)
po/ace.po (+126/-0)
po/af.po (+115/-0)
po/am.po (+103/-0)
po/an.po (+106/-0)
po/ar.po (+112/-0)
po/ast.po (+114/-0)
po/az.po (+109/-0)
po/be.po (+109/-0)
po/bem.po (+126/-0)
po/bg.po (+114/-0)
po/bn.po (+114/-0)
po/bo.po (+124/-0)
po/br.po (+114/-0)
po/bs.po (+115/-0)
po/ca.po (+115/-0)
po/ca@valencia.po (+115/-0)
po/ckb.po (+110/-0)
po/crh.po (+112/-0)
po/cs.po (+109/-0)
po/csb.po (+117/-0)
po/cv.po (+124/-0)
po/cy.po (+120/-0)
po/da.po (+115/-0)
po/de.po (+115/-0)
po/de_DE.po (+109/-0)
po/dv.po (+124/-0)
po/el.po (+114/-0)
po/en.po (+126/-0)
po/en_AU.po (+115/-0)
po/en_CA.po (+115/-0)
po/en_GB.po (+115/-0)
po/eo.po (+114/-0)
po/es.po (+114/-0)
po/et.po (+114/-0)
po/eu.po (+115/-0)
po/fa.po (+113/-0)
po/fa_AF.po (+124/-0)
po/fi.po (+115/-0)
po/fil.po (+109/-0)
po/fo.po (+114/-0)
po/fr.po (+115/-0)
po/fr_CA.po (+126/-0)
po/fur.po (+108/-0)
po/fy.po (+114/-0)
po/ga.po (+110/-0)
po/gd.po (+111/-0)
po/gl.po (+116/-0)
po/gu.po (+132/-0)
po/he.po (+114/-0)
po/hi.po (+115/-0)
po/hr.po (+110/-0)
po/hu.po (+115/-0)
po/hy.po (+124/-0)
po/id.po (+114/-0)
po/is.po (+110/-0)
po/it.po (+115/-0)
po/ja.po (+112/-0)
po/jv.po (+126/-0)
po/ka.po (+113/-0)
po/kk.po (+113/-0)
po/km.po (+113/-0)
po/kn.po (+109/-0)
po/ko.po (+116/-0)
po/ku.po (+106/-0)
po/ky.po (+124/-0)
po/lo.po (+124/-0)
po/lt.po (+115/-0)
po/lv.po (+109/-0)
po/mhr.po (+94/-0)
po/mi.po (+126/-0)
po/mk.po (+109/-0)
po/ml.po (+105/-0)
po/mn.po (+114/-0)
po/mr.po (+104/-0)
po/ms.po (+115/-0)
po/mt.po (+128/-0)
po/my.po (+102/-0)
po/nb.po (+116/-0)
po/nds.po (+114/-0)
po/ne.po (+106/-0)
po/nl.po (+115/-0)
po/nn.po (+115/-0)
po/oc.po (+115/-0)
po/pa.po (+108/-0)
po/pl.po (+116/-0)
po/ps.po (+126/-0)
po/pt.po (+116/-0)
po/pt_BR.po (+116/-0)
po/pt_PT.po (+126/-0)
po/qu.po (+126/-0)
po/ro.po (+110/-0)
po/ru.po (+109/-0)
po/sco.po (+100/-0)
po/sd.po (+109/-0)
po/se.po (+109/-0)
po/shn.po (+126/-0)
po/si.po (+106/-0)
po/sk.po (+109/-0)
po/sl.po (+111/-0)
po/sq.po (+115/-0)
po/sr.po (+109/-0)
po/st.po (+126/-0)
po/sv.po (+115/-0)
po/ta.po (+104/-0)
po/te.po (+114/-0)
po/tg.po (+115/-0)
po/th.po (+113/-0)
po/tl.po (+106/-0)
po/tr.po (+114/-0)
po/ug.po (+113/-0)
po/uk.po (+109/-0)
po/update-notifier.pot (+346/-0)
po/ur.po (+100/-0)
po/uz.po (+111/-0)
po/vi.po (+113/-0)
po/xh.po (+135/-0)
po/zh_CN.po (+109/-0)
po/zh_HK.po (+109/-0)
po/zh_TW.po (+109/-0)
src/update.c (+5/-0)
tests/data/package-data-downloads-failed-permanently.in (+18/-1)
tests/data/package-data-downloads-failed.in (+19/-1)
tests/test_motd.py (+88/-0)
tests/test_package-data-downloader.py (+48/-0)
tests/test_pep8.py (+39/-0)
- git-ubuntu import: Pending requested
-
Diff: 29251 lines (+12561/-0) (has conflicts)173 files modified.bzr-builddeb/default.conf (+5/-0)
.bzrignore (+31/-0)
autogen.sh (+17/-0)
config.h.in (+3/-0)
configure.ac (+11/-0)
data/Makefile.am (+11/-0)
data/apt_check.py (+46/-0)
data/backend_helper.py (+6/-0)
data/com.ubuntu.update-notifier.gschema.xml.in (+4/-0)
data/notify-reboot-required (+3/-0)
data/package-data-downloader (+6/-0)
data/update-motd-fsck-at-reboot (+7/-0)
data/update-motd-hwe-eol (+14/-0)
data/update-motd-updates-available (+3/-0)
debian/90-updates-available (+3/-0)
debian/95-hwe-eol (+3/-0)
debian/changelog (+128/-0)
debian/compat (+4/-0)
debian/control (+28/-0)
debian/rules (+7/-0)
debian/systemd/unicast-local-avahi.override (+1/-0)
debian/systemd/unicast-local-avahi.path (+6/-0)
debian/systemd/unicast-local-avahi.service (+6/-0)
debian/systemd/update-notifier-crash.path (+3/-0)
debian/systemd/update-notifier-crash.service (+6/-0)
debian/tests/control (+4/-0)
debian/unicast-local-avahi.conf (+14/-0)
debian/update-notifier-common.cron.daily (+8/-0)
debian/update-notifier-common.cron.weekly (+15/-0)
debian/update-notifier-common.install (+6/-0)
debian/update-notifier-common.postinst (+7/-0)
debian/update-notifier-common.postrm (+8/-0)
debian/update-notifier-common.preinst (+8/-0)
debian/update-notifier-common.triggers (+4/-0)
debian/update-notifier-crash (+3/-0)
debian/update-notifier.install (+21/-0)
debian/update-notifier.links (+4/-0)
pixmaps/scalable/livepatch-on.svg (+1/-0)
pixmaps/scalable/livepatch-warning.svg (+1/-0)
po/POTFILES.in (+10/-0)
po/ace.po (+93/-0)
po/af.po (+103/-0)
po/am.po (+97/-0)
po/an.po (+100/-0)
po/ar.po (+106/-0)
po/ast.po (+102/-0)
po/az.po (+96/-0)
po/be.po (+103/-0)
po/bem.po (+93/-0)
po/bg.po (+102/-0)
po/bn.po (+102/-0)
po/bo.po (+93/-0)
po/br.po (+102/-0)
po/bs.po (+103/-0)
po/ca.po (+103/-0)
po/ca@valencia.po (+103/-0)
po/ckb.po (+96/-0)
po/crh.po (+103/-0)
po/cs.po (+103/-0)
po/csb.po (+104/-0)
po/cv.po (+93/-0)
po/cy.po (+105/-0)
po/da.po (+103/-0)
po/de.po (+103/-0)
po/de_DE.po (+93/-0)
po/dv.po (+93/-0)
po/el.po (+102/-0)
po/en.po (+93/-0)
po/en_AU.po (+103/-0)
po/en_CA.po (+103/-0)
po/en_GB.po (+103/-0)
po/eo.po (+102/-0)
po/es.po (+102/-0)
po/et.po (+102/-0)
po/eu.po (+103/-0)
po/fa.po (+101/-0)
po/fa_AF.po (+93/-0)
po/fi.po (+103/-0)
po/fil.po (+97/-0)
po/fo.po (+102/-0)
po/fr.po (+103/-0)
po/fr_CA.po (+93/-0)
po/fur.po (+98/-0)
po/fy.po (+102/-0)
po/ga.po (+98/-0)
po/gd.po (+105/-0)
po/gl.po (+103/-0)
po/gu.po (+97/-0)
po/he.po (+102/-0)
po/hi.po (+102/-0)
po/hr.po (+104/-0)
po/hu.po (+103/-0)
po/hy.po (+93/-0)
po/id.po (+102/-0)
po/is.po (+102/-0)
po/it.po (+103/-0)
po/ja.po (+101/-0)
po/jv.po (+93/-0)
po/ka.po (+101/-0)
po/kk.po (+101/-0)
po/km.po (+101/-0)
po/kn.po (+93/-0)
po/ko.po (+101/-0)
po/ku.po (+100/-0)
po/ky.po (+93/-0)
po/lo.po (+93/-0)
po/lt.po (+103/-0)
po/lv.po (+103/-0)
po/mhr.po (+93/-0)
po/mi.po (+93/-0)
po/mk.po (+99/-0)
po/ml.po (+97/-0)
po/mn.po (+102/-0)
po/mr.po (+97/-0)
po/ms.po (+103/-0)
po/mt.po (+93/-0)
po/my.po (+96/-0)
po/nb.po (+103/-0)
po/nds.po (+102/-0)
po/ne.po (+97/-0)
po/nl.po (+103/-0)
po/nn.po (+103/-0)
po/oc.po (+103/-0)
po/pa.po (+100/-0)
po/pl.po (+104/-0)
po/ps.po (+93/-0)
po/pt.po (+103/-0)
po/pt_BR.po (+103/-0)
po/pt_PT.po (+93/-0)
po/qu.po (+93/-0)
po/ro.po (+104/-0)
po/ru.po (+103/-0)
po/sco.po (+93/-0)
po/sd.po (+93/-0)
po/se.po (+93/-0)
po/shn.po (+93/-0)
po/si.po (+100/-0)
po/sk.po (+103/-0)
po/sl.po (+105/-0)
po/sq.po (+103/-0)
po/sr.po (+103/-0)
po/st.po (+93/-0)
po/sv.po (+103/-0)
po/ta.po (+97/-0)
po/te.po (+102/-0)
po/tg.po (+103/-0)
po/th.po (+101/-0)
po/tl.po (+99/-0)
po/tr.po (+102/-0)
po/ug.po (+101/-0)
po/uk.po (+103/-0)
po/ur.po (+93/-0)
po/uz.po (+99/-0)
po/vi.po (+101/-0)
po/xh.po (+93/-0)
po/zh_CN.po (+101/-0)
po/zh_HK.po (+101/-0)
po/zh_TW.po (+101/-0)
src/Makefile.am (+23/-0)
src/avahi.c (+47/-0)
src/avahi.h (+3/-0)
src/crash.c (+13/-0)
src/hooks.c (+6/-0)
src/livepatch-tray.c (+16/-0)
src/livepatch-utils.c (+4/-0)
src/livepatch-utils.h (+9/-0)
src/system-crash.c (+8/-0)
src/update-notifier.c (+43/-0)
src/update-notifier.h (+16/-0)
src/update.c (+8/-0)
tests/pyflakes.exclude (+4/-0)
tests/test_motd.py (+88/-0)
tests/test_pep8.py (+39/-0)
- Łukasz Zemczak: Approve (...with small modifications)
- Renan Rodrigo (community): Approve
-
Diff: 323 lines (+51/-53)2 files modifieddata/apt_check.py (+15/-17)
tests/test_motd.py (+36/-36)
Changed in update-notifier (Ubuntu): | |
milestone: | none → ubuntu-22.04.1 |
tags: | added: fr-2539 |
Changed in update-notifier (Ubuntu): | |
milestone: | ubuntu-22.04.1 → none |
description: | updated |
Changed in update-notifier (Ubuntu Impish): | |
status: | New → Won't Fix |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
This bug was fixed in the package update-notifier - 3.192.57
---------------
update-notifier (3.192.57) kinetic; urgency=medium
[ Lucas Albuquerque Medeiros de Moura ]
* Update the ESM service name and description for the apt_check.py script
(LP: #1980368).
-- Łukasz 'sil2100' Zemczak <email address hidden> Thu, 22 Sep 2022 10:47:03 +0200