Bug ID | 1178804 |
---|---|
Summary | Missing rules.xml used anyway |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | AutoYaST |
Assignee | yast2-maintainers@suse.de |
Reporter | luizluca@tre-sc.jus.br |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Hello, I use autoyas/default, using relurl://..//autoyast/. However, I never used a rules.xml. It looks like autoyast is looking for rules.xml and, when missing, using the "404 error page" as the rules.xml. 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoinstConfig.rb(ParseCmdLine):341 AutoYast profile location relurl://../autoyast/ 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoinstConfig.rb(ParseCmdLine):372 correcting relurl://..//autoyast/ to empty host entry 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoinstConfig.rb(ParseCmdLine):383 urltok = relurl://../autoyast/ 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/ProfileLocation.rb(Process):49 Path to remote control file: ../autoyast/ 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(getMAC):150 mac Addr ret:$["exit":0, "stderr":"", "stdout":"04:0e:3c:fc:4f:aa\n"] 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(getMAC):153 mac Addr tmp:04:0e:3c:fc:4f:aa 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(getMAC):155 mac Addr mac:040e3cfc4faa 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(hostaddress):1088 Found IP address: 192.168.9.144 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(AutoInstallRules):1072 init mac:040e3cfc4faa hostid:C0A80990 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/ProfileLocation.rb(Process):64 installation path from install.inf: http://repo/suse/opensuse-tumbleweed/oss/ 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/ProfileLocation.rb(Process):75 relurl for profile changed to: http://repo/suse/opensuse-tumbleweed/oss/../autoyast/ 2020-11-14 13:25:23 <2> install(4281) [agent-ini] IniParser.cc(UpdateIfModif):915 Data file '/etc/install.inf' was changed externaly! 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/ProfileLocation.rb(Process):166 Dir=/suse/opensuse-tumbleweed/oss/../autoyast/ 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/ProfileLocation.rb(Process):167 Fetching Rules File 2020-11-14 13:25:23 <1> install(4281) [agent-system] SystemAgent.cc(Execute):1156 mkdir /tmp/YaST2-04281-q6mS3U/rules 2020-11-14 13:25:23 <1> install(4281) [Ruby] transfer/file_from_url.rb(get_file_from_url):105 Scheme:http Host:repo Path:/suse/opensuse-tumbleweed/oss/../autoyast//rules/rules.xml Localfile:/tmp/YaST2-04281-q6mS3U/rules/rules.xml 2020-11-14 13:25:23 <1> install(4281) [Ruby] transfer/file_from_url.rb(get_file_from_url):125 Chr:scr TmpDir:/tmp/YaST2-04281-wzW5ZS Mp:/tmp/YaST2-04281-wzW5ZS/tmp_mount 2020-11-14 13:25:23 <1> install(4281) [agent-system] SystemAgent.cc(Execute):1156 mkdir /tmp/YaST2-04281-wzW5ZS/tmp_mount 2020-11-14 13:25:23 <1> install(4281) [agent-curl] CurlAgent.cc(Execute):269 Data: 2020-11-14 13:25:23 <1> install(4281) [agent-curl] CurlAgent.cc(Execute):270 Output: 2020-11-14 13:25:23 <1> install(4281) [agent-curl] CurlAgent.cc(Execute):269 Data: 2020-11-14 13:25:23 <1> install(4281) [agent-curl] CurlAgent.cc(Execute):270 Output: /tmp/YaST2-04281-q6mS3U/rules/rules.xml 2020-11-14 13:25:23 <1> install(4281) [agent-curl] CurlAgent.cc(Get):166 curl returned -> response code: 404, total size: 1015, total time 0.002567, content type: text/html; charset=utf-8 2020-11-14 13:25:23 <3> install(4281) [Ruby] transfer/file_from_url.rb(get_file_from_url):153 Can't find URL: http://repo/suse/opensuse-tumbleweed/oss/../autoyast/rules/rules.xml 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/ProfileLocation.rb(Process):225 Creating default Rules 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(CreateDefault):1053 Created default rules=["C0A80990", "C0A8099", "C0A809", "C0A80", "C0A8", "C0A", "C0", "C", "040E3CFC4FAA", "040e3cfc4faa", "default"] 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(GetRules):815 Getting Rules: ["C0A80990", "C0A8099", "C0A809", "C0A80", "C0A8", "C0A", "C0", "C", "040E3CFC4FAA", "040e3cfc4faa", "default"] 2020-11-14 13:25:23 <1> install(4281) [Ruby] modules/AutoInstallRules.rb(block in Merge):903 Working on file: C0A80990 2020-11-14 13:25:23 <1> install(4281) [Ruby] autoinstall/xml_validator.rb(validate):62 Validating /tmp/YaST2-04281-q6mS3U/rules/C0A80990 against /usr/share/YaST2/schema/autoyast/rng/profile.rng... 2020-11-14 13:25:23 <3> install(4281) [Ruby] autoinstall/xml_validator.rb(validate):68 XML validation errors: ["4:0: ERROR: Expecting element profile, got html"] '/tmp/YaST2-04281-q6mS3U/rules/rules.xml' has a standard apache 404 error page. And when I created an empty rules.xml, it failed with: 2020-11-14 13:47:32 <1> install(4281) [Ruby] autoinstall/xml_validator.rb(validate):62 Validating /tmp/YaST2-04281-q6mS3U/rules/rules.xml against /usr/share/YaST2/schema/autoyast/rng/rules.rng... 2020-11-14 13:47:32 <3> install(4281) [Ruby] autoinstall/xml_validator.rb(rescue in validate):71 Cannot parse XML: 53:0: ERROR: Internal found no define for ref haspcmica