Mailinglist Archive: opensuse-autoinstall (127 mails)

< Previous Next >
RE: [suse-autoinstall] autoyast runlevel editor and SuSE 9.2
  • From: <fraser_bailey@xxxxxxxxxxx>
  • Date: Tue, 11 Jan 2005 09:59:33 +0000 (UTC)
  • Message-id: <36C06E1320F10B4F8826715E38CE259897DB4B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
The services section of the xml has been broken for some time. I don't know whether there is a patch which fixes it.

I got around this by supplying the following in the configure block of my xml. As the comment suggests, I've left the services block in in the hope that one day this problem will be fixed:

<scripts>
<post-scripts config:type="list">
<script>
<filename>services.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[#!/bin/sh
# disable services
# the services block in this XML file is ignored by autoyast
for SRV in isdn nfsboot nfslock nfs slpd smbfs splash splash_early splash_late xdm
do
chkconfig --del $SRV
done
]]></source>
</script>
</post-scripts>
</scripts>

-----Original Message-----
From: Ulrich Bernhard [mailto:ulrich.bernhard@xxxxxxxxxxx]
Sent: Tuesday, January 11, 2005 7:48 AM
To: suse-autoinstall@xxxxxxxx
Subject: [suse-autoinstall] autoyast runlevel editor and SuSE 9.2


I would like to activate and deactivate some services during
autoinstall. My xml file looks like:

<runlevels>
<default>5</default>
<services config:type="list">
<service>
<service_name>powersaved</service_name>
<service_status>disable</service_status>
</service>
<service>
<service_name>mysql</service_name>
<service_start>3 5</service_start>
</service>
</services>
</runlevels>

and the same statements with <runlevel> ... </runlevel>

In the logfile I can see the following:
2005-01-10 18:59:34 <1> linux(4265) [YCP] RunlevelEd.ycp:632 Service
mysql is not installed on target system, adding it by hand.
2005-01-10 18:59:34 <1> linux(4265) [YCP] RunlevelEd.ycp:632 Service
powersaved is not installed on target system, adding it by hand.

But at the end, the powersaved is not disabled and the mysqld is not
activated.

Any help is very welcome

Ulrich

--
+-----------------------------------------------------------+
| Ulrich Bernhard |
| Informatikdienste Tel: (+41-44) 635 67 73 |
| Universitaet Zuerich Fax: (+41-44) 635 45 05 |
| Winterthurerstr. 190 |
| CH-8057 Zuerich Email: ulrich.bernhard@xxxxxxxxxxx |
| Switzerland |
+-----------------------------------------------------------+

--
To unsubscribe, e-mail: suse-autoinstall-unsubscribe@xxxxxxxx
For additional commands, e-mail: suse-autoinstall-help@xxxxxxxx


< Previous Next >
This Thread
  • No further messages