Bug#293042: marked as done (vdr hangs with message cap_set_proc: Operation not permitted)

Debian Bug Tracking System pkg-vdr-dvb-devel@lists.alioth.debian.org
Wed, 09 Feb 2005 06:03:23 -0800


Your message dated Wed, 09 Feb 2005 08:47:26 -0500
with message-id <E1CysBi-00014V-00@newraff.debian.org>
and subject line Bug#293042: fixed in vdr 1.2.6-7
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; 31 Jan 2005 21:09:14 +0000
>From osimola@ojs.ath.cx Mon Jan 31 13:09:14 2005
Return-path: <osimola@ojs.ath.cx>
Received: from smtp1.pp.htv.fi [213.243.153.34] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CvinJ-0001s0-00; Mon, 31 Jan 2005 13:09:13 -0800
Received: from eris.pp.htv.fi (cs78134183.pp.htv.fi [62.78.134.183])
	by smtp1.pp.htv.fi (Postfix) with ESMTP
	id 1BBD77FDA6; Mon, 31 Jan 2005 23:09:11 +0200 (EET)
Received: from osimola by eris.pp.htv.fi with local (Exim 3.36 #1 (Debian))
	id 1CvinG-0000wU-00; Mon, 31 Jan 2005 23:09:10 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Juhani Simola <ojs@iki.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vdr hangs with message cap_set_proc: Operation not permitted
X-Mailer: reportbug 3.7.1
Date: Mon, 31 Jan 2005 23:09:09 +0200
Message-Id: <E1CvinG-0000wU-00@eris.pp.htv.fi>
Sender: Juhani Simola <osimola@ojs.ath.cx>
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: important

When starting vdr, it prints the following error message: 
"cap_set_proc: Operation not permitted" and hangs. 

Associated part from strace log:

time(NULL)                              = 1107203769
getuid32()                              = 1000
getgid32()                              = 1000
geteuid32()                             = 1000
getegid32()                             = 1000
capset(0x19980330, 0, {CAP_SYS_TIME, CAP_SYS_TIME, }) = -1 EPERM (Operation not permitted)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
close(3)                                = 0
write(2, "cap_set_proc: Operation not perm"..., 38) = 38
stat64("/var/lib/video.00", {st_mode=S_IFDIR|0775, st_size=48, ...}) = 0
access("/var/lib/video.00", R_OK|W_OK|X_OK) = 0

Strace log of the forever loop vdr enters:

getpid()                                = 3454
getpid()                                = 3454
gettimeofday({1107203785, 681073}, NULL) = 0
clock_gettime(CLOCK_REALTIME, {1107203785, 681156000}) = 0
futex(0x80fcef0, FUTEX_WAIT, 118, {0, 99917000}) = -1 ETIMEDOUT (Connection timed out)
getpid()                                = 3454
futex(0x80fcec0, FUTEX_WAKE, 1)         = 0
getpid()                                = 3454
getpid()                                = 3454
getpid()                                = 3454
gettimeofday({1107203785, 782060}, NULL) = 0
clock_gettime(CLOCK_REALTIME, {1107203785, 782142000}) = 0
futex(0x80fcef0, FUTEX_WAIT, 119, {0, 99918000}) = -1 ETIMEDOUT (Connection timed out)
getpid()                                = 3454
futex(0x80fcec0, FUTEX_WAKE, 1)         = 0
getpid()                                = 3454


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10n
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

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

-- debconf information:
* vdr/select_dvb_card: Cable
* vdr/showinfo:
* vdr/create_video_dir: true

---------------------------------------
Received: (at 293042-close) by bugs.debian.org; 9 Feb 2005 13:54:39 +0000
>From katie@ftp-master.debian.org Wed Feb 09 05:54:39 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 1CysIh-00064N-00; Wed, 09 Feb 2005 05:54:39 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CysBi-00014V-00; Wed, 09 Feb 2005 08:47:26 -0500
From: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
To: 293042-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#293042: fixed in vdr 1.2.6-7
Message-Id: <E1CysBi-00014V-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 09 Feb 2005 08:47:26 -0500
Delivered-To: 293042-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: 

Source: vdr
Source-Version: 1.2.6-7

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-daemon_1.2.6-7_i386.deb
  to pool/main/v/vdr/vdr-daemon_1.2.6-7_i386.deb
vdr-dev_1.2.6-7_all.deb
  to pool/main/v/vdr/vdr-dev_1.2.6-7_all.deb
vdr-kbd_1.2.6-7_i386.deb
  to pool/main/v/vdr/vdr-kbd_1.2.6-7_i386.deb
vdr-lirc_1.2.6-7_i386.deb
  to pool/main/v/vdr/vdr-lirc_1.2.6-7_i386.deb
vdr-plugin-examples_1.2.6-7_i386.deb
  to pool/main/v/vdr/vdr-plugin-examples_1.2.6-7_i386.deb
vdr-plugin-sky_1.2.6-7_i386.deb
  to pool/main/v/vdr/vdr-plugin-sky_1.2.6-7_i386.deb
vdr-rcu_1.2.6-7_i386.deb
  to pool/main/v/vdr/vdr-rcu_1.2.6-7_i386.deb
vdr_1.2.6-7.diff.gz
  to pool/main/v/vdr/vdr_1.2.6-7.diff.gz
vdr_1.2.6-7.dsc
  to pool/main/v/vdr/vdr_1.2.6-7.dsc
vdr_1.2.6-7_i386.deb
  to pool/main/v/vdr/vdr_1.2.6-7_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 293042@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: Wed, 09 Feb 2005 12:41:49 +0100
Source: vdr
Binary: vdr-kbd vdr-plugin-sky vdr-lirc vdr-daemon vdr-rcu vdr vdr-dev vdr-plugin-examples
Architecture: source i386 all
Version: 1.2.6-7
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-daemon - Server version of Video Disk Recorder for DVB cards
 vdr-dev    - Video Disk Recorder for DVB cards
 vdr-kbd    - Video Disk Recorder for DVB cards with keyboard control
 vdr-lirc   - Video Disk Recorder for DVB cards with IR remote control
 vdr-plugin-examples - Plugins for vdr to show some possible features
 vdr-plugin-sky - Plugin for using a Sky Digibox with vdr
 vdr-rcu    - Video Disk Recorder for DVB cards with RCU control
Closes: 293042 294041
Changes: 
 vdr (1.2.6-7) unstable; urgency=low
 .
   * Thomas Schmidt <tschmidt@debian.org>
     - This is the first upload of vdr, i can do by myself, i want
       to thank Andreas Müller (amu) and Christoph Martin (chrism)
       for their help with sponsoring previous uploads
     - Only try to change capabilities when vdr is called by root
       (closes: #293042)
     - Added patch from Andreas Jochens to fix the FTBFS on amd64
       with gcc-4.0 (closes: #294041)
     - Changed my email-address to the new debian one
     - Make an entry in syslog when someone tries to shutdown vdr
       while the automatic shutdown is disabled
Files: 
 470d5012e3d6ba38a898c3fe61d48397 856 misc extra vdr_1.2.6-7.dsc
 2579a509d33f83d41922ccb6162eda5a 89682 misc extra vdr_1.2.6-7.diff.gz
 98ac6d7b5de4fb4c61abe27318c34e5a 86970 misc extra vdr-dev_1.2.6-7_all.deb
 fc4e87f92716c7efba05a93557dbf55d 160526 misc extra vdr_1.2.6-7_i386.deb
 235b4fa06f1d4f30b383e0fb55d601cd 273924 misc extra vdr-kbd_1.2.6-7_i386.deb
 28713acaa453c85d7261e1bdd2af5456 273960 misc extra vdr-lirc_1.2.6-7_i386.deb
 11e3fc1a03e7117c0eef3b36b590651c 273980 misc extra vdr-rcu_1.2.6-7_i386.deb
 ed911940dd562787cba4de442d505955 273970 misc extra vdr-daemon_1.2.6-7_i386.deb
 4ef3860916f42b4937bf5fcd69c780ea 18094 misc extra vdr-plugin-sky_1.2.6-7_i386.deb
 04f3d867422f6a3ad4a3b6a21ab5c878 12220 misc extra vdr-plugin-examples_1.2.6-7_i386.deb

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

iD8DBQFCChHYc9+NqwoydlIRArP8AJ9H/wM93l2DxuP1FMOrKhXtv30GrgCeMkMW
ePW5r0UZDkIv5frM1pvtJHA=
=AtDH
-----END PGP SIGNATURE-----