Bug#297640: marked as done (/proc/av7110_ir: Permission denied)

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


Your message dated Sat, 09 Apr 2005 13:06:51 -0400
with message-id <E1DKJQ3-0003qE-00@newraff.debian.org>
and subject line Bug#297640: 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; 2 Mar 2005 00:09:37 +0000
>From g.u.g.i@gmx.de Tue Mar 01 16:09:37 2005
Return-path: <g.u.g.i@gmx.de>
Received: from mail.gmx.net [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1D6HQm-0003sK-00; Tue, 01 Mar 2005 16:09:36 -0800
Received: (qmail invoked by alias); 02 Mar 2005 00:09:05 -0000
Received: from p54A1BA97.dip.t-dialin.net (EHLO elessar.home) (84.161.186.151)
  by mail.gmx.net (mp006) with SMTP; 02 Mar 2005 01:09:05 +0100
X-Authenticated: #5670138
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jan Gukelberger <g.u.g.i@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /proc/av7110_ir: Permission denied
X-Mailer: reportbug 3.8
Date: Wed, 02 Mar 2005 01:09:09 +0100
X-Y-GMX-Trusted: 0
Message-Id: <E1D6HQm-0003sK-00@spohr.debian.org>
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
X-Spam-Level: 

Package: vdr
Version: 1.2.6-6
Severity: normal

With the standard configuration of vdr 1.2.6 I can't use the remote
control of my Technotrend/Hauppauge DVB card because /proc/av7110_ir
belongs to root and is chmod 644:

----------8<-----------8<-----------8<-----------8<----------8<-----------
Feb 26 21:01:09 elessar vdr[9657]: remote-event2: unable to open
'/proc/av7110_ir': Permission denied
Feb 26 21:01:09 elessar vdr[9657]: ERROR: /proc/av7110_ir: Permission
denied
Feb 26 21:01:11 elessar vdr[9657]: ERROR: /proc/av7110_ir: Permission
denied
----------8<-----------8<-----------8<-----------8<----------8<-----------

As /proc permissions are reset on system restart I've added this line to
startvdr() in /etc/init.d/vdr:
----------8<-----------8<-----------8<-----------8<----------8<-----------
        mergecommands "reccmds"
+       /bin/chown $USER.$GROUP /proc/av7110_ir
        start-stop-daemon --start --quiet \
----------8<-----------8<-----------8<-----------8<----------8<-----------

I'm not sure if the file really has to be opened for writing? Opening it
RDONLY would be possible without system modifications.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8rtai
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages vdr depends on:
ii  adduser                       3.59       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.30.11  Debian configuration management sy
ii  makedev                       2.3.1-75   Creates device files in /dev
ii  vdr-daemon                    1.2.6-6    Server version of Video Disk Recor
ii  vdr-kbd                       1.2.6-6    Video Disk Recorder for DVB cards 
ii  vdr-lirc                      1.2.6-6    Video Disk Recorder for DVB cards 
ii  vdr-rcu                       1.2.6-6    Video Disk Recorder for DVB cards 

-- debconf information excluded

---------------------------------------
Received: (at 297640-close) by bugs.debian.org; 9 Apr 2005 17:13:50 +0000
>From katie@ftp-master.debian.org Sat Apr 09 10:13:50 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DKJWo-0004b8-00; Sat, 09 Apr 2005 10:13:50 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DKJQ3-0003qE-00; Sat, 09 Apr 2005 13:06:51 -0400
From: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
To: 297640-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#297640: fixed in vdr 1.2.6-10
Message-Id: <E1DKJQ3-0003qE-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 09 Apr 2005 13:06:51 -0400
Delivered-To: 297640-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-Spam-Level: 
X-CrossAssassin-Score: 2

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:

vdr-dev_1.2.6-10_all.deb
  to pool/main/v/vdr/vdr-dev_1.2.6-10_all.deb
vdr-plugin-examples_1.2.6-10_i386.deb
  to pool/main/v/vdr/vdr-plugin-examples_1.2.6-10_i386.deb
vdr-plugin-sky_1.2.6-10_i386.deb
  to pool/main/v/vdr/vdr-plugin-sky_1.2.6-10_i386.deb
vdr_1.2.6-10.diff.gz
  to pool/main/v/vdr/vdr_1.2.6-10.diff.gz
vdr_1.2.6-10.dsc
  to pool/main/v/vdr/vdr_1.2.6-10.dsc
vdr_1.2.6-10_i386.deb
  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
attached.

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

Debian distribution maintenance software
pp.
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)


-----BEGIN PGP SIGNED MESSAGE-----
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>
Description: 
 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
Changes: 
 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
Files: 
 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

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

iD8DBQFCWAUKc9+NqwoydlIRAgY4AJ932EHaYgtJnhFrWR0xkKfdbXKHwQCglIa8
acYUbRL5kizwoThK/gWbN5w=
=rEXj
-----END PGP SIGNATURE-----