Bon j'ai regardé d'un peu plus prés les erreurs. J'ai été un peu vite sur mon dernier message car les erreurs sont différentes chez PerlDiver 1.x et 2.33.
La 1.1 renvoie "Can't cd to : Bad file descriptor" avec un error log de httpd disant :
[Mon Nov 06 18:06:02 2006] [error] [client 127.0.0.1] [Mon Nov 6 18:06:02 2006] perldiver11.cgi: Use of uninitialized value in chdir at /usr/lib/perl5/5.8.8/File/Find.pm line 751., referer:
http://localhost/
[Mon Nov 06 18:06:02 2006] [error] [client 127.0.0.1] [Mon Nov 6 18:06:02 2006] perldiver11.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/File/Find.pm line 752., referer:
http://localhost/
[Mon Nov 06 18:06:02 2006] [error] [client 127.0.0.1] [Mon Nov 6 18:06:02 2006] perldiver11.cgi: Can't cd to : Bad file descriptor, referer:
http://localhost/
Ce qui laisse penser que ce n'est pas une affaire de restriction d'accès, mais le fait que PerlDiver 1.1 tente de se déplacer dans un répertoire dont le nom provient d'une variable non initialisée : bon, enfin, pas grave, c'est une vieille version => on passe au cas de la 2.33, récente, elle.
--
La 2.33, elle, donne "Can't cd to : Permission denied" pour la section "Installed Modules" avec un httpd error log :
[Mon Nov 06 18:09:16 2006] [error] [client 127.0.0.1] [Mon Nov 6 18:09:16 2006] perldiver.cgi: Use of uninitialized value in chdir at /usr/lib/perl5/5.8.8/File/Find.pm line 751., referer:
http://localhost/cgi-bin/perldiver_233/perldiver.cgi
[Mon Nov 06 18:09:16 2006] [error] [client 127.0.0.1] [Mon Nov 6 18:09:16 2006] perldiver.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/File/Find.pm line 752., referer:
http://localhost/cgi-bin/perldiver_233/perldiver.cgi
[Mon Nov 06 18:09:17 2006] [error] [client 127.0.0.1] [Mon Nov 6 18:09:17 2006] perldiver.cgi: Can't cd to : Permission denied, referer:
http://localhost/cgi-bin/perldiver_233/perldiver.cgi
Mince, donc, même type d'erreur que la 1.1 même si le résultat final est différent ("access denied" ici). Et j'ai pas du tout envie d'aller debugger PerlDiver là... Par ailleurs, je suis allé jeter un oeil sur leur forum et apparemment, le seul ayant rapporté une erreur de ce type s'est vu dire qu'il était sur un OS qu'ils n'avaient pas tester et que le monsiuer n'avait qu'à aller voir du côté des développeurs dudit OS (c'est
ici) : sic, pas encourageant !
Bon, je suis quand même allé voir du côté logs Fedora comme tu me le suggèrais et voici ce que j'ai, sachant que j'ai lancé PerlDiver 1.1 à 18h06 et PerlDiver 2.33 à 18h09. Si ça t'inspire un truc évident :
--- COPIE ---
Nov 6 18:06:01 localhost kernel: audit(1162832761.824:346): avc: denied { read } for pid=7626 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:01 localhost kernel: audit(1162832761.824:347): avc: denied { search } for pid=7626 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:01 localhost kernel: audit(1162832761.824:348): avc: denied { search } for pid=7626 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:01 localhost kernel: audit(1162832761.824:349): avc: denied { search } for pid=7626 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:01 localhost kernel: audit(1162832761.824:350): avc: denied { search } for pid=7626 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:01 localhost kernel: audit(1162832761.824:351): avc: denied { search } for pid=7626 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.140:352): avc: denied { read } for pid=7626 comm="whereis" name="man" dev=dm-0 ino=457008 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:man_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.160:353): avc: denied { read } for pid=7627 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.160:354): avc: denied { search } for pid=7627 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.160:355): avc: denied { search } for pid=7627 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.160:356): avc: denied { search } for pid=7627 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.160:357): avc: denied { search } for pid=7627 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.160:358): avc: denied { search } for pid=7627 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.172:359): avc: denied { read } for pid=7627 comm="whereis" name="man" dev=dm-0 ino=457008 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:man_t:s0 tclass=dir
Nov 6 18:06:02 localhost kernel: audit(1162832762.172:360): avc: denied { read } for pid=7625 comm="perldiver11.cgi" name="cgi-bin" dev=dm-0 ino=922463 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:httpd_sys_script_exec_t:s0 tclass=dir
Nov 6 18:08:34 localhost dhclient: DHCPREQUEST on eth0 to 192.168.107.254 port 67
Nov 6 18:08:34 localhost dhclient: DHCPACK from 192.168.107.254
Nov 6 18:08:34 localhost dhclient: bound to 192.168.107.132 -- renewal in 777 seconds.
Nov 6 18:09:12 localhost kernel: audit(1162832952.228:361): avc: denied { read } for pid=7672 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.228:362): avc: denied { search } for pid=7672 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.228:363): avc: denied { search } for pid=7672 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.228:364): avc: denied { search } for pid=7672 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.232:365): avc: denied { search } for pid=7672 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.232:366): avc: denied { search } for pid=7672 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.248:367): avc: denied { read } for pid=7672 comm="whereis" name="man" dev=dm-0 ino=457008 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:man_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.252:368): avc: denied { read } for pid=7673 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.252:369): avc: denied { search } for pid=7673 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.252:370): avc: denied { search } for pid=7673 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.256:371): avc: denied { search } for pid=7673 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.256:372): avc: denied { search } for pid=7673 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.256:373): avc: denied { search } for pid=7673 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:12 localhost kernel: audit(1162832952.268:374): avc: denied { read } for pid=7673 comm="whereis" name="man" dev=dm-0 ino=457008 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:man_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.812:375): avc: denied { read } for pid=7675 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.812:376): avc: denied { search } for pid=7675 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.812:377): avc: denied { search } for pid=7675 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.812:378): avc: denied { search } for pid=7675 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.812:379): avc: denied { search } for pid=7675 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.812:380): avc: denied { search } for pid=7675 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.824:381): avc: denied { read } for pid=7675 comm="whereis" name="man" dev=dm-0 ino=457008 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:man_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.828:382): avc: denied { read } for pid=7676 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.828:383): avc: denied { search } for pid=7676 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.828:384): avc: denied { search } for pid=7676 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.828:385): avc: denied { search } for pid=7676 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.828:386): avc: denied { search } for pid=7676 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.828:387): avc: denied { search } for pid=7676 comm="whereis" name="src" dev=dm-0 ino=457022 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:src_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.840:388): avc: denied { read } for pid=7676 comm="whereis" name="man" dev=dm-0 ino=457008 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:man_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.864:389): avc: denied { read } for pid=7674 comm="perldiver.cgi" name="perldiver_233" dev=dm-0 ino=979257 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:httpd_sys_script_exec_t:s0 tclass=dir
Nov 6 18:09:16 localhost kernel: audit(1162832956.864:390): avc: denied { read } for pid=7674 comm="perldiver.cgi" name="perldiver_233" dev=dm-0 ino=979257 scontext=system_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:httpd_sys_script_exec_t:s0 tclass=dir
--- FIN DE COPIE ---
Au fait, peut-être existe-t-il mieux que PerlDiver pour lister les modules Perl installés (et qui marche avec FC5) ?