[Pkg-sysvinit-devel] Bug#761878: Bug#761878: sysv-rc: policy-rc.d should live under /etc

Henrique de Moraes Holschuh hmh at debian.org
Tue Sep 16 15:13:49 UTC 2014


severity 761878 wishlist
tag 761878 wontfix
thanks

On Tue, 16 Sep 2014, Ansgar Burchardt wrote:
> policy-rc.d is supposed to be configured (and thus edited) by the
> local admin. It should thus not live in /usr/sbin.

It is supposed to be supplied under the Debian alternatives subsystem or
something equivalent, which will install a symlink there.  In fact, it will
install a symlink to /etc/alternatives/policy-rc.d, which will be another
symlink there to the active "alternative".

The /usr/sbin/policy-rc.d symlink would be created and managed by the
packages providing policy-rc.d, through /usr/sbin/update-alternatives.  The
local admin can do the same if he wants.  Or he can just add a real file in
/usr/sbin/policy-rc.d, and update-alternatives should leave it alone.

Nobody ever found a reason to package a general-use policy-rc.d, although
the feature is directly used by some tools that create private chroots, such
as pbuilder.

> Please support using a policy-rc.d located under /etc (and leave
> /usr/sbin/policy-rc.d as a legacy location).

AFAIK, there is no strong technical reason to change the policy-rc.d ABI at
this time, so I will downgrade this to wishlist and tag it wontfix.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-sysvinit-devel mailing list