landscape-config does not start landscape-client service

Bug #2040189 reported by Mitch Burton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client (Ubuntu)
Status tracked in Noble
Focal
In Progress
Undecided
Unassigned
Jammy
In Progress
Undecided
Unassigned
Lunar
In Progress
Undecided
Unassigned
Mantic
In Progress
Undecided
Unassigned
Noble
In Progress
Undecided
Mitch Burton

Bug Description

This bug was discovered during verification of the fix for LP: #2027613

[ Impact ]

The new ExecCondition in landscape-client.service provided in the patch for LP: #2027613 prevents the final steps of the landscape-config Client configuration wizard from starting the landscape-client service. landscape-config attempts to start the service via systemd to facilitate registration with Landscape Server. However, with the patch, the service cannot start prior to registration.

As a result, landscape-config cannot successful complete registration with Landscape Server.

This affects the versions in focal-proposed and jammy-proposed related to LP: #2006402, but not versions in lunar or mantic, as this bug was introduced in the proposed patch for that SRU.

[ Test Plan ]

install landscape-client, execute `sudo landscape-config` and complete the wizard.
expected behaviour: registration is successful and the landscape-client service is running. landscape-client behaves normally for a number of message exchanges and dispatched Landscape actions, such as reboot and package upgrade.

[ Where problems could occur ]

As this is a change to the landscape-config behaviour, problems would likely present as the service not running, the service running when it should not be, or in the registration or setup/config behaviour.

Related branches

Changed in landscape-client (Ubuntu):
assignee: nobody → Mitch Burton (mitchburton)
status: New → In Progress
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Mitch, isn't this also needed in lunar? I just checked the pkg/ubuntu/lunar-devel branch and it does not have this patch. I'm adding a lunar task to the bug, but let me know if that's incorrect please.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

And mantic and noble too.

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

I've add MRs for lunar, mantic, and noble. These also address LP: #2027613.

Changed in landscape-client (Ubuntu Focal):
status: New → In Progress
Changed in landscape-client (Ubuntu Jammy):
status: New → In Progress
Changed in landscape-client (Ubuntu Lunar):
status: New → In Progress
Changed in landscape-client (Ubuntu Mantic):
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.