[Pkg-mediawiki-devel] Bug#392966: problems with selective-loopback

Ivan A. Beveridge ivan at dreamtime.org
Sun Mar 4 16:23:22 CET 2007


Hi Romain,

Sorry it's taken so long to respond.

I've installed your selective-loopback package v0.1 (which I note isn't
on your web page anymore), configured a (mediawiki1.8) entry, and found
and loaded the fuse module (which I didn't notice the first time).

I created diff and docs (mount) directories, owned www-data:fuse, but
when I run "/etc/init.d/selective-loopback start" I get the following
when I do an "ls" as root or any other user:

=====================
drwxr-sr-x 2 www-data fuse 4096 2007-03-02 23:06 diff
?--------- ? ?        ?       ?                ? docs
=====================

... except www-data, when I get:
=====================
drwxr-sr-x 2 www-data fuse 4096 2007-03-02 23:06 diff
drwxr-xr-x 7 root     root  752 2007-02-02 22:32 docs
=====================

Inside the docs directory, as www-data:
=====================
?--------- ? ?    ?       ?                ? AdminSettings.php
-rw-r--r-- 1 root root 3198 2006-10-14 01:07 api.php
?--------- ? ?    ?       ?                ? config
drwxr-xr-x 2 root root   88 2007-02-02 22:32 debian-scripts
?--------- ? ?    ?       ?                ? extensions
-rw-r--r-- 1 root root 1446 2006-10-14 01:07 img_auth.php
drwxr-xr-x 7 root root 6616 2007-02-02 22:32 includes
-rw-r--r-- 1 root root 1755 2006-10-14 01:07 index.php
-rw-r--r-- 1 root root 3538 2006-10-14 01:07 install-utils.inc
drwxr-xr-x 4 root root  232 2007-02-02 22:32 languages
?--------- ? ?    ?       ?                ? LocalSettings.php
drwxr-xr-x 9 root root 4712 2007-02-02 22:32 maintenance
-rw-r--r-- 1 root root 1348 2006-10-14 01:07 opensearch_desc.php
-rw-r--r-- 1 root root 6173 2006-10-14 01:07 profileinfo.php
-rw-r--r-- 1 root root  319 2006-10-14 01:07 redirect.php
-rw-r--r-- 1 root root   91 2006-10-14 01:07 redirect.phtml
drwxr-xr-x 9 root root  648 2007-02-02 22:32 skins
-rw-r--r-- 1 root root  605 2006-10-14 01:07 StartProfiler.php
-rw-r--r-- 1 root root 2316 2006-10-14 01:07 thumb.php
-rw-r--r-- 1 root root 1270 2006-10-14 01:07 trackback.php
?--------- ? ?    ?       ?                ? upload
-rw-r--r-- 1 root root   88 2006-10-14 01:07 wiki.phtml
=====================

I copied the missing files/directories (as specified in
/etc/selective-loopback/mount.d/mediawiki1.8) into $DIFF/ (touching the
non-existent AdminSettings.php, LocalSettings.php) and an "ls" of the
docs/ directory, as www-data, looks normal. However, root still sees the
directory as above and cannot look into it.

This means that apache complains on a configtest (and would with a restart):

=====================
apache2ctl configtest
Warning: DocumentRoot [/var/www/hosts/wiki.dreamtime.org/docs] does not
exist
Syntax OK
=====================

I'm not sure where to go from here - any thoughts?

Cheers


Ivan
-- 
Ivan Beveridge <ivan at dreamtime.org>




More information about the Pkg-mediawiki-devel mailing list