Comment 17 for bug 1977493

Revision history for this message
Steve Langasek (vorlon) wrote :

SRU verification:

$ lxc launch ubuntu:focal lp1977493
Creating lp1977493
Starting lp1977493
$ lxc exec lp1977493 bash
root@lp1977493:~# echo -e "auth\trequired\tpam_tally.so" >> /etc/pam.d/login
root@lp1977493:~# cd /tmp/
root@lp1977493:/tmp# wget -q http://archive.ubuntu.com/ubuntu/dists/jammy-proposed/main/dist-upgrader-all/current/jammy.tar.gz
root@lp1977493:/tmp# tar xf jammy.tar.gz
root@lp1977493:/tmp# ./jammy
[...]
Reading package lists... Done
Building dependency tree
Reading state information... Done

You are using pam_tally or pam_tally2 in your configuration.

The pam_tally and pam_tally2 modules have been removed from PAM. You
are using one of these modules in your PAM configuration in
/etc/pam.d. You must remove the uses of these modules before PAM can
be upgraded; including these modules in your PAM configuration after
the upgrade will stop users from being able to log into the system.

Consider the pam_faillock module as a replacement for pam_tally.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command terminated with exit status 1 (Wed Aug 3 04:43:30 2022) ===
[screen is terminating]
root@lp1977493:/tmp# sed -i -e'/pam_tally/d' /etc/pam.d/login
root@lp1977493:/tmp# ./jammy
[...]

Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

Do you want to start the upgrade?

4 packages are going to be removed. 85 new packages are going to be
installed. 538 packages are going to be upgraded.

You have to download a total of 188 M. This download will take about
37 seconds with a 40Mbit connection and about 5 minutes with a 5Mbit
connection.

Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be canceled.

 Continue [yN] Details [d]y
[...]
Searching for obsolete software
Reading state information... Done

Remove obsolete packages?

72 packages are going to be removed.

 Continue [yN] Details [d]y
[...]
System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.

Continue [yN]
[screen is terminating]
root@lp1977493:/tmp# halt -p
$ lxc delete lp1977493
$ lxc launch ubuntu:impish lp1977493
Creating lp1977493
Starting lp1977493
$ lxc exec lp1977493 bash
root@lp1977493:~# echo -e "auth\trequired\tpam_tally.so" >> /etc/pam.d/login
root@lp1977493:~# do-release-upgrade -p
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
[...]
Continue [yN] y
[...]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

You are using pam_tally or pam_tally2 in your configuration.

The pam_tally and pam_tally2 modules have been removed from PAM. You
are using one of these modules in your PAM configuration in
/etc/pam.d. You must remove the uses of these modules before PAM can
be upgraded; including these modules in your PAM configuration after
the upgrade will stop users from being able to log into the system.

Consider the pam_faillock module as a replacement for pam_tally.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
=== Command terminated with exit status 1 (Wed Aug 3 05:02:28 2022) ===
[screen is terminating]
root@lp1977493:~# sed -i -e'/pam_tally/d' /etc/pam.d/login
root@lp1977493:~# do-release-upgrade -p
hecking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
[...]
Continue [yN] y
[...]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

Calculating the changes

Calculating the changes

Do you want to start the upgrade?

3 packages are going to be removed. 30 new packages are going to be
installed. 510 packages are going to be upgraded.

You have to download a total of 183 M. This download will take about
48 seconds with your connection.

Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.

 Continue [yN] Details [d]y
[...]
Searching for obsolete software
Reading state information... Done

Remove obsolete packages?

22 packages are going to be removed.

 Continue [yN] Details [d]y
[...]
System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.

Continue [yN]
=== Command detached from window (Wed Aug 3 05:13:00 2022) ===
[screen is terminating]
root@lp1977493:~# halt -p
$ lxc delete lp1977493
$