Comment 23 for bug 2027613

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

Verification on focal with version 23.02-0ubuntu1~20.04.2

test 1:
 - installed version 19.12-0ubuntu4.3
 - registered with Landscape Server
 - service is running:

ubuntu@alive-squid:~$ systemctl is-active landscape-client
active

ubuntu@alive-squid:~$ pgrep landscape
4315
4317
4318
4319

 - upgraded to version 23.02-0ubuntu1~20.04.2

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

ubuntu@alive-squid:~$ pgrep landscape
5585
5714
5715
5717

test 2:
 - installed version 19.12-0ubuntu4.3
 - registered with Landscape Server
 - ran `systemctl stop landscape-client`

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

 - upgraded to version 23.02-0ubuntu1~20.04.2

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

ubuntu@positive-raven:~$ pgrep landscape
5165
5286
5287
5289

test 3:
 - installed version 19.12-0ubuntu4.3
 - registered with Landscape Server
 - ran `systemctl stop landscape-client`
 - ran `systemctl disable landscape-client`

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

 - upgraded to version 23.02-0ubuntu1~20.04.2

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

ubuntu@thorough-honeybee:~$ systemctl is-active landscape-client
inactive
ubuntu@thorough-honeybee:~$ systemctl is-enabled landscape-client
disabled

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

ubuntu@thorough-honeybee:~$ sudo systemctl enable landscape-client
Created symlink /etc/systemd/system/multi-user.target.wants/landscape-client.service → /lib/systemd/system/landscape-client.service.
ubuntu@thorough-honeybee:~$ sudo systemctl start landscape-client
ubuntu@thorough-honeybee:~$ pgrep landscape
5375
5377
5378
5379

test 4:
 - installed version 19.12-0ubuntu4.3
 - did not register with Landscape Server
 - service is not running

ubuntu@suited-stallion:~$ sudo systemctl is-active landscape-client
inactive
ubuntu@suited-stallion:~$ sudo systemctl is-enabled landscape-client
disabled

 - upgraded to version 23.02-0ubuntu1~20.04.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@suited-stallion:~$ sudo systemctl is-active landscape-client
inactive
ubuntu@suited-stallion:~$ sudo systemctl is-enabled landscape-client
disabled