Actions
Bug #2110
closedSafemode broken between RC1->RC4 Upgrade
Description
Safemode appears to be broken after my upgrade from RC1 to RC4. RC4 was unable to render my provisioning template with the following error:
There was an error rendering the FC-RHEL6-Kickstart template: compile error /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:55: syntax error, unexpected tNEQ ...jail.concat((@osver.to_jail.!=(3) and if @osver.to_jail.!=(4... ^ /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:55: syntax error, unexpected tNEQ ...!=(3) and if @osver.to_jail.!=(4) then ^ /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:55: syntax error, unexpected kTHEN, expecting ')' /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:57: syntax error, unexpected kELSE, expecting ')' /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:59: syntax error, unexpected kEND, expecting ')' end).to_jail.to_s) ^ /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:60: syntax error, unexpected tIDENTIFIER, expecting ')' _erbout.to_jail.concat("\nbootloader ... ^ /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:68: syntax error, unexpected tNEQ _erbout.to_jail.concat((if @osver.to_jail.!=(3) then ^ /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:68: syntax error, unexpected kTHEN, expecting ')' /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:70: syntax error, unexpected kEND, expecting ')' end).to_jail.to_s) ^ /usr/lib/ruby/gems/1.8/gems/safemode-1.1.0/lib/safemode.rb:71: syntax error, unexpected tIDENTIFIER, expecting ')' _erbout.to_jail.concat("network --bootproto ") ^
Disabling Safrmode in Settings->Provisioning allowed the template to render properly.
Actions