Hello Boud,

the package wims_3.62-8 will be available shortly, which fixes this bug
and many others.

If you are in a hurry, you can find wims_3.62-7 at an unofficial
repository: deb http://debian.ofset.org etch main
It appears to have a single bug, which will be fixed in the next
release, but this is worked around by making a 
"chown -R wims:wims /var/lib/wims/public_html" and making all pending
configurations after the failed installation.

Best regards,                   Georges.

Boud Roukema a écrit :
> Package: wims
> Version: 3.60-6
> Severity: grave
> Justification: renders package unusable
> 
> 
> 
> -- System Information:
> Debian Release: 4.0
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-5-686
> Locale: LANG=pl_PL.ISO-8859-2, LC_CTYPE=pl_PL.ISO-8859-2 
> (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
> 
> Versions of packages wims depends on:
> ii  adduser             3.102                Add and remove users and groups
> ii  apache              1.3.34-4.1           versatile, high-performance HTTP 
> s
> ii  chemeq              1.9                  Parser for chemical formula and 
> eq
> ii  debconf [debconf-2. 1.5.11               Debian configuration management 
> sy
> ii  fortunes            1:1.99.1-3           Data files containing fortune 
> cook
> ii  gnuplot             4.0.0-5              A command-line driven 
> interactive 
> ii  imagemagick         7:6.2.4.5.dfsg1-0.14 Image manipulation programs
> ii  libc6               2.3.6.ds1-13etch2    GNU C Library: Shared libraries
> ii  libgd2-xpm          2.0.33-5.2           GD Graphics Library version 2
> ii  maxima              5.10.0-6             A computer algebra system -- 
> base 
> ii  octave              1:2.1.73-13          GNU Octave language for 
> numerical 
> ii  octave2.0 [octave]  2.0.17-9             The GNU Octave language for 
> numeri
> ii  octave2.1 [octave]  1:2.1.73-13          GNU Octave language for 
> numerical 
> ii  octave2.9 [octave]  2.9.9-8etch1         GNU Octave language for 
> numerical 
> ii  pari-gp             2.3.1-2              PARI/GP Computer Algebra System 
> bi
> ii  tetex-bin           3.0-30               The teTeX programs
> ii  tetex-extra         3.0.dfsg.3-5etch1    Additional TeX input files of 
> teTe
> ii  units-filter        2.6-1                Parser for expressions 
> concerning 
> ii  wims-modules        3.60-6               modules used by the WIMS server
> 
> Versions of packages wims recommends:
> ii  gap                           4r4p9-1    Groups, Algorithms and 
> Programming
> pn  wims-extra                    <none>     (no description available)
> ii  yacas                         1.0.57-2   Computer Algebra System
> 
> -- debconf information:
> * wims/reconfigure-webserver: apache
> * wims/restart-webserver: true
> 
> 
> 
> PROBLEM: 
> 
> Installing: installing wims-3.60-6 from debian etch, on a system with
> a pre-existing wims-3.58 installed by hand gave an error message
> regarding the pre-existence of the wims user and something about a
> wims group being needed (i didn't record the exact message).  i did:
> addgroup wims && adduser wims wims
> 
> IIRC, i then did    aptitude install wims   again.  The installation
> finished without errors (after about 10-15 minutes...)
> 
> The problem: my browser at the page http://mydomain.com/wims gave the error
> message:
> 
>   WIMS panick! Unable to bring up wimslogd.
>   Permission denied
> 
> Eventually (after many, many hours, including reading src/log.c and
> learning about sockets) i found that by doing some chown + chmod's
> this problem was solved. My guess is that www-data (the apache user)
> did not have the authorisation to create files and/or directories
> in wims' area.
> 
> 
> SUGGESTION:  
> 
> The debian package for wims should either 
> 
>  * give the sysadmin some interactive hints about the possible need to
>    fix things with chmod && chown (it is not enough just to say that
>    the group wims must be created), or
> 
>  * a comment about this could be added to README.Debian, or 
> 
>  * it should redo some chmod/chown-ing in the post-installation phase
>    in case the installation got stopped half-way and then continued as
>    happened in my case.
> 
> 
> DETAILS:
> 
> 
> DIAGNOSTICS:
> 
> uname -a
> Linux mydomain 2.6.18-5-686 #1 SMP Wed Oct 3 00:12:50 UTC 2007 i686 GNU/Linux
> 
> 
> dpkg -l |grep wims
> ii  wims                              3.60-6                          WWW 
> Interactive Mathematics Server (WIMS)
> ii  wims-modules                      3.60-6                          modules 
> used by the WIMS server
> 
> 
> As shown above, this is still using apache-1.3.
> 
> 
> grep wims /var/log/dpkg.log    # local times :P
> 
> 2007-10-18 03:56:04 install wims-modules <none> 3.60-6
> 2007-10-18 03:56:04 status half-installed wims-modules 3.60-6
> 2007-10-18 03:56:14 status unpacked wims-modules 3.60-6
> 2007-10-18 03:56:14 status unpacked wims-modules 3.60-6
> 2007-10-18 03:56:15 install wims <none> 3.60-6
> 2007-10-18 03:56:15 status half-installed wims 3.60-6
> 2007-10-18 03:56:19 status unpacked wims 3.60-6
> 2007-10-18 03:56:19 status unpacked wims 3.60-6
> 2007-10-18 03:56:21 status unpacked wims-modules 3.60-6
> 2007-10-18 03:56:21 status half-configured wims-modules 3.60-6
> 2007-10-18 03:56:26 status half-configured wims-modules 3.60-6
> 2007-10-18 03:58:43 status half-configured wims-modules 3.60-6
> 2007-10-18 04:01:59 status installed wims-modules 3.60-6
> 2007-10-18 04:01:59 status unpacked wims 3.60-6
> 2007-10-18 04:01:59 status unpacked wims 3.60-6
> 2007-10-18 04:01:59 status half-configured wims 3.60-6
> 2007-10-18 04:17:25 status installed wims 3.60-6
> 
> 
> grep "www-data\|wims" /etc/passwd /etc/group 
> 
> /etc/passwd:www-data:x:33:33:www-data:/var/www:/bin/sh
> /etc/passwd:wims:x:110:65534::/var/lib/wims:/bin/bash
> /etc/group:www-data:x:33:
> /etc/group:wims:x:1001:wims,www-data
> 
> 
> 
> ls -ld <key wims files>  # AFTER the problem was solved 
> 
> drwxr-xr-x 13 wims     wims      4096 2007-10-18 13:12 /var/lib/wims/
> drwxr-x---  2 wims     wims      4096 2007-10-18 04:17 /var/lib/wims/bin/
> -rwxr-xr-x  1 wims     wims      3518 2006-12-14 16:26 
> /var/lib/wims/bin/account.sh
> -rwxr-xr-x  1 wims     wims      4732 2006-12-14 16:26 
> /var/lib/wims/bin/apache-config
> -rwxr-xr-x  1 wims     wims      1781 2006-12-14 16:26 
> /var/lib/wims/bin/backup
> -rwxr-xr-x  1 wims     wims      7212 2006-12-14 16:26 /var/lib/wims/bin/ccsum
> -rwxr-xr-x  1 wims     wims      1552 2006-12-14 16:26 
> /var/lib/wims/bin/classupdate
> -rwxr-xr-x  1 wims     wims      1392 2006-12-14 16:26 
> /var/lib/wims/bin/dedcompile
> -rwxr-xr-x  1 wims     wims      7984 2006-12-14 16:26 
> /var/lib/wims/bin/dicsort
> -rw-r--r--  1 wims     wims       355 2006-12-14 16:26 
> /var/lib/wims/bin/dircptest
> -rwxr-xr-x  1 wims     wims     36876 2006-12-14 16:26 
> /var/lib/wims/bin/exostat
> lrwxrwxrwx  1 root     root        10 2007-10-18 04:17 
> /var/lib/wims/bin/false -> /bin/false
> -rwxr-xr-x  1 wims     wims      3241 2006-12-14 16:26 
> /var/lib/wims/bin/housekeep.daily
> -rwxr-xr-x  1 wims     wims      4047 2006-12-14 16:26 
> /var/lib/wims/bin/mkindex
> -rwxr-xr-x  1 wims     wims      1945 2006-12-14 16:26 
> /var/lib/wims/bin/mkpopular
> -rwxr-xr-x  1 wims     wims        63 2006-12-14 16:26 
> /var/lib/wims/bin/mkuserlist
> -rwxr-xr-x  1 wims     wims     22664 2006-12-14 16:26 
> /var/lib/wims/bin/modind
> -rwxr-xr-x  1 wims     wims      6256 2006-12-14 16:26 
> /var/lib/wims/bin/modstat
> -rwxr-xr-x  1 wims     wims      6230 2006-12-14 16:26 
> /var/lib/wims/bin/modupdate
> -rwxr-xr-x  1 wims     wims       268 2006-12-14 16:26 
> /var/lib/wims/bin/modupdate.auto
> -rwxr-xr-x  1 wims     wims     49676 2006-12-14 16:26 
> /var/lib/wims/bin/msg2wims
> -rwxr-xr-x  1 wims     wims      1364 2006-12-14 16:26 
> /var/lib/wims/bin/new-files
> -rwxr-xr-x  1 wims     wims        94 2006-12-14 16:26 
> /var/lib/wims/bin/nongnu
> -rwxr-xr-x  1 wims     wims     63756 2006-12-14 16:26 
> /var/lib/wims/bin/oef2wims
> -rwxr-xr-x  1 wims     wims      1386 2006-12-14 16:26 
> /var/lib/wims/bin/oefcompile
> -rwxr-xr-x  1 wims     wims     34956 2006-12-14 16:26 
> /var/lib/wims/bin/phtmltext
> -rwxr-xr-x  1 wims     wims       307 2006-12-14 16:26 
> /var/lib/wims/bin/server-interrupt
> -rwxr-xr-x  1 wims     wims       118 2006-12-14 16:26 
> /var/lib/wims/bin/server-resume
> -rwxr-xr-x  1 wims     wims       307 2006-12-14 16:26 
> /var/lib/wims/bin/session-cleaner
> -rwxr-xr-x  1 wims     wims       512 2006-12-14 16:26 
> /var/lib/wims/bin/srcmirror
> -rwxr-xr-x  1 wims     wims       735 2006-12-14 16:26 
> /var/lib/wims/bin/tester
> lrwxrwxrwx  1 root     root         9 2007-10-18 04:17 /var/lib/wims/bin/true 
> -> /bin/true
> -rwxr-xr-x  1 wims     wims      4156 2006-12-14 16:26 
> /var/lib/wims/bin/update
> -rwxr-xr-x  1 wims     wims      2922 2006-12-14 16:26 
> /var/lib/wims/bin/wims-deb
> -rwxr-xr-x  1 www-data www-data 58188 2006-12-14 16:26 
> /var/lib/wims/bin/wimslogd
> -rwxr-xr-x  1 wims     wims       725 2006-12-14 16:26 
> /var/lib/wims/bin/wrapuid
> drwxr-xr-x 13 wims     wims      4096 2007-10-18 05:04 
> /var/lib/wims/public_html/
> drwxrwxr-x  5 wims     wims      4096 2007-10-18 05:04 /var/lib/wims/tmp/
> drwxrwxrwx  2 wims     wims      4096 2006-12-14 16:26 
> /var/lib/wims/tmp/forall
> drwxrwx---  2 wims     wims      4096 2007-10-18 13:09 /var/lib/wims/tmp/log
> drwxrwx---  2 wims     wims      4096 2007-10-18 13:09 /var/lib/wims/tmp/log/
> drwxr-xr-x  2 wims     wims      4096 2006-12-14 16:26 
> /var/lib/wims/tmp/sessions
> -rw-r--r--  1 wims     nogroup   7352 2007-10-18 04:15 
> /var/lib/wims/tmp/texgf.208gf
> -rw-r--r--  1 wims     nogroup    861 2007-10-18 04:15 
> /var/lib/wims/tmp/texgf.log
> -rw-r--r--  1 wims     nogroup    210 2007-10-18 04:15 
> /var/lib/wims/tmp/texgf.mf
> -rw-r--r--  1 wims     nogroup   1040 2007-10-18 04:15 
> /var/lib/wims/tmp/texgf.tfm
> drwxrwx--- 7 wims wims 4096 2007-10-18 13:25 /var/lib/wims/log/
> -rw-rw---- 1 wims wims   86 2007-10-18 13:25 /var/lib/wims/log/access.log
> drwxrwx--- 2 wims wims 4096 2006-12-14 16:26 /var/lib/wims/log/account
> drwxrwx--- 9 wims wims 4096 2007-10-18 04:54 /var/lib/wims/log/classes
> drwxrwx--- 4 wims wims 4096 2007-10-18 04:53 /var/lib/wims/log/forums
> drwxrwx--- 2 wims wims 4096 2006-12-14 16:26 /var/lib/wims/log/modules
> drwxrwx--- 2 wims wims 4096 2006-12-14 16:26 /var/lib/wims/log/referer
> -rw-rw---- 1 wims wims   24 2007-10-18 05:02 /var/lib/wims/log/refuse.log
> -rw-rw-r-- 1 wims wims    4 2006-12-14 16:26 /var/lib/wims/log/update-version
> -rw-rw---- 1 wims wims  284 2006-12-14 16:26 /var/lib/wims/log/wims.conf
> drwxrwx--- 3 wims wims 4096 2007-10-18 13:30 ../sessions/
> 
> 
> COMMENT:
> 
> The previous version of wims was installed at /var/wims/ and according
> to my backups, did *not* give access to the www-data user to these
> files. This made the error rather hard to find, since comparing old
> and new installations didn't show any obvious access differences, and
> randomly increasing access to files is something which could potentially 
> decrease the security of the system.  This is why advice from the package
> maker is needed IMHO.
> 
> 
> Bon courage
> boud  
> (utilisateur de wims depuis deux ans environ pour gerer des cours
> pratiques en GNU/linux, et pour faire une verification tres minimale
> du savoir cosmologique pour des etudiants de maitrise, le tout en 
> polonais... :P - cosmo.torun.pl/wims )
> 
> 
> 

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70

Attachment: signature.asc
Description: Digital signature

Reply via email to