Hi,
currently testing opensuse 10.0 rc1, I found the following bugs in
autoyast:
- The hostname variable still contains the IP and not the hostname, at
least when booting with PXE/DHCP. So the following rule
<rule>
<hostname>
<match>cantor</match>
exact
</hostname>
<result>
<profile>profiles/part_cantor_create.xml</profile>
<continue config:type="boolean">true</continue>
</result>
</rule>
results in this code (from y2log):
2005-09-21 10:15:49 <1> linux(3662) [YCP] AutoInstallRules.ycp:386 Bash return: if
( [ "$hostname" = "cantor" ] ) ; then exit 0; else exit 1; fi ($["exit":1,
"stderr":"", "stdout":""]) ($["arch":"i386", "hostname":"141.84.x.xx"])
So hostaddress and hostname both contain the IP.
- in bootloader.dtd there is a definition
<!ELEMENT kernel_parameters (#PCDATA)>
but this element is not listed in the bootloader element:
<!ELEMENT bootloader (activate?, global?, initrd_modules?, loader_device?,
loader_type?, location?, repl_mbr?, sections?)>
In earlier versions it was listed behing the "location" and according to
the documentation it still should...
- the html documentation in the package still describes the tags "<install>"
and "<configure>", but the dtds don't contain them anymore.
- accidentally, I put a bash comment in an xml file instead of the xml
comment signs, i.e.:
<chroot-scripts config:type="list" >
<script>
# nfs fetching disabled for now
<!-- ... -->
The line with the # causes autoyast to segfault when parsing the script
tags. Of course this line is wrong here, but it should complain, not
segfault I guess :-)
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *