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

Re: Packaging/Review Guidelines change

Hash: SHA1

>>>>> "Nicolas" == Nicolas Mailhot <nicolas mailhot laposte net> writes:

Nicolas> Le jeudi 05 janvier 2006 à 14:42 -0600, Tom 'spot' Callaway a
Nicolas> écrit :

>> The only exception case is where two packages use the same
>> directory structure (outside of the FHS), but neither relies on the
>> other one (aka, either one could be installed first, or without the
>> other). Then, and only then, its acceptable for both packages to
>> own the directory, as they both have the potential to be
>> "first". This is a corner case, though.

Nicolas> Sure it's a corner case. But the devil is in the details, so
Nicolas> it needs to be documented (more than the usual case which
Nicolas> almost no one gets wrong nowadays)

An example I have of this is the munin package. 

There is a main 'munin' package that is only installed on a collector
machine, and then a 'munin-node' subpackage thats installed on all the
nodes you want to monitor. Either one or both could be installed on
any given machine. They both use /var/lib/munin/ to store state and
/var/log/munin/ to store logs. 

So, they both need to own those directories. 

One thing worth noting in this case is that both packages should have
the same permissions and ownership. Otherwise the last package
installed will override the previous package, possibly leading to
maddness and chaos. :) 

Nicolas> Regards,

Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

OMWAg2KQ+Opp3fBpRPhu9l4-----END PGP SIGNATURE-----

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