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

Bug#528021: unowned files after purge (policy 6.8)



On Sun, 10 May 2009, Frank Küster wrote:
> >> +    # remove the symlink in TEXMFLOCAL, ignoring failures if /usr/local is
> >> ro rm -f /usr/local/share/texmf/ls-R 2>/dev/null || true
> >
> > you must neither delete nor create files in /usr/local (see policy 9.1.2 :)

Ok, then we just leave it there because the file ls-R has been "created"
by the system administrator when he updated a package and thus called
mktexlsr.

So we cannot remove ls-R, and we also cannot remove the directory.

Case closed.


Honestly, I consider this whole discussion a PITA. Who is trying to solve
WHICH problem, but stealing our precious time???

> We really have a problem here. Currently, all ls-R files reside in
> /var/lib/texmf, with symlinks at the places where they are looked
> for. We need to change this, and put the ls-R file in /usr/local itself.

The ls-R file of /usr/local/share/texmf is NOT in /var/lib/texmf, only those
from /usr/share/texmf* trees. The reason was that /usr might be mounted
read-only and thus not guaranteed to be writable, while /var is.

> Moreover, we must make sure that we never run mktexlsr without arguments
> in maintainer scripts - otherwise /u/l/s/texmf/ls-R will be created.

So it be.

Come one, that is useless. 

Honestly, here I close my contribution to this case. (And Frank I suggest
you do the same, you have even less time to spend it on this kind of 
stuff).

Anytime the severity of the bug is raised to anything above wishlist I will
lower it again. Please bring it to the technical committee if you disagree.


Best wishes

Norbert

PS: There is a solution: Not creating /u/l/s/texmf in tex-common's postinst.
But that is definitely worse for user's then a blind application of a
release goal that is not part of policy.

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GLUTT LODGE (n.)
The place where food can be stored after having a tooth
extracted. Some Arabs can go without sustenance for up to six weeks on
a full glutt lodge, hence the expression 'the shit of the dessert'.
			--- Douglas Adams, The Meaning of Liff



Reply to: