Debian Bug report logs - #487568
After upgrade from 3.2.9-3 to 3.2.9-4 Motion doesn't work anymore

version graph

Package: motion; Maintainer for motion is Ximin Luo <infinity0@debian.org>; Source for motion is src:motion (PTS, buildd, popcon).

Reported by: ArAge <ArAge@gmx.co.uk>

Date: Sun, 22 Jun 2008 18:42:01 UTC

Severity: grave

Found in version motion/3.2.9-4

Fixed in version motion/3.2.9-5

Done: Juan Angulo Moreno <juan@apuntale.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Juan Angulo Moreno <juan@apuntale.com>:
Bug#487568; Package motion. (full text, mbox, link).


Acknowledgement sent to ArAge <ArAge@gmx.co.uk>:
New Bug report received and forwarded. Copy sent to Juan Angulo Moreno <juan@apuntale.com>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: ArAge <ArAge@gmx.co.uk>
To: submit@bugs.debian.org
Subject: After upgrade from 3.2.9-3 to 3.2.9-4 Motion doesn't work anymore
Date: Sun, 22 Jun 2008 20:37:14 +0200
[Message part 1 (text/plain, inline)]
Package: motion
Version: 3.2.9-4
Severity: grave
Justification: renders package unusable

After upgrading Motion to the latest version with aptitude Motion didn't start.
In syslog I got the following messages:

