Bug 1035276 - /usr/bin/firewall-offline-cmd called, but for RHEL based distributions this command is not available.
Summary: /usr/bin/firewall-offline-cmd called, but for RHEL based distributions this c...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 12:41 UTC by Frank Büttner
Modified: 2014-10-10 16:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 16:02:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.