Summary: | /root/.bash_logout: Отказано в доступе при запуске через сервис пакета | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Evgeny Shesteperov <alimektor> |
Component: | gitlab-runner | Assignee: | bne <bne> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | bne, lav |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux |
Description
Evgeny Shesteperov
2023-09-16 18:18:33 MSK
gitlab-runner-16.9.1-alt1 -> sisyphus: Wed Mar 20 2024 Nikolay Burykin <bne@altlinux> 16.9.1-alt1 - New version 16.9.1 - Fix: + "/root/.bash_profile: Permission denied" when use shell as an executor (ALT #47620) + failure prepare environment step, when use Docker as an executor (ALT #47621) (Ответ для Repository Robot на комментарий #1) > gitlab-runner-16.9.1-alt1 -> sisyphus: > > Wed Mar 20 2024 Nikolay Burykin <bne@altlinux> 16.9.1-alt1 > - New version 16.9.1 > - Fix: > + "/root/.bash_profile: Permission denied" when use shell as an executor > (ALT #47620) Добавлю, что проблема решена так: - script.Arguments = []string{"-s", "/bin/" + b.Shell, info.User, "-c", script.CmdLine} + script.Arguments = []string{"-", "-s", "/bin/" + b.Shell, info.User, "-c", script.CmdLine} то есть в апстриме использовался su без -, что желательно исправить там, а здесь это приводит нас к https://bugzilla.altlinux.org/23700 |