Package: motion
Version: 4.7.0-3
Severity: critical
Justification: causes serious data loss

Dear Maintainer,

        Sometimes, motion stops recording. When I inspect the process,
        it has open files pointing to old recordings (by looking at
        /proc/<PID>/fd/).
        When running strace, there are plenty of EMFILES errors.

        Restarting the process makes it work again. But by the time, the
        issue is noticed, lots of recordings have been lost, which is a
        serious data loss.

        I cannot tell what leads to this situation. My only guess would
        be that I have a cronjob that removes old files (more than 30
        days old). 

        I would like to close saying that I appreciate the work done in
        maintaining the package.

        Thanks.
        Cascardo.

-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.57+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages motion depends on:
ii  adduser                3.152
ii  debconf [debconf-2.0]  1.5.91
ii  libavcodec61           7:7.1.3-0+deb13u1
ii  libavdevice61          7:7.1.3-0+deb13u1
ii  libavformat61          7:7.1.3-0+deb13u1
ii  libavutil59            7:7.1.3-0+deb13u1
ii  libc6                  2.41-12+deb13u1
ii  libjpeg62-turbo        1:2.1.5-4
ii  libmariadb3            1:11.8.3-0+deb13u1
ii  libmicrohttpd12t64     1.0.1-4
ii  libpq5                 17.7-0+deb13u1
ii  libsqlite3-0           3.46.1-7
ii  libswscale8            7:7.1.3-0+deb13u1

Versions of packages motion recommends:
ii  ffmpeg  7:7.1.3-0+deb13u1

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

-- Configuration Files:
/etc/motion/camera1-dist.conf [file not found]
/etc/motion/camera2-dist.conf [file not found]
/etc/motion/camera3-dist.conf [file not found]
/etc/motion/camera4-dist.conf [file not found]
/etc/motion/motion.conf changed [not included]

-- debconf information excluded

Reply via email to