From: Developers l. f. trouble-m. <tro...@li...> - 2010-05-08 13:42:18
|
Also getting similar error on RHEL6 beta. Would anyone be interested in my modified 0.03 version that I updated to add RHEL4, RHEL5, RHEL6 and Fedora13 to be allowable OS's to run? None of these are tested out on the platforms yet as I've not been able to get it to run correctly without errors on my two VM's. Matt On Thu, May 6, 2010 at 1:45 PM, Matt Millard <mil...@gm...> wrote: > I'm trying to get things running on the Fedora 13 beta and am getting > this error when running trouble-maker. Thoughts? > > [root@fedora13beta ~]# /usr/local/trouble-maker/bin/trouble-maker.pl > --version=Fedora_2 > > Trouble-maker version 0.03 > Copyright (C) 2004 by Josh More > Trouble-maker comes with ABSOLUTELY NO WARRANTY > This is free software, and you are welcome to redistribute it under > certain conditions. > For details, see the file 'COPYING' included with this distribution. > > This program is intended for training purposes only, and will cause > system problems. > To proceed, type 'yes'. > (To bypass this step, change the value of the $bypass variable to '1') >> yes > YAML Warning: Duplicate map key found. Ignoring. > Code: YAML_LOAD_WARN_DUPLICATE_KEY > Line: 40 > Document: 1 > at /usr/share/perl5/YAML/Base.pm line 92 > YAML::Base::warn('YAML::Loader=HASH(0x9ddfe88)', > 'YAML_LOAD_WARN_DUPLICATE_KEY') called at > /usr/share/perl5/YAML/Loader.pm line 361 > YAML::Loader::_parse_mapping('YAML::Loader=HASH(0x9ddfe88)', > '') called at /usr/share/perl5/YAML/Loader.pm line 170 > YAML::Loader::_parse_node('YAML::Loader=HASH(0x9ddfe88)') > called at /usr/share/perl5/YAML/Loader.pm line 360 > YAML::Loader::_parse_mapping('YAML::Loader=HASH(0x9ddfe88)', > '') called at /usr/share/perl5/YAML/Loader.pm line 170 > YAML::Loader::_parse_node('YAML::Loader=HASH(0x9ddfe88)') > called at /usr/share/perl5/YAML/Loader.pm line 105 > YAML::Loader::_parse('YAML::Loader=HASH(0x9ddfe88)') called at > /usr/share/perl5/YAML/Loader.pm line 27 > YAML::Loader::load('YAML::Loader=HASH(0x9ddfe88)', '# In order > to minimize real system damage, these files will g...') called at > /usr/share/perl5/YAML.pm line 36 > YAML::Load('# In order to minimize real system damage, these > files will g...') called at > /usr/local/trouble-maker/bin/trouble-maker.pl line 158 > YAML Warning: Duplicate map key found. Ignoring. > Code: YAML_LOAD_WARN_DUPLICATE_KEY > Line: 27 > Document: 1 > at /usr/share/perl5/YAML/Base.pm line 92 > YAML::Base::warn('YAML::Loader=HASH(0x9dfb2d8)', > 'YAML_LOAD_WARN_DUPLICATE_KEY') called at > /usr/share/perl5/YAML/Loader.pm line 361 > YAML::Loader::_parse_mapping('YAML::Loader=HASH(0x9dfb2d8)', > '') called at /usr/share/perl5/YAML/Loader.pm line 170 > YAML::Loader::_parse_node('YAML::Loader=HASH(0x9dfb2d8)') > called at /usr/share/perl5/YAML/Loader.pm line 360 > YAML::Loader::_parse_mapping('YAML::Loader=HASH(0x9dfb2d8)', > '') called at /usr/share/perl5/YAML/Loader.pm line 170 > YAML::Loader::_parse_node('YAML::Loader=HASH(0x9dfb2d8)') > called at /usr/share/perl5/YAML/Loader.pm line 105 > YAML::Loader::_parse('YAML::Loader=HASH(0x9dfb2d8)') called at > /usr/share/perl5/YAML/Loader.pm line 27 > YAML::Loader::load('YAML::Loader=HASH(0x9dfb2d8)', '# > ===========================================================...') > called at /usr/share/perl5/YAML.pm line 36 > YAML::Load('# > ===========================================================...') > called at /usr/local/trouble-maker/bin/trouble-maker.pl line 158 > print() on unopened filehandle O at > /usr/local/trouble-maker/bin/trouble-maker.pl line 330. > PROBLEM: > The system will not boot > > The /tmp/trouble-maker/backup directory doesn't have the backed up > /boot/grub/grub.conf file in it and there are no modification made to > the existing /boot/grub/grub.conf. This is just an example. > Basically all of the modules are behaving in this manner. > > > FYI - on Fedora 13 the required perl modules perl-Archive-Tar and > perl-YAML are available in the default repo so getting going is pretty > painless. I've modified each of the config.yaml files to include > Fedora_13 as a valid os_version as well and repackaged them up locally > for testing. > > Matt > > -- > Matt Millard > > http://photos.millardfam.com > http://twitter.com/gocyclones > -- Matt Millard http://photos.millardfam.com http://twitter.com/gocyclones |