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

Bug#975637: debian-policy: deprecate Rules-Requires-Root other than "no", "binary-targets" in Debian



On Tue, Nov 24, 2020 at 01:37:53PM +0100, Ansgar wrote:
> Package: debian-policy
> Version: 4.5.1.0
> Severity: normal
> 
> After a discussion in #-devel today I reviewed packages using other
> choices of "Rules-Requires-Root" than "no" and "binary-targets".  The
> query [1] found two uses:
> 
> - wfrench 1.2.6-1.  This could just use "no"; a bug was filed[2].
> 
> - libcap2 1:2.44-1.  Uses it for running tests as root, but doesn't support
>   fakeroot anyway.  Rules-Requires-Root can't however communicate this so
>   additional knowledge is needed.
> 
> The complexity to support arbitrary additional keywords as choices of
> R³ seems overkill given there is just one real user (libcap2) and the
> current R³ specification doesn't handle that usecase fully either.
> 
> Therefore I suggest to deprecate using R³ values other than "no" and
> "binary-targets" within Debian.

What about 'Rules-Requires-Root: yes' ?

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 


Reply to: