Bug 55145 - Не создаётся пользователь motion при установке пакета
Summary: Не создаётся пользователь motion при установке пакета
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: motion (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-10 16:16 MSK by Alexander Makeenkov
Modified: 2025-07-10 16:16 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2025-07-10 16:16:45 MSK
Версия пакета: motion-4.5.1-alt1.x86_64

При попытке запустить сервис motion возникает ошибка:

systemd[1]: Started motion.service - Motion - monitor live video, trigger responses, record video/stills..
(sh)[2799]: motion.service: Failed to determine user credentials: No such process
(sh)[2799]: motion.service: Failed at step USER spawning /bin/sh: No such process
systemd[1]: motion.service: Main process exited, code=exited, status=217/USER
systemd[1]: motion.service: Failed with result 'exit-code'.

Потому что сервис запускается от пользователя:

# systemctl cat motion | grep User
User=motion

Но при установке пакета этот пользователь не создаётся:

# id motion
id: «motion»: такого пользователя нет