-
Notifications
You must be signed in to change notification settings - Fork 11
Unable to copy running-config to non-existing startup-config #981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think the root cause is that following should be Lines 241 to 244 in dd788f5
|
I had a quick look.
EDIT: To clarify, the |
CCB: Future |
Found the root cause for this now. Turns out the Took me a while, but I'm now recalling that one of the reasons for this weird design is that we have users that script Infix using |
The trigger in confd, So if |
There are multiple ways forward here, a radical one is to remove the tools Another, perhaps less invasive which would allow us to drop Personally I vote for the section option, either way a decision needs to be made before the |
After discussions during today's CCB we agreed we need something fundamental to fix this issue, and @wkz suggested instead patch sysrepo to add a post-hook with a datastore argument. That way we could at the same time remove our own |
Current Behavior
No user can copy running to startup if startup doesn't exist or the full path name is given (
copy running /cfg/startup-config.cfg
)No startup-config.cfg is created here ^
Expected Behavior
Steps To Reproduce
Additional information
This problem manifests itself by throwing this chown error but the main problem is that no start-config is created. The command
copy running startup
takes a different code path thancopy running /cfg/startup-config.cfg
.The text was updated successfully, but these errors were encountered: