[rancid] Prevent commit when device cannot be reached

Marki jm+rancid at roth.lu
Sun Dec 7 15:14:48 UTC 2025


Alright I think I found something.

Behavior is different if debug is enabled. LOL

In fact it still was enabled in my module, and in this case what 
bin/rancid (not) does is:

unlink "$host.new" if (! $debug);

in case of no clean run, missed commands, etc.

Maybe one should handle this differently like creating a $host.debug 
file in debug mode while still removing $host.new, in order not to 
change overall behavior during debugging.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20251207/43e2c059/attachment.htm>


More information about the Rancid-discuss mailing list