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.
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.
test 3:
- installed version 23.08-0ubuntu1
- 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.08-0ubuntu1.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 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 gentle- sloth:~ $ pgrep landscape
ubuntu@
(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 system/ multi-user. target. wants/landscape -client. service" .
Removed "/etc/systemd/
- 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 immense- peacock: ~$ sudo systemctl is-enabled landscape-client
inactive
ubuntu@
disabled
After systemctl enable and systemctl start landscape-client, it is running the new version.
ubuntu@ immense- peacock: ~$ sudo systemctl enable landscape-client system/ multi-user. target. wants/landscape -client. service → /lib/systemd/ system/ landscape- client. service. immense- peacock: ~$ sudo systemctl start landscape-client immense- peacock: ~$ pgrep landscape
Created symlink /etc/systemd/
ubuntu@
ubuntu@
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 exciting- bream:~ $ sudo systemctl is-enabled landscape-client
inactive
ubuntu@
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 exciting- bream:~ $ sudo systemctl is-enabled landscape-client
inactive
ubuntu@
disabled