Bug 867697 - KickstartError: /usr/bin/firewall-offline-cmd is missing. Cannot setup firewall.
Summary: KickstartError: /usr/bin/firewall-offline-cmd is missing. Cannot setup firewall.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9f7483ca3e82839daec41cadefc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 06:27 UTC by satellitgo
Modified: 2012-11-21 16:49 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-21 16:49:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (623.93 KB, text/plain)
2012-10-18 06:28 UTC, satellitgo
no flags Details
File: product (6 bytes, text/plain)
2012-10-18 06:28 UTC, satellitgo
no flags Details
File: type (9 bytes, text/plain)
2012-10-18 06:28 UTC, satellitgo
no flags Details
File: ifcfg.log (631 bytes, text/plain)
2012-10-18 06:28 UTC, satellitgo
no flags Details
File: storage.log (178.76 KB, text/plain)
2012-10-18 06:28 UTC, satellitgo
no flags Details
File: version (2 bytes, text/plain)
2012-10-18 06:28 UTC, satellitgo
no flags Details
File: environ (767 bytes, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
File: anaconda.log (7.99 KB, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
File: syslog (96.30 KB, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
File: hashmarkername (8 bytes, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
File: packaging.log (181.78 KB, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
File: cmdline_file (101 bytes, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
File: release (24 bytes, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
File: program.log (100.42 KB, text/plain)
2012-10-18 06:29 UTC, satellitgo
no flags Details
tb (688.36 KB, text/plain)
2012-11-20 16:40 UTC, Bastien Nocera
no flags Details

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.


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