[Pkg-zope-developers] zope2.7 symlinks, FHS, bug 305854

A Mennucc mennucc1@debian.org
Sat, 23 Apr 2005 11:21:14 +0200


--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi

Situation:
 zope2.7 is compiled with  prefix=3D/usr/lib/zope2.7,
 but then all .py are installed in /usr/share/zope2.7
 and symlinks are created in /usr/lib/zope2.7
=20
Some people do not like this, and I read emails=20
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 F=
ilesystem Hierarchy Standard (FHS), version 2.1, except where doing so woul=
d 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 a=
nd 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".=20


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

The /usr/lib/zope2.7 is filled with symlinks. These are=20
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=20
check them all.

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

a.

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

--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCahOJ9B/tjjP8QKQRAhhLAJwP8wz5aeixN0AeGI2dH9hH8SqI5ACgntvl
DBDOzu/oR0HK+eK9cfGtmGw=
=Hkm7
-----END PGP SIGNATURE-----

--vkogqOf2sHV7VnPd--