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

Re: Bug#178251: slang: don't do a dh_testroot in clean



On Sun, 2003-03-16 at 20:13, Chris Waters wrote:

> But dh_testroot is part of the clean target in the examples that come
> with debhelper, and therefore probably in *every* debhelper-based
> package in Debian (which is the vast majority of packages).  Why
> single out the poor slang developer to pick on?

I didn't, actually. I filed several bugs like that, until I moved on to
playing with other scripts. I mostly forgot about those bugs, probably
because I considered them trivial to fix (delete one line from
debian/rules, after all).

I think the best way to proceed now would be to come to a consensus on
the policy list as to the following question:

	Must clean be invoked as root?

Packages putting dh_testroot in the clean target assert so; current
policy isn't so clear.

My personal opinion (subject to change with good arguments against it,
of course) is that clean must not require root unless another target has
been invoked as root. This means that for most packages, clean will
never need root, because fakeroot isn't actually root.

Further, while we're at it, we may want to make clear the use of
fakeroot for the binary target.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: