[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

about web pages build



Hi people,

There are a few awkward things I noticed in
master.debian.org:/org/www.debian.org/webwml .

The update_web_wml script says:

# This script must be setuid and owned by treacy:distmnt

But it is actually a /usr/bin/perl script (not suidperl?!) and group
debwww. Since Linux kernel explicitely forbids setuid scripts, and I guess
that includes Perl, this would mean that the parent process would already
have to be suid to run it, so the suid bit on the file isn't worth much.

The update_web_wml.out file that has modification time May  3 23:45 ATM, so
I'll presume it's not old data, contains these errors:

copying index.hr.html to ./../../debian.org/
install: ../../../debian.org/Bugs: Operation not permitted
install: ../../../debian.org/Bugs: Operation not permitted

This one also repeats after:

copying index.en.html to ./../../debian.org/
making a link ../../debian.org//index.html -> index.en.html

and all other index.$language.html files... why?

Also, see this:

copying index.hr.html to ../../../debian.org/releases
ePerl:Error: Perl parsing error (interpreter rc=2)

---- Contents of STDERR channel: ---------
Number found where operator expected at /tmp/wml.15064.tmp1 line 1215, near "'2000, '6"
        (Missing operator before 6?)
syntax error at /tmp/wml.15064.tmp1 line 1215, near "'2000, '6"
String found where operator expected at /tmp/wml.15064.tmp1 line 1215, near "6', '"
        (Missing operator before ', '?)
Bareword found where operator expected at /tmp/wml.15064.tmp1 line 1215, near "/../english"
        (Missing operator before english?)
Bad name after security:: at /tmp/wml.15064.tmp1 line 1215.
------------------------------------------
** WML:Break: Error in Pass 3 (rc=74).
make[2]: *** [index.hr.html] Error 1

What the heck is wrong with this one? I can't reproduce it at home when
doing `make install' in webwml/croatian/releases (I think that is done
here, too).

Also, there's another permission problem:

copying mail.en.html to ../../../../debian.org/News/weekly/./2000/14
making a link ../../../../debian.org/News/weekly/./2000/14/mail.html -> mail.en.html
install: ../../../../debian.org/SPI/mailing_lists: Operation not permitted
install: ../../../../debian.org/SPI/mailing_lists: Operation not permitted

Repeated, too.

And here are some specific errors:

copying index.hu.html to ./../../debian.org/
install: ../../../debian.org/Bugs: Operation not permitted
install: ../../../debian.org/Bugs: Operation not permitted
make[2]: *** No rule to make target `install'.  Stop.

I had a brief look at hungarian/Make* and they do seem to contain the
install rule... but without make[1] output I'm not certain that the error
even happened in that directory. I wondered, maybe one of the sub-Makefiles
doesn't include $(WMLBASE)/Make.common, but then I counted them and they all
do so. :-?

copying index.it.html to ../../../debian.org/News
make[2]: ./count: Command not found
make[2]: *** [index.it.html] Error 127

It seems this refers to italian/consultants/Makefile, but a `count' script
only exists in english/consultants/, so the path should be adjusted.

Finally, is the stuff in /org/www.debian.org/update.mirrors etc used by
anything? The script has a wrong path to ~archvsync and the READMEs aren't
quite clear...

-- 
Digital Electronic Being Intended for Assassination and Nullification


Reply to: