Package: motion
Version: 3.2.12-3.2
Severity: serious
Justification: 4

Dear Maintainer,

   * What led up to the situation?

upgrade from squeeze to wheezy

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

no longer connects to mysql
  reports unknown config option mysql_*

Jan  2 19:42:42 hagrid motion: [0] Unknown config option "mysql_host"
Jan  2 19:42:42 hagrid motion: [0] Unknown config option "mysql_db"
Jan  2 19:42:42 hagrid motion: [0] Unknown config option "mysql_user"
Jan  2 19:42:42 hagrid motion: [0] Unknown config option "mysql_password"

  ldd doesn't include mysql libs

ldd /usr/bin/motion | grep -i sql

All indicates it's not built with mysql support.


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages motion depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.48
ii  libavcodec53           6:0.8.4-1
ii  libavformat53          6:0.8.4-1
ii  libavutil51            6:0.8.4-1
ii  libc6                  2.13-37
ii  libjpeg8               8d-1
ii  libpq5                 9.1.7-1

Versions of packages motion recommends:
ii  ffmpeg  6:0.8.4-1

Versions of packages motion suggests:
ii  mysql-client                     5.5.28+dfsg-1
ii  mysql-client-5.5 [mysql-client]  5.5.28+dfsg-1
pn  postgresql-client                <none>

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

/etc/init.d/motion changed:
NAME=motion
PATH_BIN=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/bin/motion
PIDFILE=/var/run/$NAME.pid
DEFAULTS=/etc/default/$NAME
DESC="motion detection daemon"
ENV="env -i LANG=C PATH=$PATH_BIN"
. /lib/lsb/init-functions
test -x $DAEMON || exit 0
RET=0
[ -r "$DEFAULTS" ] && . "$DEFAULTS" || start_motion_daemon=yes
check_daemon_enabled () {
    if [ "$start_motion_daemon" = "yes" ] ; then
        return 0
    else
        log_warning_msg "Not starting $NAME daemon, disabled via 
/etc/default/$NAME"
        return 1
    fi
}
case "$1" in
  start)
    if check_daemon_enabled ; then
        log_daemon_msg "Starting $DESC" "$NAME" 
if start-stop-daemon --start --oknodo --exec $DAEMON -b --chuid motion ; then
            log_end_msg 0
        else
            log_end_msg 1
            RET=1
        fi
    fi
    ;;
  stop)
    log_daemon_msg "Stopping $DESC" "$NAME"
    if start-stop-daemon --stop --oknodo --exec $DAEMON --retry 30 ; then
        log_end_msg 0
    else
        log_end_msg 1
        RET=1
    fi
    ;;
  reload|force-reload)
    log_daemon_msg "Reloading $NAME configuration"
    if start-stop-daemon --stop --signal HUP --exec $DAEMON ; then
        log_end_msg 0
    else
        log_end_msg 1
        RET=1
    fi
    ;;
  restart-motion)
    if check_daemon_enabled ; then
        log_action_begin_msg "Restarting $NAME"
        if $0 stop && $0 start ; then
            log_action_end_msg 0
        else
            log_action_cont_msg "(failed)"
            RET=1
        fi
    fi
    ;;
  restart)
    $0 restart-motion
    ;;
  *)
    echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload}"
    RET=1
    ;;
esac
exit $RET

/etc/motion/motion.conf changed:
daemon on
quiet on
text_right %d-%b-%y\n%H:%M:%S
target_dir /var/motion
output_normal off
low_cpu 2
post_capture 10
control_html_output on
control_port 8084
control_localhost on  # only localhost can access
snapshot_filename %u.%a.%b%d/cam%t/s%Y%m%d%H%M%S-%v
jpeg_filename %u.%a.%b%d/cam%t/p%H%M%S-%q-%v
on_movie_end /etc/motion/offsiteit %f
sql_log_mpeg on
sql_query insert into security(camera, filename, frame, file_type, time_stamp, 
event_time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T', '%C')
mysql_host localhost
mysql_db motion 
mysql_user web
mysql_password web
webcam_quality 80
webcam_maxrate 10
webcam_motion on
thread /etc/motion/cam-elm.conf
thread /etc/motion/cam-ash.conf
thread /etc/motion/cam-oak.conf
thread /etc/motion/cam-larch.conf

/etc/motion/thread1.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread1.conf'
/etc/motion/thread2.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread2.conf'
/etc/motion/thread3.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread3.conf'
/etc/motion/thread4.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread4.conf'

-- debconf information:
  motion/moved_conf_dir:


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to