Bug 47436 - Ошибка запуска redis-sentinel.service
Summary: Ошибка запуска redis-sentinel.service
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: redis (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-01 15:25 MSK by Alexander Makeenkov
Modified: 2023-09-01 19:44 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2023-09-01 15:25:48 MSK
Версия пакета:
redis-7.2.0-alt1.x86_64

Шаги воспроизведения:
# apt-get install redis
# systemctl start redis-sentinel.service

Получаемый результат:
Job for redis-sentinel.service failed because the control process exited with error code.
See "systemctl status redis-sentinel.service" and "journalctl -xeu redis-sentinel.service" for details.

В логах:
systemd[1]: Starting redis-sentinel.service - Redis Sentinel...
(sentinel)[11051]: redis-sentinel.service: Failed to execute /usr/sbin/redis-sentinel: Permission denied
(sentinel)[11051]: redis-sentinel.service: Failed at step EXEC spawning /usr/sbin/redis-sentinel: Permission denied
systemd[1]: redis-sentinel.service: Main process exited, code=exited, status=203/EXEC

Причина:
# systemctl cat redis-sentinel.service | grep NoExecPaths
NoExecPaths=/

Если убрать NoExecPaths=/ то сервис запускается успешно.
Comment 1 Repository Robot 2023-09-01 19:44:18 MSK
redis-7.2.0-alt2 -> sisyphus:

 Fri Sep 01 2023 Alexey Shabalin <shaba@altlinux> 7.2.0-alt2
 - Fixed start redis-sentinel.service (ALT#47436)