Yes, I would suggest that there is a need for more detailed web apps
policies - not just for where session files should be placed safely, but
also things like safe and consistent ways to configure the webservers
(apache1 vs apache2 are (or were last i looked) already a pain), and
similarly for module support - like turning on mod_rewrite on the
different systems.

the best irony of this bug, is :

> I've implemented Joey's suggestion of 1777 & O_EXCL - mostly the files
in tmp are written by CGI::Session, that takes care of things.
>
> I also moved the 1777 tmp dir back to /tmp/twiki, as per Nico's point
wrt to filling /var


Sven


Olivier Berger wrote:
> Le mercredi 13 août 2008 à 20:06 +1000, Sven Dowideit a écrit :
>> Nico,
>>
>> /var/run - I'll keep that in mind for post lenny - I was really hoping
>> that debian had a place for this sort of session data, but didn't manage
>> to get there - thanks :)
>>
> 
> Maybe there is a web apps policy to be determined here (unless it exists
> alread ?)
> 
> For instance, when considering recent issues with session files in
> phpgroupware, I noticed that with php5, by default sessions may be saved
> in /var/lib/php5/. But as we needed some kind of admin management of
> sessions of users (like killing them) it led us to have them (back)
> into /var/lib/phpgroupware/sessions/. I guess I've asked for some policy
> or guidelines but got no answer.
> 
>> I'm hoping for the next release that I can move everything into
>> /var/twiki (rather than scattered around the fs, including pollution the
>> perl lib dirs) so that TWiki people stop being totally confused by the
>> setup :/
>>
> 
> Hmmm... It seems to me it wouldn't be a good idea. See
> http://www.debian.org/doc/debian-policy/ch-opersys.html#s-fhs and
> http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html for
> reference.
> 
> I guess code should be in /usr/ and not in /var/ right ?
> 
> I guess that current dir layout is mostly good, as there are proper
> symlinks in /var/lib/twiki (bin, lib, data, pub, etc.). Once you're
> looking for something starting from /var/lib/twiki, you should find it
> (for TWiki folks).
> 
> Still, that /usr/share/perl5/TWiki* may not be desirable, yes. Bt I'm
> pretty sure the configuration allows some curstomization of the perl
> path. Still I don't know which path would be best. Maybe something
> like /usr/lib/twiki/ ?
> 
> Why change something that works ? ;)
> 
> My 2 cents.
> 
> Best regards,

-- 
Professional Wiki Innovation and Support
Sven Dowideit - http://DistributedINFORMATION.com
A WikiRing Partner - http://wikiring.com
Public key -
http://pgp.mit.edu:11371/pks/lookup?search=Sven+Dowideit&op=index&exact=on



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to