Landscape scripts will never get updated if they call landscape-config
Bug #1675173 reported by
diego
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-
It will restart landscape-client on the computer and the ExecuteScript activity will get stuck waiting for results.
To post a comment you must log in.
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.