Bug 1035276

Summary: /usr/bin/firewall-offline-cmd called, but for RHEL based distributions this command is not available.
Product: [Fedora] Fedora Reporter: Frank Büttner <bugzilla>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: adam.stokes, bcl, bruno, chandank.kumar, dhuff, Jasper.Hartline, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 16:02:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Büttner 2013-11-27 12:41:47 UTC
Description of problem:
When using the livecd tools to build an live CD for CentOS 6,
it will fail after install all the packages.

Version-Release number of selected component (if applicable):
livecd-tools-19.6-1.fc19.x86_64

How reproducible:
When you try to build the live cd.


Actual results:
After the packages are installed this error will occur:
Error creating Live CD : Unable to run ['/usr/bin/firewall-offline-cmd', '--enabled']!

Expected results:
That the CD is created.

Additional info:
In RHEL6 based distributions, there exists no tool called firewall-offline-cmd, because no firewalld packages exists for it.

Comment 1 Brian Lane 2013-11-27 16:02:16 UTC
You need to use the correct version of livecd-tools. It generally tracks the fedora release, so newer version will depend on things that are not in older releases.

Comment 2 Chandan 2014-10-10 14:48:49 UTC
I am using latest fedora 20 and livecd-tools-20.5-1.fc20.x86_64.

I am trying to create a CentOS-6.5 minimal live cd. But I am getting the same error as he mentioned.

I am using below kickstart

lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --enablemd5
firewall --service=ssh
selinux --disable
repo --name=my-name    --baseurl=http://192.168.2.66/c6.6/

%packages 
@core
%end

------------------------

At the end I get this error


 Installing: ipw2200-firmware             ##################### [192/193] 
  Installing: zd1211-firmware              ##################### [193/193] 

Error creating Live CD : Unable to run ['/usr/bin/firewall-offline-cmd', '--enabled', '--service=ssh']!

I have mounted a whole dvd image on http://192.168.2.66/c6.6/. I read couple of more bugs related to this issue, many times they talk about firewalld package, but that packages in not part of CentOS base.

Comment 3 Brian Lane 2014-10-10 16:40:13 UTC
You should be using the epel6 version of livecd-tools to create centos6 live media.