Jose,

What kind of information do you need ?

In the mean time I resolved the problem by adding a root sticky-bit on the 
executable. (Perhaps it's something the program can't read when run as a 
non-root user.)


Sven



-----Original Message-----
From: Jose Carlos Garcia Sogo [mailto:[EMAIL PROTECTED]
Sent: 31 January 2005 22:58
To: [EMAIL PROTECTED]
Subject: Bug#292938: speedy-cgi-perl: Running /usr/bin/speedy as non root 
result in Segmentation fault

El lun, 31-01-2005 a las 11:50 +0100, Sven Van Den Steene escribió:
> Package: speedy-cgi-perl
> Version: 2.22-1
> Severity: grave
> Justification: renders package unusable
>
>
> We've installed on a new system smokeping wich depends on
> speedy-cgi-perl. After some problems trying to get smokeping working
> we tested some small perl-scripts to resolve where the problem's located.
>
> Even the following small script resolt in an http error:
>
> #!/usr/bin/speedy -w
>
> print "Content-type: text/html\n\nHello World!\n";
>
> We changed the /usr/bin/speedy by /usr/bin/perl the script runs fine.
> When one runs the script from cli being root the script runs fine.
> After we su-ed to www-data we get the following error:
>
> /usr/lib/cgi-bin$ speedy test.cgi
> Segmentation fault

hal9000:/home/jose# su www-data
hal9000:/home/jose$ id
uid=33(www-data) gid=33(www-data) grupos=33(www-data) hal9000:/home/jose$ 
speedy test.cgi
Content-type: text/html

Hello World!

hal9000:/home/jose$ dpkg -l speedy-cgi-perl 
Desired=Unknown/Install/Remove/Purge/Hold
| Estado=No/Instalado/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
mayúsc.=malo)
||/ Nombre          Versión        Descripción
+++-===============-===============-====================================
+++==========
ii  speedy-cgi-perl 2.22-1          speed up perl scripts by making them
persisten



> If you need more info please srop a mail.

 Obviously, I need it :-)

 Thanks,

--
Jose Carlos Garcia Sogo
   [EMAIL PROTECTED]

**** DISCLAIMER ****
http://www.belgacom.be/maildisclaimer

Reply via email to