Re: Bug#69311: Woody is now clean of /usr/doc
>>"Santiago" == Santiago Vila <sanvila@unex.es> writes:
Santiago> Joerg Jaspert wrote:
>> So i have usr/doc symlinked to usr/share/doc on every machine.
Santiago> Manoj says current policy allows packages to blindly assume
Santiago> that /usr/doc is a directory. For woody+1, I think we
Santiago> should explicitly mandate that packages support:
s/mandate/suggest/. (mandating would make all packages
suddenly get serious bugs).
Santiago> a) /usr/doc being a directory
Santiago> b) /usr/doc being a symlink to /usr/share/doc.
Santiago> c) /usr/doc not existing at all.
Would all this not be achieved by merely removing the
directive to add the symlinks, and adding something to the effect
that symlinks in /usr/doc are obsolete and deprecated?
Should packages remove old symlinks in /usr/doc? (I think
packages should indeed clean up the old cruft). In which case,
something like
if /usr/doc exists, AND /usr/doc is not a symlink to /usr/share/doc,
AND /usr/doc/PACKAGE exists, AND /usr/doc/PACKAGE is a symlink;
then
unlink /usr/doc/PACKAGE
fi
(note that symlinks to a dir which is not the same as /usr/share/doc/
should still have the symlinks removed)
We could just add this into a script base-files, but we can't
have that script actually delete /usr/doc/ until the majority of
packages have been fixed not to create symlinks in /usr/doc.
(http://lists.debian.org/debian-ctte-9908/msg00038.html) said:
Colin> 3. At a later date, another policy (say, 4.X) shall ask for
Colin> packages to no longer provide the link (and possibly remove
Colin> links from /usr/doc). We can also provide a script (possibly
Colin> in base-files postinst) that rm's symlinks from within
Colin> /usr/doc. woody+1 may ship with such a script. (there was a
Colin> proposal as well that potato+2 (woody+1) ships with just the
Colin> prerms, and not the base file script, and potato+3 ships
Colin> with the base-file script, but I am not sure this long a
Colin> reversion period is required).
Joerg> There i must say: Please *dont* rm that.
Don't rm what?
<SNIPPED Objections to silly syumlink removal design>
manoj
--
Politicians should read science fiction, not westerns and detective
stories. Arthur C. Clarke
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
--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: