Package: twiki
Version: 1:4.1.2-3.2
Severity: normal

I just experienced this error when trying to use TemplateLogin authentication :

http://vserver1.picoforge.test/cgi-bin/twiki/login/Main/TWikiAdminGroup leads 
to :

login: Invalid separator character '/' in PerlIO layer specification 
/tmp/twiki/passthru_2174ee004c1dee5bfe6295d8b50d4d24 at /usr/share/per
Unknown open() mode '>/tmp/twiki/passthru_2174ee004c1dee5bfe6295d8b50d4d24' at 
/usr/share/perl5/TWiki.pm line 792., referer: 
http://vserver1.picoforge.test/cgi-bin/tw
at /usr/share/perl5/TWiki.pm line 792, referer: 
http://vserver1.picoforge.test/cgi-bin/twiki/login/Main/TWikiAdminGroup?t=1218646517;origurl=%2Fcgi-bin%2Ftwiki%2Fedi
\tTWiki::cacheQuery('TWiki=HASH(0x8197d60)') called at 
/usr/share/perl5/TWiki.pm line 732, referer: 
http://vserver1.picoforge.test/cgi-bin/twiki/login/Main/TWikiAdmin
\tTWiki::redirect('TWiki=HASH(0x8197d60)', 
'/cgi-bin/twiki/edit/Main/TWikiAdminGroup?t=1218646517', 1) called at 
/usr/share/perl5/TWiki/Client/TemplateLogin.pm line 1
\tTWiki::Client::TemplateLogin::login('TWiki::Client::TemplateLogin=HASH(0x887f7a8)',
 'CGI=HASH(0x8197be0)', 'TWiki=HASH(0x8197d60)') called at 
/usr/lib/cgi-bin/twiki
\tmain::logon('TWiki=HASH(0x8197d60)') called at /usr/share/perl5/TWiki/UI.pm 
line 159, referer: 
http://vserver1.picoforge.test/cgi-bin/twiki/login/Main/TWikiAdminGro
\tTWiki::UI::__ANON__() called at /usr/share/perl5/Error.pm line 416, referer: 
http://vserver1.picoforge.test/cgi-bin/twiki/login/Main/TWikiAdminGroup?t=1218646517;or
\teval {...} called at /usr/share/perl5/Error.pm line 408, referer: 
http://vserver1.picoforge.test/cgi-bin/twiki/login/Main/TWikiAdminGroup?t=1218646517;origurl=%2Fcg
\tError::subs::try('CODE(0x817f9b0)', 'HASH(0x8a4a720)') called at 
/usr/share/perl5/TWiki/UI.pm line 199, referer: 
http://vserver1.picoforge.test/cgi-bin/twiki/login/
\tTWiki::UI::run('CODE(0x8197c90)') called at /usr/lib/cgi-bin/twiki/login line 
33., referer: 
http://vserver1.picoforge.test/cgi-bin/twiki/login/Main/TWikiAdminGroup?

I believe this is because the code should be somthing like : 

 sysopen(F, "$passthruFilename", O_RDWR|O_EXCL|O_CREAT, 0644) ||
       die "{TempfileDir} cache not writable $!";

instead of :

 open(F, ">$passthruFilename", O_RDWR|O_EXCL|O_CREAT, 0644) || die 
"{TempfileDir} cache not writable $!";

I got a hint at : 
http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2007-11-16,Fri&sel=241#l237

Indeed the TWiki 4.2 code uses sysopen().

That said, I don't understand Perl well enough to clearly have a clue what 
should be.

P.S.: I think it comes from a fix of #444982 in Debian specific patches.

Best regards,

-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-openvz-24-004.1d1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages twiki depends on:
ii  apache2.2-common           2.2.9-6       Apache HTTP Server common files
ii  debconf [debconf-2.0]      1.5.22        Debian configuration management sy
pn  libalgorithm-diff-perl     <none>        (no description available)
ii  libcgi-session-perl        4.35-1        Persistent session data in CGI app
ii  libdigest-sha1-perl        2.11-2+b1     NIST SHA-1 message digest algorith
ii  liberror-perl              0.17-1        Perl module for error/exception ha
ii  libhtml-parser-perl        3.56-1+b1     A collection of modules that parse
pn  liblocale-maketext-lexicon <none>        (no description available)
pn  libtext-diff-perl          <none>        (no description available)
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  perl [libmime-base64-perl] 5.10.0-11.1   Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl] 5.10.0-11.1   Core Perl modules
ii  rcs                        5.7-23        The GNU Revision Control System

twiki recommends no packages.

Versions of packages twiki suggests:
pn  libunicode-maputf8-perl       <none>     (no description available)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to