Re: Services that can start by default policy feedback

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

 



On Wed, Feb 23, 2011 at 1:56 PM, Kevin Fenzi <kevin@xxxxxxxxx> wrote:
> Greetings.
>
> FESCo is looking at the question of what services can start by default
> (ie, you install something and it's set to start automatically next
> time you boot up).

Honestly I think it'd be conceptually a lot simpler if all services
didn't start on RPM installation, period.  Specific ones that we want
enabled by default in a desktop install could simply be turned on in
the kickstart file.

Something like the attached patch (obviously incomplete, and not tested):
From f87cd366e19c2ecd1abd28c066c869000de1d6bf Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@xxxxxxxxxx>
Date: Thu, 24 Feb 2011 09:43:16 -0500
Subject: [PATCH] Move system service enabling here

Rather than have the list of services enabled by default encoded
in the RPMs, explicitly specify the list here.
---
 fedora-live-desktop.ks |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 06700b3..edd8678 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -20,6 +20,17 @@ nss-mdns
 %end
 
 %post
+
+# Enable system service processes, "local" only
+chkconfig messagebus on
+chkconfig abrtd on
+chkconfig NetworkManager on
+
+# Enable some system service processes that listen on internet ports,
+# though of course this is pointless with a firewall always on.
+chkconfig avahi on
+chkconfig cupsd on
+
 cat >> /etc/rc.d/init.d/livesys << EOF
 # disable screensaver locking
 gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
-- 
1.7.1

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux