Bug 844852

Summary: lorax dies on an ignored error?
Product: [Fedora] Fedora Reporter: Endre "Hrebicek" Balint-Nagy <endre>
Component: loraxAssignee: Martin Gracik <mgracik>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 17CC: anaconda-maint-list, bcl, benl, dmach
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: 2012-08-02 10:59:29 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:
Attachments:
Description Flags
the error message none

Description Endre "Hrebicek" Balint-Nagy 2012-08-01 03:27:13 UTC
Created attachment 601643 [details]
the error message

Description of problem:
While creating an RHEL-7 media lorax died on missing /selinux directory.

Version-Release number of selected component (if applicable):
lorax-17.26-1.fc17.x86_64

How reproducible:
every time

Steps to Reproduce:
1. run a coomand like lorax '--product=Red Hat Enterprise Linux' --version=7.0 --release=7.0 --source=file:///mnt/redhat/rel-eng/${LORAX_REPO}/compose/Server/x86_64/os/  --source=file:///root/repo -e $LORAX_EXCLUDE --buildarch=x86_64 '--volid=RHEL-7.0-0.13rcudebug' /tmp/lorax

2. see the attached error
3.
  
Actual results:
no media made.

Expected results:
the missing /selinux MUST be ignored an the media generated.

Additional info:

Comment 1 Martin Gracik 2012-08-01 07:05:49 UTC
This is not because of missing /selinux, that is ignored.

Your problem is this line

return call(["mksquashfs", rootdir, outfile] + compressargs)

Do you have mksquashfs binary?

Comment 2 Endre "Hrebicek" Balint-Nagy 2012-08-01 15:30:53 UTC
I suppose I had mksquashfs - I am running lorax on a test box as I try to avoid any encounter with gnome3 aka "by a click further" - ,the preceding runs were successful, but will recheck anyway. I am using the same f17 repo (internal).

Comment 3 Endre "Hrebicek" Balint-Nagy 2012-08-02 08:47:45 UTC
despite the repo is the same, now no squashfs-tools package was installed.
installed it additionally, and added it to xml too.
(formerly I made 2-3 DVD images, capable to start anaconda, without squashfs-tools installation. Really strange.)
Thanks for helping. The BZ is a NOTABUG of course.