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

Bug#379001: marked as done (debian-policy: update-rc.d overrides sysadmins wishes)



Your message dated Thu, 20 Jul 2006 13:01:21 -0300
with message-id <20060720160121.GF2969@khazad-dum.debian.net>
and subject line Bug#379001: debian-policy: update-rc.d overrides sysadmins wishes
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debian-policy
Version: 3.7.2.1
Severity: wishlist

The policy says that postinst should run "update-rc.d ... defaults",
however this means that symlinks are reverted back upon all upgrades.

I have a large number of packages installed for testing, but I do not
want them started by default.  In some cases I could edit
/etc/defaults/package and set them to disabled there.

I think update-rc.d defaults should only be called on a fresh install,
not an upgrade.

Thanks,

Adrian
-- 
Email: adrian@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org
Avoid working with children, animals and Microsoft "operating" systems


--- End Message ---
--- Begin Message ---
On Thu, 20 Jul 2006, Adrian Bridgett wrote:
> The policy says that postinst should run "update-rc.d ... defaults",
> however this means that symlinks are reverted back upon all upgrades.

No, it doesn't.  Please read the update-rc.d manpage carefully.  update-rc.d
will not change links that exist already when run as above.

That said, some packages *purge* all links on purpose and then reset them.
Please direct complains about that to the package maintainer, policy already
forbids such abuse, but update-rc.d is too dumb for maintainers to do
otherwise when they *really* need to update the links.

> I have a large number of packages installed for testing, but I do not
> want them started by default.  In some cases I could edit
> /etc/defaults/package and set them to disabled there.

Change all S-links to K-links, don't remove them.

> I think update-rc.d defaults should only be called on a fresh install,
> not an upgrade.

Actually, update-rc.d needs to be replaced by something a lot more
intelligent.  But this is not a policy matter (policy will be changed when
the time comes), and it is not doable for Etch, unfortunately :-(   Maybe
for Etch+1.

I am closing this bug.

-- 
  "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

--- End Message ---

Reply to: