Bug 867697

Summary: KickstartError: /usr/bin/firewall-offline-cmd is missing. Cannot setup firewall.
Product: [Fedora] Fedora Reporter: satellitgo
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, bnocera, dennis, g.kaviyarasu, jonathan, ondrejj, petersen, satellitgo, sbueno, tflink, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9f7483ca3e82839daec41cadefc71e997db595e027d128f5d5bdae52894f69af
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-21 16:49:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log
none
tb none

Description satellitgo 2012-10-18 06:27:47 UTC
Description of problem:
install mate desktot in smoke 11 netinstall  error in configuring 

Version-Release number of selected component:
anaconda-18.18

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.1-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.18 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 480, in execute
:    raise KickstartError(msg)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 62, in doConfiguration
:    ksdata.firewall.execute(storage, ksdata, instClass)
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
:    threading.Thread.run(self, *args, **kwargs)
:KickstartError: /usr/bin/firewall-offline-cmd is missing. Cannot setup firewall.

Comment 1 satellitgo 2012-10-18 06:28:14 UTC
Created attachment 629191 [details]
File: anaconda-tb

Comment 2 satellitgo 2012-10-18 06:28:26 UTC
Created attachment 629192 [details]
File: product

Comment 3 satellitgo 2012-10-18 06:28:28 UTC
Created attachment 629193 [details]
File: type

Comment 4 satellitgo 2012-10-18 06:28:31 UTC
Created attachment 629194 [details]
File: ifcfg.log

Comment 5 satellitgo 2012-10-18 06:28:34 UTC
Created attachment 629195 [details]
File: storage.log

Comment 6 satellitgo 2012-10-18 06:28:49 UTC
Created attachment 629196 [details]
File: version

Comment 7 satellitgo 2012-10-18 06:29:10 UTC
Created attachment 629197 [details]
File: environ

Comment 8 satellitgo 2012-10-18 06:29:13 UTC
Created attachment 629198 [details]
File: anaconda.log

Comment 9 satellitgo 2012-10-18 06:29:15 UTC
Created attachment 629199 [details]
File: syslog

Comment 10 satellitgo 2012-10-18 06:29:18 UTC
Created attachment 629200 [details]
File: hashmarkername

Comment 11 satellitgo 2012-10-18 06:29:20 UTC
Created attachment 629201 [details]
File: packaging.log

Comment 12 satellitgo 2012-10-18 06:29:23 UTC
Created attachment 629202 [details]
File: cmdline_file

Comment 13 satellitgo 2012-10-18 06:29:25 UTC
Created attachment 629203 [details]
File: release

Comment 14 satellitgo 2012-10-18 06:29:28 UTC
Created attachment 629204 [details]
File: program.log

Comment 15 satellitgo 2012-10-18 06:36:43 UTC
smoke11 2nd bug on install

Package: anaconda-18.18
OS Release: Fedora release 18

Comment 16 Tim Flink 2012-10-18 07:25:33 UTC
I did an install using a smoke test iso (smoke 11 - anaconda-18.18-1), selected autopartitioning and the gnome package set. The traceback appeared while "Configuring installed system" was above the installation progress bar

Package: anaconda-18.18
OS Release: Fedora release 18

Comment 17 Jens Petersen 2012-10-18 08:34:52 UTC
happened at end of Live install

Package: anaconda-18.18-1.fc18.x86_64
OS Release: Fedora release 18

Comment 18 Brian Lane 2012-10-18 12:33:49 UTC
The repo needs to have firewalld-0.2.9-1 in it, logs show 0.2.8-1

Comment 19 satellitgo 2012-10-18 13:29:46 UTC
install to HD from smoke 11 netinstall of mate-desktop worked fine after cold boot despite this error

Comment 20 Jan ONDREJ 2012-10-23 08:25:31 UTC
I installed today from 18-Beta-TC6 and development tree with same error.
May be some dependency problems of installer? I use kickstart minimal nobase install.

Comment 21 Bastien Nocera 2012-11-20 13:54:47 UTC
1. Boot F18 TC8 Live CD
2. Update anaconda to fix a bunch of bugs (firewalld 0.2.9 gets installed).
3. Install
4. Get above error because the image has firewalld 0.2.7 and the updated anaconda uses firewalld 0.2.9 (with the firewall-offline-cmd command).

anaconda should pick up the updated packages from the live system.

Comment 22 Chris Lumens 2012-11-20 15:17:58 UTC
Please attach the complete /tmp/anaconda-tb-* file to this bug report.

Comment 23 Bastien Nocera 2012-11-20 16:40:24 UTC
Created attachment 648677 [details]
tb

Comment 24 Bastien Nocera 2012-11-21 12:58:38 UTC
Work-around is to not put in the root password during the installation, and:
- start a terminal
- su
- chroot /mnt/sysimage
- ln -s /bin/true /usr/bin/firewall-offline-cmd
- close terminal
- put in root password
- click continue

Comment 25 Chris Lumens 2012-11-21 16:02:43 UTC
If /mnt/sysimage/usr/bin/firewall-offline-cmd does not exist, that means /usr/bin/firewall-offline-cmd on the live cd does not exist, which means that there's a problem composing the live images.  They will need logs to see what's going on with that, but I'm sure they can find them.

Comment 26 Bastien Nocera 2012-11-21 16:36:24 UTC
(In reply to comment #25)
> If /mnt/sysimage/usr/bin/firewall-offline-cmd does not exist, that means
> /usr/bin/firewall-offline-cmd on the live cd

It exists on the liveCD's memory image, because the new anaconda pulled in the version of firewalld that supports it. It's not on the disk image that anaconda uses to dd to the destination partition.

> does not exist, which means
> that there's a problem composing the live images.  They will need logs to
> see what's going on with that, but I'm sure they can find them.

It wasn't there in the live images because it didn't exist. There wasn't a new enough anaconda to need it either.

The problem is that those sort of problems exist when one needs to upgrade anaconda to make it work (it failed to start as I had a wireless card).

Comment 27 Chris Lumens 2012-11-21 16:49:06 UTC
The file absolutely must exist on the disk image, not in memory.  That is how live installs work, and how they have always worked.  We simply copy the exact contents of the disk image to your target drives.  These sorts of issues should not be overly common because we do not change requires all that often, and certainly more frequent tree composition should help minimize the risk even more.  Sorry, but I don't really see what we can do here aside from try to push people into running the absolute latest tree.