Sean Whitton wrote: > On Sun 17 Sep 2023 at 10:52am -07, Russ Allbery wrote: > > So far as I can tell, the only important part is that the directory > > be registered in tmpfiles.d (or a service unit) so that it can be > > recreated when needed. > > Something which I don't think has been mentioned yet is that we > explicitly permit the local administrator to nuke /usr/share/doc, even > though that is a similar sort of inconsistency between the dpkg db and > the filesystem as the ones that are bothering Luca.
One key difference between the two is the existence of Policy 12.3: > Packages must not require the existence of any files in > "/usr/share/doc/" in order to function. [6] Any files that are used > or read by programs but are also useful as stand alone documentation > should be installed elsewhere, such as under "/usr/share/package/", > and then included via symbolic links in "/usr/share/doc/package".