Package: motion
Version: 4.3.2-1
Severity: important

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.

-- systemd status:
$ sudo service motion status
● motion.service - Motion detection video capture daemon
     Loaded: loaded (/lib/systemd/system/motion.service; enabled; vendor 
preset: enabled)
     Active: deactivating (stop-sigterm) since Thu 2021-10-14 13:31:41 CEST; 
462ms ago
       Docs: man:motion(1)
    Process: 13537 ExecStart=/usr/bin/motion (code=exited, status=0/SUCCESS)
   Main PID: 13537 (code=exited, status=0/SUCCESS)
      Tasks: 8 (limit: 2059)
        CPU: 1.151s
     CGroup: /system.slice/motion.service
             ├─13543 /usr/bin/motion
             ├─13546 sh -c /var/lib/motion/bin/motion_status.sh 0  &
             ├─13547 /bin/bash /var/lib/motion/bin/motion_status.sh 0
             ├─13549 /usr/bin/ssh -n -T mot...@athlon1.internal.flying-snail.de
             ├─13550 sh -c /var/lib/motion/bin/motion_status.sh 0  &
             ├─13551 /bin/bash /var/lib/motion/bin/motion_status.sh 0
             └─13553 /usr/bin/ssh -n -T mot...@athlon1.internal.flying-snail.de

Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [ERR] [VID] vid_start: 
V4L2-Gerät konnte nicht geöffnet werden
Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [WRN] [ALL] motion_init: Das 
ursprüngliche Bild konnte nicht von der Kamera abgerufen werden
Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [WRN] [ALL] motion_init: Die 
Bewegung verwendet weiterhin die Breite und Höhe der Konfigurationsdatei (en).
Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [CRT] [NET] motion_init: 
Substream nicht verfügbar. Bildgrößen nicht modulo 16.
Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [NTC] [ALL] image_ring_resize: 
Ändern der Größe des Pre-Capture-Puffers auf 1 Elemente
Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [NTC] [ALL] image_ring_resize: 
Ändern der Größe des Pre-Capture-Puffers auf 10 Elemente
Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [NTC] [ALL] mlp_actions: Ende 
des Ereignisses 1
Okt 14 13:31:41 somehost motion[13548]: Motion event: 0
Okt 14 13:31:41 somehost motion[13543]: [2:ml2] [NTC] [ALL] motion_loop: Thread 
wird beendet
Okt 14 13:31:41 somehost motion[13552]: Motion event: 0

-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
Architecture: armv7l

Kernel: Linux 5.10.60-v7+ (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages motion depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.77
ii  libavcodec58           7:4.3.2-0+rpt3+deb11u2
ii  libavdevice58          7:4.3.2-0+rpt3+deb11u2
ii  libavformat58          7:4.3.2-0+rpt3+deb11u2
ii  libavutil56            7:4.3.2-0+rpt3+deb11u2
ii  libc6                  2.31-13+rpt2+rpi1
ii  libjpeg62-turbo        1:2.0.6-4
ii  libmariadb3            1:10.5.12-0+deb11u1
ii  libmicrohttpd12        0.9.72-2
ii  libpq5                 13.4-0+deb11u1
ii  libsqlite3-0           3.34.1-3
ii  libswscale5            7:4.3.2-0+rpt3+deb11u2
ii  lsb-base               11.1.0+rpi1

Versions of packages motion recommends:
pn  ffmpeg  <none>

Versions of packages motion suggests:
pn  default-mysql-client  <none>
pn  postgresql-client     <none>

-- Configuration Files:
/etc/motion/motion.conf [Errno 13] Keine Berechtigung: '/etc/motion/motion.conf'

-- debconf information:
  motion/moved_conf_dir:

Reply via email to