#996470 motion terminates directly after startup when run as service from systemd

Package:
motion
Source:
motion
Description:
V4L capture program supporting motion detection
Submitter:
Date:
2021-10-14 11:51:02 UTC
Severity:
important
#996470#5
Date:
2021-10-14 11:49:26 UTC
From:
To:
Dear Maintainer,

after migration of motion settings to a fresh setup of Raspbian 11, the motion process terminates
directly after startup without any error message. Without any changes to config files, running
the command
 motion -b -p /var/run/motion/motion.pid
is running exactly as expected.

Note: error/warning messages about one of the camera appear in both variants, because a hot-pluggable
camera was unplugged at that time. Motion copes with this situation if started manually.
The reason of "motion_loop: Thread wird beendet" as well as of "Active: deactivating (stop-sigterm)"
remains mysterious to me.