Waiting to tag this verification-done-resolute until I've followed up regarding
fingerprint readers.

### Verification done Resolute ###

I followed the instructions at [1], with the -proposed package side-by-side
with `gdm3 (50.1-0ubuntu0.1)` to ensure no change of behavior.

```
lxc launch images:ubuntu/resolute/desktop --vm -c limits.cpu=8 -c 
limits.memory=4GiB rv0
```

```
root@rv0:~# apt policy gdm3
gdm3:
  Installed: 50.3-0ubuntu0.1
  Candidate: 50.3-0ubuntu0.1
  Version table:
 *** 50.3-0ubuntu0.1 100
        100 http://archive.ubuntu.com/ubuntu resolute-proposed/main amd64 
Packages
        100 /var/lib/dpkg/status
     50.1-0ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 
Packages
     50.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
root@rv0:~# cat >/etc/gdm3/custom.conf <<'EOF'
[daemon]
AutomaticLoginEnable=false

[debug]
Enable=true
EOF
root@rv0:~# passwd ubuntu  # use "password"
New password:
BAD PASSWORD: The password fails the dictionary check - it is based on a 
dictionary word
Retype new password:
passwd: password updated successfully
root@rv0:~# adduser other-usr
New password:
BAD PASSWORD: The password fails the dictionary check - it is based on a 
dictionary word
Retype new password:
passwd: password updated successfully
Changing the user information for other-usr
Enter the new value, or press ENTER for the default
        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] Y
```

# Test case 1

Login/logout as `ubuntu` works the same between the old/new package for these
sessions:
- Ubuntu
- GNOME
- GNOME Classic

# Test case 2

1. Logged in as `ubuntu` with the "Ubuntu" session, "Switch user" returns to 
greeter
2. Logged in as `other-usr` with the "Ubuntu" session, opened Files
3. Locked screen, select the "Users" icon in the bottom right, log in as 
`ubuntu`, Session opens successfully
4. Logged out `ubuntu`, Logged in as `other-user`, Files is still open

# Test case 3

This test case was done in a different VM than the others due to the users
added in `rv0`:
```
root@rv1:~# apt policy gdm3
gdm3:
  Installed: 50.3-0ubuntu0.1
  Candidate: 50.3-0ubuntu0.1
  Version table:
 *** 50.3-0ubuntu0.1 100
        100 http://archive.ubuntu.com/ubuntu resolute-proposed/main amd64 
Packages
        100 /var/lib/dpkg/status
     50.1-0ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 
Packages
     50.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
root@rv1:~# sudo apt install softhsm2 pamtester openssl gnutls-bin
...
root@rv1:~# sudo apt-mark auto softhsm2 pamtester
softhsm2 set to automatically installed.
pamtester set to automatically installed.
root@rv1:/usr/local/src# cat >/etc/gdm3/custom.conf <<'EOF'
[daemon]
AutomaticLoginEnable=false

[debug]
Enable=true
EOF
root@rv1:~# cd /usr/local/src/
root@rv1:/usr/local/src# git clone https://salsa.debian.org/gnome-team/gdm gdm
Cloning into 'gdm'...
warning: redirecting to https://salsa.debian.org/gnome-team/gdm.git/
remote: Enumerating objects: 80866, done.
remote: Counting objects: 100% (587/587), done.
remote: Compressing objects: 100% (215/215), done.
remote: Total 80866 (delta 365), reused 584 (delta 365), pack-reused 80279 
(from 1)
Receiving objects: 100% (80866/80866), 53.53 MiB | 20.75 MiB/s, done.
Resolving deltas: 100% (61798/61798), done.
root@rv1:/usr/local/src# git -C gdm/ switch ubuntu/resolute
branch 'ubuntu/resolute' set up to track 'origin/ubuntu/resolute'.
Switched to a new branch 'ubuntu/resolute'
root@rv1:/usr/local/src# sudo su ubuntu
ubuntu@rv1:/usr/local/src$ sudo env PIN=554433 WAIT=1 bash 
./gdm/debian/tests/sssd-gdm-smartcard-pam-auth-tester.sh
...
Script completed successfully!
ubuntu@rv1:/usr/local/src$ echo $?
0
```

It's not entirely clear to me based on the text at [2] whether this is
sufficient to verify the SRU; a quick read of the source code suggests that
"Script completed successfully!" covers all the tested cases.

# Test case 4

I don't have access to a fingerprint reader; I will reach out to the Desktop
team to see if they can help with this test case

# Test case 5

Option 5.c, NVIDIA is not a special case in 25.10+

# Test case 6

In `/etc/default/grub`:

```
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=7
```

In `/etc/default/grub.d/50-lxd.cfg`:

```
GRUB_TIMEOUT=7
```

```
root@rv0:~# sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50-lxd.cfg'
Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-44-generic
Found initrd image: /boot/initrd.img-7.0.0-44-generic
Found memtest86+ 64bit EFI image: /boot/mt86+x64
Found memtest86+ 32bit EFI image: /boot/mt86+ia32
Found memtest86+ 64bit image: /boot/mt86+x64
Found memtest86+ 32bit image: /boot/mt86+ia32
Adding boot menu entry for UEFI Firmware Settings ...
done
root@rv0:~# sudo reboot now
```

```
root@rv0:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-7.0.0-44-generic 
root=UUID=701c1b9e-f6ce-4026-8de5-9d280ab4a9ff ro quiet splash console=tty1 
console=ttyS0 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M 
gnome.initial-setup=1
```

Firstboot wizard appeared as required.

### Verification done Resolute ###

[1] https://ubuntu.com/project/docs/maintainers/test-plans/desktop-team/GDM/
[2] 
https://ubuntu.com/project/docs/maintainers/test-plans/desktop-team/GDM-Smartcard/#gdm-smartcard-test-plan

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/2173380

Title:
   [SRU] GDM 50.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2173380/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to