Bug 714877 - livecd-creator fails when policycoreutils are not isntalled
Summary: livecd-creator fails when policycoreutils are not isntalled
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 14
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: 2011-06-21 07:43 UTC by Tomas Kopecek
Modified: 2011-08-11 23:43 UTC (History)
6 users (show)

Fixed In Version: livecd-tools-17.0-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-11 23:43:11 UTC
Type: ---


Attachments (Terms of Use)

Description Tomas Kopecek 2011-06-21 07:43:07 UTC
When /sbin/setfiles is missing, creator gives unclear error message:

Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 150, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 132, in main
    creator.mount(options.base_on, options.cachedir)
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 529, in mount
    self.__create_selinuxfs()
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 469, in __create_selinuxfs
    subprocess.call(arglist, close_fds = True)
  File "/usr/lib64/python2.7/subprocess.py", line 486, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1201, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Proposed solution: add policycoreutils to Requires
Error was seen with build livecd-tools-14.2-1.fc14.x86_64


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