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

Re: debhelper: Please default Rules-Require-Root to no

Hideki Yamane:
> Hi,
> On Fri, 24 May 2019 10:47:22 -0700
> Sean Whitton <spwhitton@spwhitton.name> wrote:
>> (surely we are a very long way from r-r-r: no for every package?)
>  I don't think so since lintian info about "should-specify-rules-requires-root"
>  containts only 98 packages.
>  https://lintian.debian.org/tags/should-specify-rules-requires-root.html
>  mandatory "r-r-r: no" in dpkg-dev and full rebuild shows exact numbers
>  to be dealt with, IMO.

The use of "r-r-r: no" will also disable dpkg-buildpackage detection of
missing build-{arch,indep} targets.  IOW, you need to add


To your list of packages needing a fix before "r-r-r: no" can be the

Additionally, lintian cannot/does not detect cases where a package use
(fake)root during the install step (e.g. upstream) but then later
"undoes" the ownership to root:root (e.g. dh_fixperms).  Just as an FYI,
so you know the lintian check is incomplete (I have no idea how many
instances we have of that - so it might be a non-issue).


Reply to: