Bug 55145

Summary: Не создаётся пользователь motion при установке пакета
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: motionAssignee: Evgeny Sinelnikov <sin>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: sin
Version: unstable   
Hardware: x86_64   
OS: Linux   

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»: такого пользователя нет