FS#78580 - [devtools] check_root discards command line options
Attached to Project:
Arch Linux
Opened by Yardena Cohen (yardenac) - Tuesday, 23 May 2023, 22:07 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 22:54 GMT
Opened by Yardena Cohen (yardenac) - Tuesday, 23 May 2023, 22:07 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 22:54 GMT
|
Details
When running tools like mkarchroot or arch-nspawn without
root, the check_root function is meant to automatically
escalate to root. But, when it does this, it quietly
discards any options passed like -C/pac_conf or
-c/cache_dirs, and the newly exec'd script does not know
about them.
This behavior should either be fixed or documented. |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 23 May 2023, 22:54 GMT
Reason for closing: Upstream
Additional comments about closing: See comments
Tuesday, 23 May 2023, 22:54 GMT
Reason for closing: Upstream
Additional comments about closing: See comments
[1] https://gitlab.archlinux.org/archlinux/devtools
[2] https://gitlab.archlinux.org/archlinux/devtools/-/issues/149