Bug#457116: motion init script seems to start even if I use the default motion.conf

2008-01-03 Thread Juan Angulo Moreno
Hi,

You are right. For the next version fix this. Thank you for your suggestion.


Andrew M. Bishop wrote:
 The severity of this bug should be important or higher and it should
 be re-opened.  The answer given to the previous bug report is
 unacceptable.
 
 
 I also see this problem, but it is worse because I have V4L devices
 installed but I don't want to use them with motion.  The default
 configuration file /etc/motion/motion.conf contains the lines:
 
 # Start in daemon (background) mode and release terminal (default: off)
 daemon off
 
 
 When upgrading motion it found my TV capture cards and started motion
 using them.  This stopped the 'apt-get upgrade' process from
 completing.  I had to Control-C, edit the /etc/init.d/motion file and
 then re-run 'apt-get upgrade' to finish configuring the package.
 
 This means that booting the machine will start motion running but it
 won't background itself (I think this means that the boot will hang at
 this point).
 
 The default should not be to start motion at boot time unless the
 file /etc/default/motion specifies that it should be started (see
 other packages that do this, e.g. spamassassin or rsync).  It should
 also not be started if the default configuration file does not contain
 the line 'daemon on' since this will hang the startup.
 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#457116: motion init script seems to start even if I use the default motion.conf

2008-01-03 Thread Andrew M. Bishop
The severity of this bug should be important or higher and it should
be re-opened.  The answer given to the previous bug report is
unacceptable.


I also see this problem, but it is worse because I have V4L devices
installed but I don't want to use them with motion.  The default
configuration file /etc/motion/motion.conf contains the lines:

# Start in daemon (background) mode and release terminal (default: off)
daemon off


When upgrading motion it found my TV capture cards and started motion
using them.  This stopped the 'apt-get upgrade' process from
completing.  I had to Control-C, edit the /etc/init.d/motion file and
then re-run 'apt-get upgrade' to finish configuring the package.

This means that booting the machine will start motion running but it
won't background itself (I think this means that the boot will hang at
this point).

The default should not be to start motion at boot time unless the
file /etc/default/motion specifies that it should be started (see
other packages that do this, e.g. spamassassin or rsync).  It should
also not be started if the default configuration file does not contain
the line 'daemon on' since this will hang the startup.

-- 
Andrew.
--
Andrew M. Bishop [EMAIL PROTECTED]
  http://www.gedanken.demon.co.uk/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#457116: motion init script seems to start even if I use the default motion.conf

2007-12-19 Thread giggz
Package: motion
Version: 3.2.9-1
Severity: normal

Hi,

Since the last upgrade, I get this message at boot during the init time :
Starting motion detection : motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.9 Started
[0] ffmpeg LIBAVCODEC_BUILD 3352064 LIBAVFORMAT_BUILD 3344896
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] Failed to open video device /dev/video0: No such file or directory
[1] Capture error calling vid_start
[1] Thread finishing...
[0] motion-httpd/3.2.9 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080

My problem is that I don't want to start any motion daemon, because I
use motion to do video with my webcam, but not all the time. So I keep
the initial motion.conf with:
# Start in daemon (background) mode and release terminal (default: off)
daemon off

SO I think there is a bug somewhere, isn't it ?

Regards,
Guillaume

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.12-1 (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages motion depends on:
ii  adduser  3.105   add and remove users and groups
ii  debconf [debconf-2.0]1.5.17  Debian configuration management sy
ii  libavcodec1d 0.cvs20070307-6 ffmpeg codec library
ii  libavformat1d0.cvs20070307-6 ffmpeg file format library
ii  libavutil1d  0.cvs20070307-6 ffmpeg utility library
ii  libc62.7-4   GNU C Library: Shared libraries
ii  libjpeg626b-14   The Independent JPEG Group's JPEG 
ii  libmysqlclient15off  5.0.51-1MySQL database client library
ii  libpq5   8.2.5-4 PostgreSQL C client library

Versions of packages motion recommends:
ii  ffmpeg   0.cvs20070307-6 multimedia player, server and enco

-- debconf information:
  motion/moved_conf_dir:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]