|
Bugzilla – Full Text Bug Listing |
| Summary: | Configured xinetd service not active. | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Uwe Gansert <ug> |
| Component: | AutoYaST | Assignee: | Lukas Ocilka <locilka> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Adding <enabled config:type="boolean">true</enabled> wouldn't help the problem
might be the testing:
If you run a sumple script
--- cut ---
{
import "Inetd";
y2milestone("-------------------------------------------------------------------");
Inetd::Import($[
"last_created":0,
"netd_conf":[$[
"protocol":"tcp",
"script":"vnc",
"server":"/usr/X11R6/bin/vnc_inetd_httpd",
"service":"vnchttpd3",
]],
"netd_status":0
]);
y2milestone("-------------------------------------------------------------------");
Inetd::Write();
y2milestone("-------------------------------------------------------------------");
}
--- cut ---
it should work. But it depends on the working directory. If you run it just in
root "/" (chrooted or on the base system) it works, if you run it somewhere
else, it doesn't (because of symbolic ./etc/xinet/...* configurations).
It is because I don't know anything about the current working directory and I
don't know how autoyast runs the autoinstallation.
On the other hand, there was probably an error of missing `return...` from
`maplist` when Import()ing the configuration :) I'll provide a patch in SVN and
let's test it please.
Hmm, nothing to patch, I must have had hallucinations ;) The srcipt mentioned above works well without any patch, just running it from the root ( cd /; /sbin/yast script.ycp ). OK, fixed replacing the "./etc/xinetd.d/" with "/etc/xinetd.d/" fixing in SVN, build will follow |
Given from autoinst.xml created by autoyast ... <conf> <protocol>tcp</protocol> <script>rsh</script> <server>/usr/sbin/in.rshd</server> <service>shell</service> </conf> ... After automatic installation the service is not active: Extract from /etc/xinetd/rsh ... service shell { # server_args = /usr/sbin/in.rshd -L disable = yes ... } The yast log tells me: .... "inetd":$["last_created":0, "netd_conf":[$["protocol":"tcp", "script":"rsh", "server":"/usr/sbin/in.rshd", "service":false]], .... Solution: Found in the autoyast.pdf Guide: Add <enabled config:type="boolan">true</enabled> by hand.