lock screen message appeared during an SSH upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Server users will see an unnecessary error message about failing to disable the lock screen, which may cause confusion.
[Test Plan]
* Obtain a console on Impish server, e.g. ssh to a remote host.
* Verify that XDG_SESSION_TYPE is set to 'tty':
$ echo $XDG_SESSION_TYPE
* Start a release upgrade:
$ do-release-upgrade
* After accepting the prompt to start the upgrade, observe the "Unable to disable lock screen" message.
[Where problems could occur]
The patch changes the early-return condition in the except block in _inhibitIdle. If problems occurred, it would be related to the "Unable to disable lock screen" message.
[Original Description]
I was upgrading and Ubuntu 20.04 system to Ubuntu 22.04 over an ssh connection and noticed the following message:
`Unable to disable lock screen
It is highly recommended that the lock screen be disabled during the
upgrade to prevent later issues. Please ensure your screen lock is
disabled before continuing.
To continue please press [ENTER]`
Given that I'm connected via ssh the message seems unnecessary. Some details from main.log:
bdmurray@
2022-05-17 07:59:05,380 INFO Using config files '['./DistUpgrad
2022-05-17 07:59:05,381 INFO uname information: 'Linux clean-focal-amd64 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64'
2022-05-17 07:59:05,677 INFO apt version: '2.0.6'
2022-05-17 07:59:05,677 INFO python version: '3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0]'
2022-05-17 07:59:05,679 INFO release-upgrader version '22.04.10' started
Related branches
- Brian Murray: Approve
-
Diff: 110458 lines (+18560/-18542)134 files modifiedDistUpgrade/DistUpgradeController.py (+6/-5)
DistUpgrade/DistUpgradeVersion.py (+1/-1)
DistUpgrade/deb2snap.json (+3/-0)
data/mirrors.cfg (+16/-8)
debian/changelog (+10/-2)
debian/tests/control (+1/-1)
po/af.po (+147/-147)
po/am.po (+147/-147)
po/an.po (+147/-147)
po/ar.po (+147/-147)
po/ast.po (+147/-147)
po/az.po (+147/-147)
po/be.po (+147/-147)
po/bg.po (+147/-147)
po/bn.po (+147/-147)
po/bo.po (+147/-147)
po/br.po (+147/-147)
po/bs.po (+147/-147)
po/ca.po (+147/-147)
po/ca@valencia.po (+147/-147)
po/ce.po (+147/-147)
po/ceb.po (+147/-147)
po/ckb.po (+147/-147)
po/crh.po (+147/-147)
po/cs.po (+147/-147)
po/csb.po (+147/-147)
po/cv.po (+147/-147)
po/cy.po (+147/-147)
po/da.po (+147/-147)
po/de.po (+147/-147)
po/dv.po (+147/-147)
po/el.po (+147/-147)
po/en_AU.po (+147/-147)
po/en_CA.po (+147/-147)
po/en_GB.po (+147/-147)
po/eo.po (+147/-147)
po/es.po (+147/-147)
po/et.po (+147/-147)
po/eu.po (+147/-147)
po/fa.po (+147/-147)
po/fi.po (+147/-147)
po/fil.po (+147/-147)
po/fo.po (+147/-147)
po/fr.po (+147/-147)
po/fr_CA.po (+147/-147)
po/fur.po (+147/-147)
po/fy.po (+147/-147)
po/ga.po (+147/-147)
po/gd.po (+147/-147)
po/gl.po (+147/-147)
po/gu.po (+147/-147)
po/gv.po (+147/-147)
po/he.po (+147/-147)
po/hi.po (+147/-147)
po/hr.po (+147/-147)
po/hu.po (+147/-147)
po/hy.po (+147/-147)
po/ia.po (+147/-147)
po/id.po (+147/-147)
po/is.po (+147/-147)
po/it.po (+147/-147)
po/ja.po (+147/-147)
po/jv.po (+147/-147)
po/ka.po (+147/-147)
po/kk.po (+147/-147)
po/km.po (+147/-147)
po/kn.po (+147/-147)
po/ko.po (+147/-147)
po/ku.po (+147/-147)
po/ky.po (+147/-147)
po/lb.po (+147/-147)
po/ln.po (+147/-147)
po/lo.po (+147/-147)
po/lt.po (+147/-147)
po/lv.po (+147/-147)
po/mhr.po (+147/-147)
po/mjw.po (+147/-147)
po/mk.po (+147/-147)
po/ml.po (+147/-147)
po/mn.po (+147/-147)
po/mnw.po (+147/-147)
po/mr.po (+147/-147)
po/ms.po (+147/-147)
po/mus.po (+147/-147)
po/my.po (+147/-147)
po/nb.po (+147/-147)
po/nds.po (+147/-147)
po/ne.po (+147/-147)
po/nl.po (+147/-147)
po/nn.po (+147/-147)
po/oc.po (+147/-147)
po/om.po (+147/-147)
po/pa.po (+147/-147)
po/pam.po (+147/-147)
po/pl.po (+147/-147)
po/ps.po (+147/-147)
po/pt.po (+147/-147)
po/pt_BR.po (+147/-147)
po/qu.po (+147/-147)
po/ro.po (+147/-147)
po/ru.po (+147/-147)
po/rw.po (+147/-147)
po/sc.po (+147/-147)
po/sco.po (+147/-147)
po/sd.po (+147/-147)
po/se.po (+147/-147)
po/shn.po (+147/-147)
po/si.po (+147/-147)
po/sk.po (+147/-147)
po/sl.po (+147/-147)
po/sq.po (+147/-147)
po/sr.po (+147/-147)
po/sv.po (+147/-147)
po/szl.po (+147/-147)
po/ta.po (+147/-147)
po/ta_LK.po (+147/-147)
po/te.po (+147/-147)
po/tg.po (+147/-147)
po/th.po (+147/-147)
po/tl.po (+147/-147)
po/tr.po (+147/-147)
po/ubuntu-release-upgrader.pot (+147/-147)
po/ug.po (+147/-147)
po/uk.po (+147/-147)
po/ur.po (+147/-147)
po/uz.po (+147/-147)
po/vi.po (+147/-147)
po/xh.po (+147/-147)
po/zh_CN.po (+147/-147)
po/zh_HK.po (+147/-147)
po/zh_TW.po (+147/-147)
po/zu.po (+147/-147)
pre-build.sh (+1/-1)
utils/demoted.cfg.focal (+0/-2)
- Brian Murray: Needs Fixing
-
Diff: 28 lines (+8/-1)2 files modifiedDistUpgrade/DistUpgradeController.py (+1/-1)
debian/changelog (+7/-0)
tags: | added: jammy kinetic |
description: | updated |
description: | updated |
This bug was fixed in the package ubuntu- release- upgrader - 1:22.10.3
--------------- release- upgrader (1:22.10.3) kinetic; urgency=medium
ubuntu-
* DistUpgrade: Do not show lock screen error if XDG_SESSION_TYPE is
tty (LP: #1973785).
-- Nick Rosbrook <email address hidden> Wed, 18 May 2022 09:38:56 -0700