I run an autoyast installation with SLES10. I would like to activate the
cups-lpd and telnetd daemon with xinetd. The xml file for the xinetd
config is:
<inetd>
0
<conf>
<iid>1:/etc/xinetd.d/cups-lpd</iid>
<protocol>tcp</protocol>
<script>cups-lpd</script>
<server>/usr/lib/cups/daemon/cups-lpd</server>
<service config:type="boolean">false</service>
</conf>
<conf>
<enabled config:type="boolean">true</enabled>
<iid>1:/etc/xinetd.d/telnet</iid>
<protocol>tcp</protocol>
<script>telnet</script>
<server>/usr/sbin/in.telnetd</server>
<service config:type="boolean">false</service>
</conf>
0
</inetd>
In the logfile I found:
2006-11-09 09:59:37 <1> serv1(3828) [YCP]
clients/inst_autoconfigure.ycp:107 Writing configuration for inetd
2006-11-09 09:59:37 <1> serv1(3828) [YCP]
clients/inst_autoconfigure.ycp:134 Calling auto client with:
$["last_created":0, "netd_conf":[$["iid":"1:/e
tc/xinetd.d/cups-lpd", "protocol":"tcp", "script":"cups-lpd",
"server":"/usr/lib/cups/daemon/cups-lpd", "service":false],
$["enabled":true, "iid":"1:
/etc/xinetd.d/telnet", "protocol":"tcp", "script":"telnet",
"server":"/usr/sbin/in.telnetd", "service":false]], "netd_status":0]
2006-11-09 09:59:37 <1> serv1(3828) [YCP]
clients/inst_autoconfigure.ycp:38 current step: 16
2006-11-09 09:59:37 <2> serv1(3828) [Parser] inetd/dialogs.ycp:240
Warning: find(...) is deprecated, please fix
2006-11-09 09:59:37 <1> serv1(3828) [wfm] Y2CCWFM.cc(createInLevel):153
Parsing finished
2006-11-09 09:59:37 <1> serv1(3828) [Interpreter] inetd/routines.ycp:152
Calling YaST client inetd_auto (arguments: ["Write"])
2006-11-09 09:59:37 <1> serv1(3828) [YCP] clients/inetd_auto.ycp:26
----------------------------------------
2006-11-09 09:59:37 <1> serv1(3828) [YCP] clients/inetd_auto.ycp:27
Xinetd auto started
2006-11-09 09:59:37 <1> serv1(3828) [YCP] Inetd.ycp:287 Calling write:
2006-11-09 09:59:37 <1> serv1(3828) [YCP] Inetd.ycp:333 Writing done
2006-11-09 09:59:37 <1> serv1(3828) [YCP] clients/inetd_auto.ycp:151
Xinetd auto finished
But after the installation are both services, cups-lpd and telnet, disabled.
How can I enable these services with autoyast?
Thanks
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@id.unizh.ch |
| Switzerland |
+-----------------------------------------------------------+