---cut---
Jun 22 10:54:22 debian motion: [0] Not config file to process using default values
Jun 22 10:54:22 debian motion: [0] Motion 3.2.9 Started
Jun 22 10:54:22 debian motion: [0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
Jun 22 10:54:22 debian motion: [1] Thread 1 started
Jun 22 10:54:22 debian motion: [1] Failed to open video device /dev/video0: No such file or director
Jun 22 10:54:22 debian motion: [1] Capture error calling vid_start
---cut---

I noticed that the permissions of /etc/motion/motion.conf were changed (no GROUP & OTHER rights).
Simply a chmod 644 motion.conf did the trick...

Btw please change "Not config file ..." into "No config file ..." (see syslog messages above).

Regards,
ArAge


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

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=nl_NL@euro, LC_CTYPE=nl_NL@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages motion depends on:
ii  adduser                  3.108           add and remove users and groups
ii  debconf [debconf-2.0]    1.5.22          Debian configuration management sy
ii  libavcodec51             0.svn20080206-8 ffmpeg codec library
ii  libavformat52            0.svn20080206-8 ffmpeg file format library
ii  libavutil49              0.svn20080206-8 ffmpeg utility library
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  libjpeg62                6b-14           The Independent JPEG Group's JPEG
ii  libmysqlclient15off      5.0.51a-6       MySQL database client library
ii  libpq5                   8.3.1-2+b1      PostgreSQL C client library

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

-- debconf information:
  motion/moved_conf_dir:
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Juan Angulo Moreno <juan@apuntale.com>:
Bug#487568; Package motion. (full text, mbox, link).


Acknowledgement sent to Andreas Henriksson <andreas@fatal.se>:
Extra info received and forwarded to list. Copy sent to Juan Angulo Moreno <juan@apuntale.com>. (full text, mbox, link).


Message #10 received at 487568@bugs.debian.org (full text, mbox, reply):

From: Andreas Henriksson <andreas@fatal.se>
To: 487568@bugs.debian.org
Subject: Messing with config file permissions will bite you in the ass.....
Date: Mon, 07 Jul 2008 23:26:40 +0200
This bug (487568) is related to #484570, where people argued against
having world-readable configuration files. This was "fixed" in version
3.2.9-3 so the problem must have occured there already (against what the
original report says).

The debian/motion.postinst file contains chmod
0600 /etc/motion/motion.conf. As the file is owned by root:root, the
problem likely occurs when motion drops privilegies to motion:motion
(but I haven't investigated further).
One solution would possibly be to change to chmod 0640 and chgrp to
motion.

Another note about the postinst file, it creates /var/run/motion and
sets up permissions and prepares stuff in the "create_pid_dir" function.
Looks alot like someone didn't think about /var/run being on tmpfs and
even if it's not, it's still wiped every reboot AFAIK?! The startup
script of motion needs to handle this.


-- 
Regards,
Andreas Henriksson




Reply sent to Juan Angulo Moreno <juan@apuntale.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to ArAge <ArAge@gmx.co.uk>:
Bug acknowledged by developer. (full text, mbox, link).


Message #15 received at 487568-close@bugs.debian.org (full text, mbox, reply):

From: Juan Angulo Moreno <juan@apuntale.com>
To: 487568-close@bugs.debian.org
Subject: Bug#487568: fixed in motion 3.2.9-5
Date: Fri, 15 Aug 2008 16:02:05 +0000
Source: motion
Source-Version: 3.2.9-5

We believe that the bug you reported is fixed in the latest version of
motion, which is due to be installed in the Debian FTP archive:

motion_3.2.9-5.diff.gz
  to pool/main/m/motion/motion_3.2.9-5.diff.gz
motion_3.2.9-5.dsc
  to pool/main/m/motion/motion_3.2.9-5.dsc
motion_3.2.9-5_i386.deb
  to pool/main/m/motion/motion_3.2.9-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 487568@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Juan Angulo Moreno <juan@apuntale.com> (supplier of updated motion package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 27 Jul 2008 22:01:42 -0430
Source: motion
Binary: motion
Architecture: source i386
Version: 3.2.9-5
Distribution: unstable
Urgency: low
Maintainer: Juan Angulo Moreno <juan@apuntale.com>
Changed-By: Juan Angulo Moreno <juan@apuntale.com>
Description: 
 motion     - V4L capture program supporting motion detection
Closes: 487568
Changes: 
 motion (3.2.9-5) unstable; urgency=low
 .
   * Added chgrp in debian/motion.postinst (Closes: #487568).
Checksums-Sha1: 
 790060040f7411e6014c09ea89750fba65130684 1088 motion_3.2.9-5.dsc
 c9e2568812964c97961fd8128b86c4cbf958237f 33074 motion_3.2.9-5.diff.gz
 4b9bdc1f5e2ffdada600e5321e9f1f156d9a3c71 269194 motion_3.2.9-5_i386.deb
Checksums-Sha256: 
 4b14c40c7d865737c7795d1ffe2fe719cd05680fb4b92c6d8e2dab8702876216 1088 motion_3.2.9-5.dsc
 605c2c34b9640fb9676ae9508631026037ed8cb1b566ff749c62f86b96fc47c4 33074 motion_3.2.9-5.diff.gz
 24be06bc83b31d2aa352dd471c148558c08616b5bfbd8f752d88185198f61406 269194 motion_3.2.9-5_i386.deb
Files: 
 640ce2a532416afef2646cfe0017ea96 1088 graphics optional motion_3.2.9-5.dsc
 27fda06938fce72223c3f6efe5c05596 33074 graphics optional motion_3.2.9-5.diff.gz
 8ca71156797fe581292a85a0ddc8d698 269194 graphics optional motion_3.2.9-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkikwU8ACgkQsrBfRdYmq7YtdQCfbRsULWIqTjY36XCkawm2RieJ
cbgAnA00J5UiUMzHAGoErmpZsYdY5lCr
=v3UZ
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Juan Angulo Moreno <juan@apuntale.com>:
Bug#487568; Package motion. (Mon, 27 Oct 2008 08:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Purcell <msp@debian.org>:
Extra info received and forwarded to list. Copy sent to Juan Angulo Moreno <juan@apuntale.com>. (Mon, 27 Oct 2008 08:30:02 GMT) (full text, mbox, link).


Message #20 received at 487568@bugs.debian.org (full text, mbox, reply):

From: Mark Purcell <msp@debian.org>
To: debian-release@lists.debian.org
Cc: 487568@bugs.debian.org
Subject: give back request: motion_3.2.9-7_hppa
Date: Mon, 27 Oct 2008 19:27:27 +1100
d-r,

It would appear that RC #487568 is being held out of lenny by the lack of the 
hppa build which was last successful on 14 Oct, but still hasn't been 
installed.

Request a give back of motion_3.2.9-7_hppa

Thanks,
Mark




Information forwarded to debian-bugs-dist@lists.debian.org, Juan Angulo Moreno <juan@apuntale.com>:
Bug#487568; Package motion. (Mon, 27 Oct 2008 21:24:02 GMT) (full text, mbox, link).


Acknowledgement sent to Adeodato Simó <dato@net.com.org.es>:
Extra info received and forwarded to list. Copy sent to Juan Angulo Moreno <juan@apuntale.com>. (Mon, 27 Oct 2008 21:24:02 GMT) (full text, mbox, link).


Message #25 received at 487568@bugs.debian.org (full text, mbox, reply):

From: Adeodato Simó <dato@net.com.org.es>
To: Mark Purcell <msp@debian.org>
Cc: debian-release@lists.debian.org, 487568@bugs.debian.org
Subject: Re: give back request: motion_3.2.9-7_hppa
Date: Mon, 27 Oct 2008 22:22:58 +0100
* Mark Purcell [Mon, 27 Oct 2008 19:27:27 +1100]:

> d-r,

> It would appear that RC #487568 is being held out of lenny by the lack of the 
> hppa build which was last successful on 14 Oct, but still hasn't been 
> installed.

> Request a give back of motion_3.2.9-7_hppa

Done.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                          Listening to: The Wallflowers - Invisible city





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 25 Nov 2008 07:29:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 19:52:58 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.