FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 01-05-2008, 04:15 PM
Jason L Tibbitts III
 
Default Services enabled by default when installed

I've always understood that services should not be enabled by default,
because people tend to install more than they actually want to run.
And of course rpmlint complains about any initscript that starts on by
default.

However, I don't actually see any mention of this in the guidelines,
only this text in ScriptletSnippets:

"
Why don't we....

* run 'chkconfig <service> on'?
o If a service should be enabled by default, make this the
default in the init script. Doing otherwise will cause the
service to be turned on on upgrades if the user explicitly
disabled it. Note that the default for most
network-listening scripts is off. This is done for better
security. We have multiple tools that can enable services,
including GUIs.
* start the service after installation?
o Installations can be in changeroots, in an installer
context, or in other situations where you don't want the
services started.
"

So, is it OK if a packager wants their service enabled by default?

- J<

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 
Old 01-05-2008, 06:47 PM
Axel Thimm
 
Default Services enabled by default when installed

On Sat, Jan 05, 2008 at 11:15:25AM -0600, Jason L Tibbitts III wrote:
> I've always understood that services should not be enabled by default,
> because people tend to install more than they actually want to run.
> And of course rpmlint complains about any initscript that starts on by
> default.
>
> However, I don't actually see any mention of this in the guidelines,
> only this text in ScriptletSnippets:
>
> "
> Why don't we....
>
> * run 'chkconfig <service> on'?
> o If a service should be enabled by default, make this the
> default in the init script. Doing otherwise will cause the
> service to be turned on on upgrades if the user explicitly
> disabled it. Note that the default for most
> network-listening scripts is off. This is done for better
> security. We have multiple tools that can enable services,
> including GUIs.
> * start the service after installation?
> o Installations can be in changeroots, in an installer
> context, or in other situations where you don't want the
> services started.
> "
>
> So, is it OK if a packager wants their service enabled by default?

It probably very much depends on the service in question and the
guidelines can't cover all possible situations, but I can think of
quite a few cases where you'd like it enabled by default like
messagebus, firstboot, crond, etc.
--
Axel.Thimm at ATrpms.net
--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 
Old 01-05-2008, 07:29 PM
Jason L Tibbitts III
 
Default Services enabled by default when installed

>>>>> "AT" == Axel Thimm <Axel.Thimm@ATrpms.net> writes:

AT> It probably very much depends on the service in question and the
AT> guidelines can't cover all possible situations, but I can think of
AT> quite a few cases where you'd like it enabled by default like
AT> messagebus, firstboot, crond, etc.

The package in question is kerneloops, a service which watches your
logs for oops output and notifies a userspace applet via dbus:
https://bugzilla.redhat.com/show_bug.cgi?id=427586

I guess a big issue for me would be whether the service is
network-facing, since that means that installing and rebooting gives
you a service that you never enabled.

- J<

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 

Thread Tools




All times are GMT. The time now is 08:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org