How to define services to enable or disable?
Hi all, I tried to distribute own services in /etc/init.d and added a section to my autoinst.xml to enable this services after installation. For comparison I added a section for disable a system service (xdm). This also is ignored and the service is enabled after installation. Where is the fault in my example? <configure> .... <runlevels> <default>3</default> <services config:type="list" > <service> <service_name>configure_system</service_name> <service_status>enable</service_status> </service> <service> <service_name>FIT_add_admin</service_name> <service_status>enable</service_status> </service> <service> <service_name>xdm</service_name> <service_status>disable</service_status> </service> </services> </runlevels> </configure> Greets Hartmut
On Thu, Nov 04, 2004 at 08:39:18AM +0100, Hartmut.Dunker@finanzit.com wrote:
I tried to distribute own services in /etc/init.d and added a section to my autoinst.xml to enable this services after installation. For comparison I added a section for disable a system service (xdm). This also is ignored and the service is enabled after installation. Where is the fault in my example?
<configure> .... <runlevels> <default>3</default> <services config:type="list" > <service> <service_name>configure_system</service_name> <service_status>enable</service_status> </service> <service> <service_name>FIT_add_admin</service_name> <service_status>enable</service_status> </service> <service> <service_name>xdm</service_name> <service_status>disable</service_status> </service> </services> </runlevels> </configure>
Hi Hartmut, what release are you using? So did your own services get enabled? If not, does "insserv FIT_add_admin" succeed in a running system? -- Martin Vidner, developer SuSE CR, s.r.o. e-mail: mvidner@suse.cz Drahobejlova 27 tel:+420-296542373 190 00 Praha 9, Czech Republic http://www.suse.cz
On Thu, 4 Nov 2004, Martin Vidner wrote:
On Thu, Nov 04, 2004 at 08:39:18AM +0100, Hartmut.Dunker@finanzit.com wrote:
I tried to distribute own services in /etc/init.d and added a section to my autoinst.xml to enable this services after installation. For comparison I added a section for disable a system service (xdm). This also is ignored and the service is enabled after installation. Where is the fault in my example?
<configure> .... <runlevels> <default>3</default> <services config:type="list" > <service> <service_name>configure_system</service_name> <service_status>enable</service_status> </service> <service> <service_name>FIT_add_admin</service_name> <service_status>enable</service_status> </service> <service> <service_name>xdm</service_name> <service_status>disable</service_status> </service> </services> </runlevels> </configure>
I found that enabling/disabling services does not work with 9.2. It did work for me with 9.1 Henrik Schmidt -- Henrik Schmidt Christian-Albrechts-Universitaet zu Kiel Institut fuer Informatik +49 (431) 880 75 - 50 Fax or 43 Phone Olshausenstr. 40 http://www.ks.informatik.uni-kiel.de 24098 Kiel, Germany email: hbs@ks.informatik.uni-kiel.de
participants (3)
-
Hartmut.Dunker@finanzit.com
-
Henrik Schmidt
-
Martin Vidner