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

Romain Beauxis toots at rastageeks.org
Sun Mar 4 21:41:58 CET 2007

Le dimanche 4 mars 2007 16:19, Ivan A. Beveridge a écrit :
> Hi Romain,

	Hi !

> Sorry it's taken so long to respond.

No pb !

> 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:

Yes it is totaly normal.
Inital security configuration for fuse does not allow any other user to access 
the mount point except the user that mounted it. Even root is forbiden !
You can change that optionaly but my script are not yet configured for it. It 
is only a matter of passing one option, I'll do it. 
Anyway it is not an issue for mounting an apache mountpoint since apache is 
run as www-data so can access the mount point.

> 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.

Yes, actual packaging does not create the required files/folders in the diff 
directory and it is not yet documented very well.. Thank you for sorting that 

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

Totaly normal too.
The apache config test is done under user root which cannot access the mount 
point, hence the error.
However it should not cause any problem later as explained above.
You may only restart apache and point to the web adress as normal..

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

A far as you seems to be, everything shoud work :)


More information about the Pkg-mediawiki-devel mailing list