Bug 1318952

Summary: livemedia-creator --compress and --compression in manpage
Product: Red Hat Enterprise Linux 7 Reporter: Jozef Mlich <jmlich83>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jstodola, mkovarik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-19.6.68-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 23:45:17 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:

Description Jozef Mlich 2016-03-18 09:03:53 UTC
The man page contains incorrect information about compress switch:
man /usr/share/man/man1/livemedia-creator.1.gz
namely:

--compress
              Compression binary for make-tar. xz, lzma, gzip, and bzip2 are supported. xz is the default.


But livemedia-creator doesn't know option compress:

[root@ti3 ~]# livemedia-creator --compress gzip
usage: livemedia-creator [-h]
                         (--make-iso | --make-disk | --make-fsimage | --make-appliance | --make-ami | --make-tar | --make-pxe-live | --make-ostree-live)
                         [--iso ISO] [--fs-label FS_LABEL]
                         [--compression COMPRESSION]
                         [--compress-arg COMPRESS_ARGS] [--ks KS]
                         [--image-only] [--no-virt] [--proxy PROXY]
                         [--anaconda-arg ANACONDA_ARGS]
                         [--armplatform ARMPLATFORM] [--location LOCATION]
                         [--logfile LOGFILE]
                         [--lorax-templates LORAX_TEMPLATES] [--tmp TMP]
                         [--resultdir RESULT_DIR] [--macboot] [--nomacboot]
                         [--disk-image DISK_IMAGE] [--keep-image]
                         [--fs-image FS_IMAGE] [--image-name IMAGE_NAME]
                         [--qcow2] [--qcow2-arg QCOW2_ARGS]
                         [--app-name APP_NAME] [--app-template APP_TEMPLATE]
                         [--app-file APP_FILE] [--ram MEMORY] [--vcpus VCPUS]
                         [--vnc VNC] [--arch ARCH] [--kernel-args KERNEL_ARGS]
                         [--dracut-arg DRACUT_ARGS]
                         [--live-rootfs-size LIVE_ROOTFS_SIZE]
                         [--live-rootfs-keep-size] [--title TITLE]
                         [--project PROJECT] [--releasever RELEASEVER]
                         [--volid VOLID] [--squashfs_args SQUASHFS_ARGS]
livemedia-creator: error: ambiguous option: --compress could match --compression, --compress-arg

Comment 3 Michal Kovarik 2016-07-28 07:54:26 UTC
Verified on lorax-19.6.74-1.el7.
# man livemedia-creator | grep compress
           [--compression] [--compress-arg]
       --compression
       --compress-arg
              Arguments to pass to compression. Pass once for each argument

Comment 5 errata-xmlrpc 2016-11-03 23:45:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2165.html