> Anyway, I don't see how having a dh_testroot should be policy
> *violation*. From my reading, clean *may* get invoked as root, but from
> that it does not follow that it *must not* be invoked as root if
> unnecessary.

I parse "The clean target may need to be invoked as root if binary has
been invoked..." as:

        IF (binary invoked) or (build as root) THEN
          MAY require root to clean
        ELSE
          MAY NOT require root to clean
=>
        MUST NOT require root
          UNLESS (binary invoked) or (build as root)

The only other way that I see to read that section of policy is to read
it as a simple reminder to people building packages, in which case it
should be either removed or changed to a footnote.

I've cc'd debian-policy, maybe they'll have some comments on how to read
that section of policy.

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

Reply via email to