[GH-ISSUE #1053] sudo required dependency #353

Open
opened 2026-10-13 20:19:46 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @techiedesu on GitHub (Sep 7, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1053

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
0. Remove sudo

  1. Install app
  2. Navigate to /opt/AmneziaVPN
  3. Execute ./post_install.sh
  4. See error
./post_install.sh: строка 9: sudo: команда не найдена
AmneziaVPN log dir created at /var/log/
touch: невозможно выполнить touch для '/var/log/AmneziaVPN/post-install.log': Нет такого файла или каталога
AmneziaVPN log file created at /var/log/AmneziaVPN/post-install.log
./post_install.sh: строка 18: /var/log/AmneziaVPN/post-install.log: Нет такого файла или каталога
./post_install.sh: строка 19: /var/log/AmneziaVPN/post-install.log: Нет такого файла или каталога
./post_install.sh: строка 20: /var/log/AmneziaVPN/post-install.log: Нет такого файла или каталога
./post_install.sh: строка 22: sudo: команда не найдена
./post_install.sh: строка 28: sudo: команда не найдена

Expected behavior
App shows error during installation and uses doas as alternative.

Desktop (please complete the following information):

  • OS: Any Linux-based distro
  • Version any
Originally created by @techiedesu on GitHub (Sep 7, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1053 **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 0. Remove sudo 1. Install app 2. Navigate to /opt/AmneziaVPN 3. Execute `./post_install.sh` 4. See error ``` ./post_install.sh: строка 9: sudo: команда не найдена AmneziaVPN log dir created at /var/log/ touch: невозможно выполнить touch для '/var/log/AmneziaVPN/post-install.log': Нет такого файла или каталога AmneziaVPN log file created at /var/log/AmneziaVPN/post-install.log ./post_install.sh: строка 18: /var/log/AmneziaVPN/post-install.log: Нет такого файла или каталога ./post_install.sh: строка 19: /var/log/AmneziaVPN/post-install.log: Нет такого файла или каталога ./post_install.sh: строка 20: /var/log/AmneziaVPN/post-install.log: Нет такого файла или каталога ./post_install.sh: строка 22: sudo: команда не найдена ./post_install.sh: строка 28: sudo: команда не найдена ``` **Expected behavior** App shows error during installation and uses doas as alternative. **Desktop (please complete the following information):** - OS: Any Linux-based distro - Version any
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#353
No description provided.