On 03/31/2008 10:35 AM, Chris Ricker wrote:
On Mon, 31 Mar 2008, John Dennis wrote:
My understanding is rpm's which install a service do *not* start the service
in %post via chkconfig for all the reasons cited in the thread (i.e. the sys
admin or owner decides what should be running, how it's configured,e etc.
merely installing an rpm should not start a hidden service). There are a
minority of exceptions, services which must run to make the system usable,
these are well known. It is permissible to perform a condrestart in %post, but
this is just respecting the existing configuration on the box.
AFAIK, there are no guidelines -- look through the wiki and see if you can
find any?
I agree that what you're saying is what the standard should be, but other
packagers' understanding appears to be something closer to "if it's a
non-default package, install should enable since installing means you want
it". See, for example, BZ #433408
There may not be guidelines, but we do have precedent and some
convincing arguments which should be strongly considered in the absence
of strict guidelines. Without strict guidelines, Fedora contributors
should use their best judgment but making informed decisions is
impossible without being informed.
Some bugs which demonstrate reasons why auto starting services is bad
include:
https://bugzilla.redhat.com/show_bug.cgi?id=127552
https://bugzilla.redhat.com/show_bug.cgi?id=426465
I'm sure there may be others.
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list