Comment 26 for bug 2027613

Revision history for this message
Mitch Burton (mitchburton) wrote :

Verification on mantic with version 23.08-0ubuntu1.2

test 1:
 - installed version 23.08-0ubuntu1
 - registered with Landscape Server
 - service is running:

ubuntu@useful-tuna:~$ systemctl is-active landscape-client
active

ubuntu@useful-tuna:~$ pgrep landscape
3945
3946
3947
3948

 - upgraded to version 23.08-0ubuntu1.2

expected behaviour: landscape-client service restarts, running the new version (23.08-0ubuntu1.2)
observed behaviour: landscape-client service restarted, and is running the new version.

ubuntu@useful-tuna:~$ pgrep landscape
5110
5128
5130
5131

test 2:
 - installed version 23.08-0ubuntu1
 - registered with Landscape Server
 - ran `systemctl stop landscape-client`

ubuntu@gentle-sloth:~$ sudo systemctl stop landscape-client
ubuntu@gentle-sloth:~$ pgrep landscape
(no output)

 - upgraded to version 23.08-0ubuntu1.2

expected behaviour: landscape-client service restarts, running the new version (23.08-0ubuntu1.2)
observed behaviour: landscape-client service restarted, and is running the new version.

ubuntu@gentle-sloth:~$ pgrep landscape
4638
4657
4658
4659

test 3:
 - installed version 23.08-0ubuntu1
 - registered with Landscape Server
 - ran `systemctl stop landscape-client`
 - ran `systemctl disable landscape-client`

ubuntu@immense-peacock:~$ sudo systemctl disable landscape-client
Removed "/etc/systemd/system/multi-user.target.wants/landscape-client.service".

 - upgraded to version 23.08-0ubuntu1.2

expected behaviour: landscape-client service does not start (as it is disabled), but when enabled, the new version (23.08-0ubuntu1.2) is running.
observed behaviour: landscape-client service did not start

ubuntu@immense-peacock:~$ sudo systemctl is-active landscape-client
inactive
ubuntu@immense-peacock:~$ sudo systemctl is-enabled landscape-client
disabled

After systemctl enable and systemctl start landscape-client, it is running the new version.

ubuntu@immense-peacock:~$ sudo systemctl enable landscape-client
Created symlink /etc/systemd/system/multi-user.target.wants/landscape-client.service → /lib/systemd/system/landscape-client.service.
ubuntu@immense-peacock:~$ sudo systemctl start landscape-client
ubuntu@immense-peacock:~$ pgrep landscape
4807
4808
4809
4810

test 4:
 - installed version 23.08-0ubuntu1
 - did not register with Landscape Server
 - service is not running

ubuntu@exciting-bream:~$ sudo systemctl is-active landscape-client
inactive
ubuntu@exciting-bream:~$ sudo systemctl is-enabled landscape-client
disabled

 - upgraded to version 23.08-0ubuntu1.2

expected behaviour: landscape-client service never runs, registration has not occurred.
observed behaviour: landscape-client service did not run, registration has not occurred.

ubuntu@exciting-bream:~$ sudo systemctl is-active landscape-client
inactive
ubuntu@exciting-bream:~$ sudo systemctl is-enabled landscape-client
disabled