Bug#302826: marked as done (/usr/lib/vdr/config-loader.sh: No such file or directory)

Debian Bug Tracking System pkg-vdr-dvb-devel@lists.alioth.debian.org
Sat, 09 Apr 2005 10:18:41 -0700

Your message dated Sat, 09 Apr 2005 13:06:51 -0400
with message-id <E1DKJQ3-0003qM-00@newraff.debian.org>
and subject line Bug#302826: fixed in vdr 1.2.6-10
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 3 Apr 2005 08:21:51 +0000
>From rousseau@debian.org Sun Apr 03 00:21:51 2005
Return-path: <rousseau@debian.org>
Received: from gluck.debian.org [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DI0Mh-0005Qo-00; Sun, 03 Apr 2005 00:21:51 -0800
Received: from rousseau.net1.nerim.net (vectra.maison.bogus) [] 
	by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DI0Mg-0007Ry-00; Sun, 03 Apr 2005 01:21:51 -0700
Received: from acer.maison.bogus ([])
	by vectra.maison.bogus with esmtp (Exim 3.35 #1 (Debian))
	id 1DI0J3-0000I4-00
	for <submit@bugs.debian.org>; Sun, 03 Apr 2005 10:18:05 +0200
Received: from rousseau by acer.maison.bogus with local (Exim 4.50)
	id 1DI0J4-0001fB-1V
	for submit@bugs.debian.org; Sun, 03 Apr 2005 10:18:06 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ludovic Rousseau <rousseau@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/lib/vdr/config-loader.sh: No such file or directory
X-Mailer: reportbug 3.8
Date: Sun, 03 Apr 2005 10:18:05 +0200
Message-Id: <E1DI0J4-0001fB-1V@acer.maison.bogus>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: vdr
Version: 1.2.6-6
Severity: normal
Tags: patch

If vdr is removed but not purged the script /etc/init.d/vdr is still
present and generate the error:
  /etc/init.d/vdr: line 6: /usr/lib/vdr/config-loader.sh: No such file
  or directory

I propose the following patch:

--- /etc/init.d/vdr	2005-01-25 15:23:18.000000000 +0100
+++ vdr	2005-04-03 10:14:00.000000000 +0200
@@ -3,6 +3,8 @@
 # vdr start-stop script
+test -x /usr/sbin/runvdr || exit 0
 . /usr/lib/vdr/config-loader.sh
@@ -14,8 +16,6 @@
 test "$ENABLED" != "0" || exit 0
-test -x /usr/sbin/runvdr || exit 0
     if ! ps ax | grep "/usr/bin/vdr " | grep -v grep > /dev/null 

The idea is to check the presence of /usr/sbin/runvdr at the beginning
of the script and _before_ trying to read /usr/lib/vdr/config-loader.sh.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages vdr depends on:
ii  adduser                       3.63       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.41     Debian configuration management sy
ii  makedev                       2.3.1-77   creates device files in /dev
pn  vdr-kbd | vdr-lirc | vdr-rcu             Not found.

Received: (at 302826-close) by bugs.debian.org; 9 Apr 2005 17:13:53 +0000
>From katie@ftp-master.debian.org Sat Apr 09 10:13:53 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DKJWr-0004bm-00; Sat, 09 Apr 2005 10:13:53 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DKJQ3-0003qM-00; Sat, 09 Apr 2005 13:06:51 -0400
From: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
To: 302826-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#302826: fixed in vdr 1.2.6-10
Message-Id: <E1DKJQ3-0003qM-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 09 Apr 2005 13:06:51 -0400
Delivered-To: 302826-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 5

Source: vdr
Source-Version: 1.2.6-10

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

  to pool/main/v/vdr/vdr-dev_1.2.6-10_all.deb
  to pool/main/v/vdr/vdr-plugin-examples_1.2.6-10_i386.deb
  to pool/main/v/vdr/vdr-plugin-sky_1.2.6-10_i386.deb
  to pool/main/v/vdr/vdr_1.2.6-10.diff.gz
  to pool/main/v/vdr/vdr_1.2.6-10.dsc
  to pool/main/v/vdr/vdr_1.2.6-10_i386.deb

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

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

Debian distribution maintenance software
Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> (supplier of updated vdr 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)

Hash: SHA1

Format: 1.7
Date: Sat, 09 Apr 2005 18:32:59 +0200
Source: vdr
Binary: vdr-plugin-sky vdr vdr-plugin-examples vdr-dev
Architecture: source i386 all
Version: 1.2.6-10
Distribution: unstable
Urgency: low
Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
Changed-By: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
 vdr        - Video Disk Recorder for DVB cards
 vdr-dev    - Video Disk Recorder for DVB cards
 vdr-plugin-examples - Plugins for vdr to show some possible features
 vdr-plugin-sky - Plugin for using a Sky Digibox with vdr
Closes: 297640 300042 300074 300702 302826
 vdr (1.2.6-10) unstable; urgency=low
   * Thomas Schmidt <tschmidt@debian.org>
     - Added patch for the EPG handling under amd64 (closes: #300702)
     - Check for existance of /usr/sbin/runvdr before sourcing the
       config-loader.sh script (closes: #302826)
     - Fixed small typos in the package descriptions of vdr and
       vdr-dev (closes: #300042, #300074)
     - Add user vdr to group cdrom in postinst, so that vdr is able to
       play dvd's with the dvd-plugin again
 vdr (1.2.6-9) experimental; urgency=low
   * Thomas Schmidt <tschmidt@debian.org>
     - Change owner of /proc/{av7110_ir,budget_ci_ir} to the uid and
       gid under which vdr will run in /usr/sbin/runvdr
       (closes: #297640)
     - Added 13_remote.dpatch from Darren Salt, this allows to have
       just 1 binary for all 4 possible control methods, and it should
       reduce build-time by about 75%
     - Removed packages vdr-daemon, vdr-kbd, vdr-lirc, vdr-rcu because
       they are not necessary anymore
     - Added "Conflicts and Replaces: vdr-daemon, vdr-kbd, vdr-lirc,
       vdr-rcu" to debian/control
     - Removed Andreas Müller from uploaders - he does not intend
       to do uploads anymore
 1c9455bcf01dcac396825f1fc51e3bac 781 misc extra vdr_1.2.6-10.dsc
 ee8b7e49933f70dc263d59ad112a15fa 93266 misc extra vdr_1.2.6-10.diff.gz
 0e0fda34dda1e5e13cb316d4dfc272d1 87946 misc extra vdr-dev_1.2.6-10_all.deb
 acbfc500c98dd1e34a4d4910ffa330ac 435668 misc extra vdr_1.2.6-10_i386.deb
 053a2670b311d0d0538f6fbd04122ba0 18654 misc extra vdr-plugin-sky_1.2.6-10_i386.deb
 019bee14297d5fa79b5be24fb14ca1c9 12218 misc extra vdr-plugin-examples_1.2.6-10_i386.deb

Version: GnuPG v1.4.0 (GNU/Linux)