<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div></div><div class="gmail_quote">On Mon, Jul 4, 2016 at 5:10 AM, Hal Murray <span dir="ltr"><<a href="mailto:hmurray@megapathdsl.net" target="_blank">hmurray@megapathdsl.net</a>></span> wrote:</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">If there is a conflict, my suggestion would be to rename the old stuff to<br>classic-xxx and install the new stuff as ntpsec-xxx and setup links and<br>provide a script to swing the links. Or something like that. There probably<br>needs to be a script to uninstall the classic version and undo the links.<br></span></blockquote><div><br></div><div>I'm thinking of using the "/etc/alternatives" directory and the appropriate symlinks.</div><div>I could provide two scripts: one to delete the Classic installation, and one to</div><div>uninstall NTPsec. Each would remove all the indirection through the symlinks.</div><div><br></div><div>Do we want to install NTPsec in the same hierarchy as Classic? Or in an</div><div>alternative location? (/usr/local? /opt??)</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">
</span>So far, the config files are compatible so it makes sense to leave the old<br>
one alone if it has been edited. (The admin might have picked some good<br>
servers or setup logging.)<br></blockquote><div><br></div><div>Yes. Another method is to do like a standard RPM upgrade script does, and</div><div>only clobber the existing config file *if* it is unchanged from the last version's</div><div>distributed version. Any changes cause the new config file to be dropped</div><div>into the directory with a "-rpmnew" suffix. Then the admin has to resolve</div><div>conflicts manually.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
Where would you document what happened and/or how to switch back?</blockquote><div><br></div><div> Good question. Suggestions?</div><div><br></div><div><br></div><div><br></div><div> - <strong><em><font color="#000066" size="4" face="verdana,sans-serif">John D. Bell</font></em></strong><br></div></div></div></div>