Sudo.pm test failure

Sudo.pm test failure

am 04.04.2008 20:37:10 von max_headroom27606

I am having random failures of Sudo.pm on my Linux Debian install. It
will fail about 70% of the time. I am using Sudo-0.32. I have Perl
compiled to use threads as you can see below:

First of all, here is the output of my perl -V command:

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.4.27-3-386, archname=i686-linux-thread-
multi
uname='linux angstrom2 2.4.27-3-386 #1 wed dec 6 00:38:33 utc 2006
i686 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -
fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-
strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.5 (Debian 1:3.3.5-13)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.6.so, so=so, useshrplib=false,
libperl=libperl.a
gnulibc_version='2.3.6'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP THREADS_HAVE_PIDS
USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Apr 3 2008 16:03:40
@INC:
/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl


Here is the output of my "make test" for Sudo:

: starting sudo
IPC::Run 0006 [#1(2605)]: ****** harnessing *****
IPC::Run 0006 [#1(2605)]: parsing [ '/usr/bin/sudo', '-S', '-u',
'williaj', '/usr/bin/id' ]
IPC::Run 0006 [#1(2605)]: parsing SCALAR
IPC::Run 0006 [#1(2605)]: parsing SCALAR
IPC::Run 0006 [#1(2605)]: parsing SCALAR
IPC::Run 0006 [#1(2605)]: parsing IPC::Run::Timer
IPC::Run 0006 [#1(2605)]: ** starting
IPC::Run 0006 [#1(2605)]: timer #1 state set to 1
IPC::Run 0006 [#1(2605)]: timer #1 start_time set to 1207334074
IPC::Run 0006 [#1(2605)]: timer #1 started at 1207334074, with
interval 10, end_time 1207334085
IPC::Run 0006 [#1(2606) sudo]: execing /usr/bin/sudo -S -u tusername /
usr/bin/id
IPC::Run 0006 [#1(2605)]: ** finishing
t/Sudo....dubious
Test returned status 0 (wstat 13, 0xd)
FAILED--1 test script could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255


The test finds sudo and the id binaries with no problem. I can also
run Sudo find from the command prompt.

Any ideas anyone?


Thanks in advance