Landscape scripts will never get updated if they call landscape-config

Bug #1675173 reported by diego
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Won't Fix
Undecided
Unassigned

Bug Description

If I run landscape-config inside a landscape script, it will restart landscape client server and the script activity will never get updated.

For instance I have a script that just does this:

    landscape-config --silent --exchange-interval=90

It will restart landscape-client on the computer and the ExecuteScript activity will get stuck waiting for results.

Revision history for this message
David Britton (dpb) wrote :

Hi @diego

Yes, this is a known limitation, instead run like this:

echo 'landscape-config --silent --exchange-interval=90' | at now+1minute

Note, this will re-register the client (create a new pending computer), that you would have to merge with an existing computer, if that is what you are wanting to end up doing.

To simply change settings, you would need to modify the /etc/landscape/client.conf with a sed, and service landscape-client restart in an at job.

Changed in landscape-client:
status: New → Won't Fix
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.