hi

Situation:
 zope2.7 is compiled with  prefix=/usr/lib/zope2.7,
 but then all .py are installed in /usr/share/zope2.7
 and symlinks are created in /usr/lib/zope2.7
 
Some people do not like this, and I read emails 
asking "why this (expletive deleted) symlinking mess???"

The latest such complaint is in bug 305854.

Simple: because the policy dictates so, in section 9.1.1 :
"The location of all installed files and directories must comply with the 
Filesystem Hierarchy Standard (FHS), version 2.1, except where doing so would 
violate other terms of Debian Policy. "
file:///usr/share/doc/debian-policy/policy.html/ch-opersys.html#s9.1

The FHS, in turn, says :
"Miscellaneous architecture-independent application-specific static files and 
subdirectories should be placed in /usr/share."
/usr/share/doc/debian-policy/fhs/fhs.html/fhs-4.4.html

Originally , zope2.7 did install all its .py code
in /usr/lib : that is ~10Mb of code, and it is too much,
and some people complained, so I created the "symlinking mess". 


Please, Martin, do not change zope2.7 installation  system.
Note that the policy is not saying "should". It is saying "must".
Violating the policy is a seriuos bug:
   "is a severe violation of Debian policy (that is,
    the problem is a violation of a 'must' or 'required' directive);
    may or may not affect the usability of the package. "
Such bug may be tagged release-critical, and would kick zope2.7
out of Debian/sarge.

I understand that you were frustrated in losing some hours
in fixing bug 305854 (and I thank you for the patch).
At the same time, I see that the bug was due to a careless
using of a realpath directive in the code.  

The /usr/lib/zope2.7 is filled with symlinks. These are 
undistinguishable from real files, unless a call to realpath
is used.
  grep -ri realpath zope2.7 | wc
shows that there are 18 calls to realpath around. I will 
check them all.

As the saying goes, "shit happens", "bugs happen", "shitty bugs
happen more often than ever".

a.

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)

Attachment: signature.asc
Description: Digital signature

Reply via email to