Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-22 | configd: T6608: report uncaught config script exceptions as commit error | John Estabrook | |
In the case of config mode script exceptions other than ConfigError, vyos-configd would previously trigger the shim to re-run the script in the CLI context. The use of config dependencies require this case to return a commit error. A traceback is returned as output, consistent with running without vyos-configd support. | |||
2024-09-20 | http-api: T6326: return full warning/error output through api | John Estabrook | |
Configuration error output is not returned in full to the http-api when running under vyos-configd, due to an early implementation 'workaround' of vyos-configd writing directly to the session tty. This is corrected to return all ambient stdout (notably vyos.base.Warning) and error messages directly to the originating caller, which may be from a session tty or a ConfigSession instance. As the http-api runs in the latter case, the full output is returned. | |||
2024-08-25 | configd: T6671: track scripts proposed and scripts called | John Estabrook | |
2024-08-12 | configd: T6633: inject missing env vars for configfs utility | John Estabrook | |
2024-08-07 | configd: T6640: enforce in_session returns False under configd | John Estabrook | |
The CStore in_session check is a false positive outside of a config session if a specific environment variable is set with an existing referent in unionfs. To allow extensions when running under configd and avoid confusion, enforce in_session returns False. | |||
2024-07-25 | T6605: restore configd error formatting to be consistent with CLI (#3868) | John Estabrook | |
2024-07-14 | configdep: T6559: use single dependency list with reset under configd | John Estabrook | |
2024-07-14 | configdep: T6559: drop global redundancy removal to fix error reporting | John Estabrook | |
2024-06-21 | configd: T6504: send sudo_user on session init and set env variable | John Estabrook | |
The environment variable SUDO_USER is checked by system_login.py so as to prevent deleting the current user. Provide from config session and set within configd environment. | |||
2024-04-28 | configdep: T6276: do not call dependencies on script error | John Estabrook | |
2024-02-28 | configdep: T5660: remove global redundancies under vyos-configd | John Estabrook | |
2023-07-12 | T5195: move boot_* helpers to vyos.utils.boot | Christian Breunig | |
2021-12-11 | vyos.util: T4061: fix typo in function name | John Estabrook | |
2021-12-08 | vyos.util: T4061: add function to check for completion of boot config | John Estabrook | |
2021-07-29 | configd: T3694: always set script.argv | Brandon Stepler | |
Several scripts imported by vyos-configd (including src/conf_mode/protocols_static.py) rely on argv for operating on VRFs. Always setting script.argv in src/services/vyos-configd ensures those scripts will operate on the default VRF when called with no arguments. Otherwise, a stale argv might cause those scripts to operate on the last modified VRF instead of the default VRF. | |||
2021-03-25 | configd: T3426: add support for script arguments to vyos-configd | John Estabrook | |
2021-03-23 | configd: T3426: check script name against include_set, not exclude_set | John Estabrook | |
If the script name is mangled, for any reason (e.g. missing support for script arguments) checking against the exclude_set will yield a false positive; check against the include_set, even if this is a longer search. | |||
2021-03-22 | configd: T3302: check vyos-config-status to determine if in boot session | John Estabrook | |
2021-03-16 | configd: T3411: revise redirect to capture stdout from subprocesses | John Estabrook | |
2021-03-16 | configd: T3411: revert to using explicit_print on ConfigError | John Estabrook | |
2021-02-25 | configd: T3302: set mode correctly on open for redirect | John Estabrook | |
2021-02-23 | configd: T3302: redirect script stdout/err to file on boot | John Estabrook | |
2021-02-17 | configd: T3302: redirect stdout/stderr from scripts to console | John Estabrook | |
2020-10-08 | configd: T2931: workaround for suspected zmq bug | John Estabrook | |
2020-10-02 | configd: T2952: synchronize received messages in case of client timeout | John Estabrook | |
2020-10-02 | configd: T2582: catch config initialization errors | John Estabrook | |
2020-10-02 | configd: T2582: remove unused variables | John Estabrook | |
2020-09-16 | configd: T2885: fix output of error string to config session | John Estabrook | |
2020-09-15 | configd: T2885: print commit errors to config session terminal | John Estabrook | |
2020-08-31 | configd: T2582: add config daemon and supporting files | John Estabrook | |