Bug#293042: vdr hangs with message cap_set_proc: Operation not
permitted
Juhani Simola
pkg-vdr-dvb-devel@lists.alioth.debian.org
Mon, 31 Jan 2005 23:09:09 +0200
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