Package: motion
Version: 4.3.2-1
Severity: important

Dear Maintainer,

I discovered a little issue for motion. 

When starting motion, it cannot be started due to the wrong permissions of 
/var/log/motion/.

This is just a problem with the ownership (the log is owned by root), as motion 
iss started by user "motion". 

I set this bugreport to "important", because it will not start by default, 
however, it is easy to fix: Just set /var/log/motion/motion.log manually to 
owner motion:motion and it works agian.

Maybe you might want to change this little issue in the next version or package.

Thanks for all the work and stay healthy.

Best regards

Hans


-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
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.118
ii  debconf [debconf-2.0]  1.5.75
ii  libavcodec58           7:4.3.2-0+deb11u1
ii  libavdevice58          7:4.3.2-0+deb11u1
ii  libavformat58          7:4.3.2-0+deb11u1
ii  libavutil56            7:4.3.2-0+deb11u1
ii  libc6                  2.31-11
ii  libjpeg62-turbo        1:2.0.6-4
ii  libmariadb3            1:10.5.9-1
ii  libmicrohttpd12        0.9.72-2
ii  libpq5                 13.2-1
ii  libsqlite3-0           3.34.1-3
ii  libswscale5            7:4.3.2-0+deb11u1
ii  lsb-base               11.1.0

Versions of packages motion recommends:
ii  ffmpeg  7:4.3.2-0+deb11u1

Versions of packages motion suggests:
pn  default-mysql-client                      <none>
ii  postgresql-client-13 [postgresql-client]  13.2-1

-- Configuration Files:
/etc/default/motion changed:
start_motion_daemon=yes

/etc/motion/motion.conf changed:
daemon off
setup_mode off
; pid_file value
log_file /var/log/motion/motion.log
log_level 6
target_dir /var/lib/motion
videodevice /dev/video0
; vid_control_params value
; netcam_url value
; mmalcam_name value
; mmalcam_control_params value
width 640
height 480
framerate 15
text_left CAMERA1
text_right %Y-%m-%d\n%T-%q
emulate_motion off
threshold 1500
; noise_level 32
despeckle_filter EedDl
minimum_motion_frames 1
event_gap 60
pre_capture 3
post_capture 0
; on_event_start value
; on_event_end value
; on_movie_end value
picture_output off
picture_filename %Y%m%d%H%M%S-%q
movie_output on
movie_max_time 60
movie_quality 45
movie_codec mkv
movie_filename %t-%v-%Y%m%d%H%M%S
webcontrol_port 8080
webcontrol_localhost on
webcontrol_parms 1
stream_port 8081
stream_localhost on
; camera /etc/motion/camera1.conf
; camera /usr/etc/motion/camera2.conf
; camera /usr/etc/motion/camera3.conf
; camera /usr/etc/motion/camera4.conf
; camera_dir /usr/etc/motion/conf.d


-- debconf-show failed

Reply via email to