[j-nsp] JUNOS upgrade annoyance...

Chris Adams cma at cmadams.net
Thu Aug 1 08:58:46 EDT 2019


Upgraded JUNOS on an MX last night - I had put a python commit script on
there a few months ago.  After the upgrade, the router came up amnesiac,
because the commit script has to be owned by root or a super-user.  It
was owned by me (a super-user), but JUNOS wouldn't process the config to
see that my UID existed and is a super-user.

:facepalm:

In other words, commit scripts (at least in python) must be owned by
root if you want them to work after an upgrade, because no other user
exists until after the script runs.  This seems like a shortcoming...

-- 
Chris Adams <cma at cmadams.net>


More information about the juniper-nsp mailing list