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.
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.
test 3:
- installed version 19.12-0ubuntu4.3
- registered with Landscape Server
- ran `systemctl stop landscape-client`
- ran `systemctl disable landscape-client`
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
expected behaviour: landscape-client service never runs, registration has not occurred.
observed behaviour: landscape-client service did not run, registration has not occurred.
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 positive- raven:~ $ pgrep landscape
ubuntu@
(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 system/ multi-user. target. wants/landscape -client. service.
Removed /etc/systemd/
- 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 thorough- honeybee: ~$ systemctl is-enabled landscape-client
inactive
ubuntu@
disabled
After systemctl enable and systemctl start landscape-client, it is running the new version.
ubuntu@ thorough- honeybee: ~$ sudo systemctl enable landscape-client system/ multi-user. target. wants/landscape -client. service → /lib/systemd/ system/ landscape- client. service. thorough- honeybee: ~$ sudo systemctl start landscape-client thorough- honeybee: ~$ pgrep landscape
Created symlink /etc/systemd/
ubuntu@
ubuntu@
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 suited- stallion: ~$ sudo systemctl is-enabled landscape-client
inactive
ubuntu@
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 suited- stallion: ~$ sudo systemctl is-enabled landscape-client
inactive
ubuntu@
disabled