Did you consider saving the "old" sources list on the Landscape server instead? From the back of an envelope something like:
client C -> server S: here's my current sources.list
<time passes, repository profile used>
server S -> client C: use these sources.list (from profile)
<time passes, repository profile disabled>
server S -> client C: use these sources.list (last-known from client, before we switched its world over)
I feel a bit uneasy about using the client's filesystem as a data-store
Did you consider saving the "old" sources list on the Landscape server instead? From the back of an envelope something like:
client C -> server S: here's my current sources.list
<time passes, repository profile used>
server S -> client C: use these sources.list (from profile)
<time passes, repository profile disabled>
server S -> client C: use these sources.list (last-known from client, before we switched its world over)
I feel a bit uneasy about using the client's filesystem as a data-store