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

Re: Vanishing /usr/doc symlink



>>"Andreas" == Andreas Metzler <ametzler@downhill.at.eu.org> writes:

 Andreas> Manoj Srivastava <srivasta@debian.org> wrote:
 Andreas> [/usr/doc -> /usr/share/doc Symlink]
 >> Some packages carefully clean up old dirs in /usr/doc; moving
 >> them to subdirs of /usr/share/doc/$package, and then removing
 >> /usr/doc/$package/ and replacing the old dir with a symbolic link.

 >> All legal under current policy.

 >> And all hell breaks lose if you replace /usr/doc by a link to
 >> /usr/share/doc.
 Andreas> [...]

 Andreas> Hello,
 Andreas> This might be what policy says, but:
 >> ---- _Potato's_ release-notes ---------
 >> The `/usr/share/doc' directory (if it exists already) should not be a
 >> symlink (e.g.  to `/usr/doc'), since that will cause some packages to
 >> break.  However, symlinking `/usr/doc' to `/usr/share/doc' is allowed.
 >> Please note that if you use such a symlink there will be numerous
 >> messages about `/usr/doc' directories that can't be removed.  Those
 >> are normal, and you can safely ignore them.
 >> ----------------------------------------

	That's fine and dandy. But we are now facing what we have in
 policy. 

 Andreas> Me, ie. Joe User, thought this was as official as it could
 Andreas> get and has always used this symlink. I know it is not that
 Andreas> common but I suspect there are others like me (including
 Andreas> Julian Gilbey) out there who happily use this symlink.

	And how many packages do you have installed? What percentage
 of the 8000+ packages in woody does that comprise? Have you done an
 audit of the other postinsts to be sure there are not a whole
 plethora of packages that would also mess up the system? 

	I just reported at least 15 packages that move dirs under
 /usr/doc/$package/ to /usr/share/doc/$package, and remove the former
 directory (thought these packages I mentioned perhaps do not cause
 problems under the proposed scheme).  How many others are there?

	manoj
-- 
 "Most of us, when all is said and done, like what we like and make up
 reasons for it afterwards." Soren F. Petersen
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: