-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2011-7064 2011-05-17 00:11:15 --------------------------------------------------------------------------------
Name : mock Product : Fedora 14 Version : 1.1.10 Release : 1.fc14 URL : http://fedoraproject.org/wiki/Projects/Mock Summary : Builds packages inside chroots Description : Mock takes an SRPM and builds it in a chroot -------------------------------------------------------------------------------- Update Information: Biggest change is call to os.setsid() inside chroot to kill controlling terminal removed creation of /dev/tty in chroot for fc{13,24,15} and el6 added f15 configs added arm rawhide config miscellaneous cleanups symlink /dev/tty to /dev/ptmx for modern host OS'es (BZ# 609201) Integrate Mock with SCMs (CVS/Git/SVN) add retrylogic to mock.util.rmtree() force --shell shell to be /bin/sh (BZ# 667243) deleted fedora-12 configuration files don't error out if we can't delete the /proc/filesystems file make sure that pseudo-filesystem mountpoints exist Don't add --setopt=tsflags=nocontexts to all commands (BZ# 663021) added logging to scrub command to indicate what's being scrubbed record packages installed into root and store as cache.log (BZ# 444796) add calls to enable logging and calls to unlock build root add logging info to yum install (BZ# 594477) Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223) corrected examples for routine building in man page add runtime location of plugins added root and group checks for early notification of problems moved list of legal hosts for packages out to config files miscellaneous code cleanups symlink /dev/tty to /dev/ptmx for modern host OS'es (BZ# 609201) dd retrylogic to mock.util.rmtree() force --shell shell to be /bin/sh (BZ# 667243) deleted fedora-12 configuration files don't error out if we can't delete the /proc/filesystems file make sure that pseudo-filesystem mountpoints exist Don't add --setopt=tsflags=nocontexts to all commands (BZ# 663021 added logging to scrub command to indicate what's being scrubbed record packages installed into root and store as cache.log (BZ# 444796) add calls to enable logging and calls to unlock build root Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223) corrected examples for routine building in man page Integrate Mock with SCMs (CVS/Git/SVN) add runtime location of plugins added root and group checks for early notification of problems moved list of legal hosts for packages out to config files miscellaneous code cleanups This update addresses multiple issues seen with the new selinux plugin create empty /var/log/{last,fail}log in chroot rather than copy in possible large sparse file from host filesystem make sure that both --spec and --sources are specified when the --buildsrpm option is used use rpm module function compareEVR to compare kernel versions (string comparison doesn't work). change selinux plugin to use tmp directory for faux /proc/filesystems file, rather than cachedir (which may not exist) fix a typo in exception.py Added Alan Franzoni's umountall modifications - run update after unpacking root cache - clean up noarch builds - fix selinux plugin issue - fix repeated calls to umount - clean up i585 target fix Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue create empty /var/log/{last,fail}log in chroot rather than copy in possible large sparse file from host filesystem make sure that both --spec and --sources are specified when the --buildsrpm option is used use rpm module function compareEVR to compare kernel versions (string comparison doesn't work). change selinux plugin to use tmp directory for faux /proc/filesystems file, rather than cachedir (which may not exist) fix a typo in exception.py Added Alan Franzoni's umountall modifications - run update after unpacking root cache - clean up noarch builds - fix selinux plugin issue - fix repeated calls to umount - clean up i585 target fix Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue removed creation of /dev/tty in chroot for fc{13,24,15} and el6 added f15 configs added arm rawhide config miscellaneous cleanups symlink /dev/tty to /dev/ptmx for modern host OS'es (BZ# 609201) Integrate Mock with SCMs (CVS/Git/SVN) add retrylogic to mock.util.rmtree() force --shell shell to be /bin/sh (BZ# 667243) deleted fedora-12 configuration files don't error out if we can't delete the /proc/filesystems file make sure that pseudo-filesystem mountpoints exist Don't add --setopt=tsflags=nocontexts to all commands (BZ# 663021) added logging to scrub command to indicate what's being scrubbed record packages installed into root and store as cache.log (BZ# 444796) add calls to enable logging and calls to unlock build root add logging info to yum install (BZ# 594477) Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223) corrected examples for routine building in man page add runtime location of plugins added root and group checks for early notification of problems moved list of legal hosts for packages out to config files miscellaneous code cleanups symlink /dev/tty to /dev/ptmx for modern host OS'es (BZ# 609201) dd retrylogic to mock.util.rmtree() force --shell shell to be /bin/sh (BZ# 667243) deleted fedora-12 configuration files don't error out if we can't delete the /proc/filesystems file make sure that pseudo-filesystem mountpoints exist Don't add --setopt=tsflags=nocontexts to all commands (BZ# 663021 added logging to scrub command to indicate what's being scrubbed record packages installed into root and store as cache.log (BZ# 444796) add calls to enable logging and calls to unlock build root Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223) corrected examples for routine building in man page Integrate Mock with SCMs (CVS/Git/SVN) add runtime location of plugins added root and group checks for early notification of problems moved list of legal hosts for packages out to config files miscellaneous code cleanups This update addresses multiple issues seen with the new selinux plugin create empty /var/log/{last,fail}log in chroot rather than copy in possible large sparse file from host filesystem make sure that both --spec and --sources are specified when the --buildsrpm option is used use rpm module function compareEVR to compare kernel versions (string comparison doesn't work). change selinux plugin to use tmp directory for faux /proc/filesystems file, rather than cachedir (which may not exist) fix a typo in exception.py Added Alan Franzoni's umountall modifications - run update after unpacking root cache - clean up noarch builds - fix selinux plugin issue - fix repeated calls to umount - clean up i585 target fix Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue create empty /var/log/{last,fail}log in chroot rather than copy in possible large sparse file from host filesystem make sure that both --spec and --sources are specified when the --buildsrpm option is used use rpm module function compareEVR to compare kernel versions (string comparison doesn't work). change selinux plugin to use tmp directory for faux /proc/filesystems file, rather than cachedir (which may not exist) fix a typo in exception.py Added Alan Franzoni's umountall modifications - run update after unpacking root cache - clean up noarch builds - fix selinux plugin issue - fix repeated calls to umount - clean up i585 target fix Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state. added --unpriv mode to --shell remove rpmdb cache to to work around yum issue remove rpmdb cache to to work around yum issue -------------------------------------------------------------------------------- ChangeLog: * Fri May 13 2011 Clark Williams <[email protected]> - 1.1.10-1 - raise exception if running mock and user not member of mock group (BZ# 630791) - call setsid() to kill controlling terminal in chroot (BZ# 672713,501096) - Went back to creating /dev/tty and /dev/ptmx in all chroots (BZ# 683111) - Fixed problem where mock was not constrained to the chroot (BZ# 669733) - Fix typo in /dev/tty creation code for EPEL{4,5} (BZ# 675803) - From Marko Myllynen <[email protected]>: - updated SCM integration (BZ# 670453) - from Masatake YAMATO <[email protected]>: - fixed invocation typo in exception.py (BZ# 634555) - From Jan Vcelak <[email protected]>: - updated selinux plugin (BZ# 573111, 667190) - From Levente Farkas <[email protected]>: - adding missing macro for epel-5 configs (BZ# 695298) - From Mathieu Bridon <[email protected]> and Remi Collet <[email protected]>: - fix chroot cleanup issues (BZ# 668222) - fix ccache ownership issues (BZ# 700983) - From Dan Horák <[email protected]>: - added s390 back as legal arch for s390x (BZ# 678047) - From Ville Skyttä <[email protected]>: - Fixes shell escaping issue by using tuples rather than strings * Fri Feb 18 2011 Clark Williams <[email protected]> - 1.1.9-1 - fix createrepo generated root-owned repository data (BZ# 668278) - commented out /dev/tty handling code in backend.py (BZ# 609201) - from Ville Skyttä <[email protected]> - Use completion goodies from bash-completion >= 1.2 if available. - Add --scm-enable and --scm-option to bash completion. - Delete trailing whitespace. - Add --install bash completion. - Make --enable/disable-plugin completion work again. - From Jesse Keating <[email protected]> - Make "dist" for rawhide configs be "rawhide" (BZ# 506157) - Revert "turn off updates-released repository for fedora-14 configs" - From Mike McLean <[email protected]> - fix typo in el4/5 /dev/tty creation (fh ticket #13, mwhiteley) - From Dennis Gilmore <[email protected]> - Revert "disable the updates repos for F-15 they dont yet exist" - sparc64 boxes can build 32 bit sparc stuff - add rawhide arm config - use the s390 mirrorlists for s390 configs - disable the updates repos for F-15 they dont yet exist - add the f15 mock configs * Fri Dec 17 2010 Clark Williams <[email protected]> - 1.1.8-1 - corrected examples section of the mock.1 man page - added logging for 'install' and 'update' commadns (BZ# 594477) - added log file of root cache creation (BZ# 444796) - added logging to the scrub command - added unlockBuildRoot() method to clean up build root lockfile - added retry logic to mock.util.rmtree - removed fedora-12 config files - From Michael Hampton <[email protected]>: - Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223) - From Marko Myllynen <[email protected]>: - Integrate Mock with SCMs (CVS/Git/SVN) - document SCM build options in usage and man page - From Masatake YAMATO <[email protected]>: - add runtime location of plugins (BZ# 634224) * Mon Dec 13 2010 Clark Williams <[email protected]> - 1.1.7-1 - add 'legal_host_arches' config option to configs (BZ# 622792) - add root check and group check (BZ# 662223) - from Ville Skyttä <[email protected]>: - Try to set up an appropriate default.cfg symlink at post install time - Clean up disttag usage - Drop obsolete and nonfunctional F-8 bits from specfile - Drop no longer used requiresTextFromHdr() and uniqReqs() - Install build deps with yum-builddep - Add comment why binary packages are built with --nodeps * Thu Oct 14 2010 Clark Williams <[email protected]> - 1.1.6-1 - replace call to perl with native python edit function - change permissions of selinux plugin 'filesystems' file - from Ville Skyttä <[email protected]>: - Find out completions for --*-plugin dynamically - Keep $COLUMNS in consolehelper environment for --help formatting - Document --scrub, --enable-plugin, and --disable-plugin - Fix option name in --enable-plugin/--disable-plugin error string - Add --scrub completion - Complete on *.spm (*.src.rpm are sometimes named like that e.g. in SUSE) - Fix buildsrpm() docstring - Error message improvements -------------------------------------------------------------------------------- References: [ 1 ] Bug #675803 - "ERROR: sequence item 1: expected string, int found" when trying to do anything https://bugzilla.redhat.com/show_bug.cgi?id=675803 [ 2 ] Bug #678047 - add s390 as legal arch on s390x https://bugzilla.redhat.com/show_bug.cgi?id=678047 [ 3 ] Bug #683111 - /dev/tty and /dev/ptmx are not created in epel-5 based chroots on F14 https://bugzilla.redhat.com/show_bug.cgi?id=683111 [ 4 ] Bug #695298 - missing macro for epel-5 https://bugzilla.redhat.com/show_bug.cgi?id=695298 [ 5 ] Bug #700983 - ccache dir owned by root https://bugzilla.redhat.com/show_bug.cgi?id=700983 [ 6 ] Bug #672713 - mock chroot hangs when accessing /dev/tty https://bugzilla.redhat.com/show_bug.cgi?id=672713 [ 7 ] Bug #677157 - Missing fedora-15 configs https://bugzilla.redhat.com/show_bug.cgi?id=677157 [ 8 ] Bug #501096 - Mock failed test when building tcl https://bugzilla.redhat.com/show_bug.cgi?id=501096 [ 9 ] Bug #573111 - Mock environment needs to fake chroot into thinking SELinux is disabled. https://bugzilla.redhat.com/show_bug.cgi?id=573111 [ 10 ] Bug #630791 - /usr/bin/mock should give friendly error message if calling user is not in mock group https://bugzilla.redhat.com/show_bug.cgi?id=630791 [ 11 ] Bug #634224 - [patch] adding runtime plugin support https://bugzilla.redhat.com/show_bug.cgi?id=634224 [ 12 ] Bug #634555 - [patch] Wrong method name in InvalidArchitecture class py/mock/exception.py https://bugzilla.redhat.com/show_bug.cgi?id=634555 [ 13 ] Bug #667190 - Crash due to missing file in /tmp https://bugzilla.redhat.com/show_bug.cgi?id=667190 [ 14 ] Bug #668222 - cleanup_on_success from config not honored https://bugzilla.redhat.com/show_bug.cgi?id=668222 [ 15 ] Bug #669733 - mock trying to chown/chmod files outside of chroot https://bugzilla.redhat.com/show_bug.cgi?id=669733 [ 16 ] Bug #670453 - mock doesn't work when using scm plugin https://bugzilla.redhat.com/show_bug.cgi?id=670453 [ 17 ] Bug #609201 - building perl-TermReadKey hangs in mock https://bugzilla.redhat.com/show_bug.cgi?id=609201 [ 18 ] Bug #668278 - createrepo_command generate repodata own by root https://bugzilla.redhat.com/show_bug.cgi?id=668278 [ 19 ] Bug #506157 - Rawhide configs inconsistent https://bugzilla.redhat.com/show_bug.cgi?id=506157 [ 20 ] Bug #667243 - user with zsh as shell can't easily run chroot https://bugzilla.redhat.com/show_bug.cgi?id=667243 [ 21 ] Bug #663021 - [PATCH] Don't add --setopt=tsflags=nocontexts to all commands https://bugzilla.redhat.com/show_bug.cgi?id=663021 [ 22 ] Bug #444796 - RFE: add rpm -qa logfile for failed builds https://bugzilla.redhat.com/show_bug.cgi?id=444796 [ 23 ] Bug #594477 - mock install output isn't saved https://bugzilla.redhat.com/show_bug.cgi?id=594477 [ 24 ] Bug #662223 - Can't build packages: fails adding 'mockbuild' group https://bugzilla.redhat.com/show_bug.cgi?id=662223 [ 25 ] Bug #622792 - dysfunctional target_arch-check https://bugzilla.redhat.com/show_bug.cgi?id=622792 [ 26 ] Bug #629041 - selinux plugin expects that yum cache directory exists https://bugzilla.redhat.com/show_bug.cgi?id=629041 [ 27 ] Bug #630479 - rebuilds fail with ""execmod" access" errors from SELinux https://bugzilla.redhat.com/show_bug.cgi?id=630479 [ 28 ] Bug #637555 - Mock selinux plugin creates /proc/filesystems with incorrect permissions https://bugzilla.redhat.com/show_bug.cgi?id=637555 [ 29 ] Bug #642051 - Xvfb SELinux issues in mock https://bugzilla.redhat.com/show_bug.cgi?id=642051 [ 30 ] Bug #585973 - root cache fails to untar with <fail|last>log https://bugzilla.redhat.com/show_bug.cgi?id=585973 [ 31 ] Bug #633435 - /var/log/lastlog and /var/log/faillog included in cache.tar.gz https://bugzilla.redhat.com/show_bug.cgi?id=633435 [ 32 ] Bug #605800 - TypeError when using --buildsrpm https://bugzilla.redhat.com/show_bug.cgi?id=605800 [ 33 ] Bug #526414 - missing /dev/fd symlink causes some mock builds using it to fail https://bugzilla.redhat.com/show_bug.cgi?id=526414 [ 34 ] Bug #622170 - Latest architecture patches broke noarch builds https://bugzilla.redhat.com/show_bug.cgi?id=622170 [ 35 ] Bug #614440 - [PATCH] Get mock to turn off selinux within the chroot https://bugzilla.redhat.com/show_bug.cgi?id=614440 [ 36 ] Bug #622544 - i586 target no more possible https://bugzilla.redhat.com/show_bug.cgi?id=622544 [ 37 ] Bug #557526 - mock no longer runs yum update after unpacking root https://bugzilla.redhat.com/show_bug.cgi?id=557526 [ 38 ] Bug #620143 - ERROR: pop from empty list https://bugzilla.redhat.com/show_bug.cgi?id=620143 [ 39 ] Bug #620825 - Unmounts filesystems in wrong order, gives traceback https://bugzilla.redhat.com/show_bug.cgi?id=620825 [ 40 ] Bug #619819 - Please ship fedora-14-*.cfg https://bugzilla.redhat.com/show_bug.cgi?id=619819 [ 41 ] Bug #510409 - Mock not building SRPM https://bugzilla.redhat.com/show_bug.cgi?id=510409 [ 42 ] Bug #600487 - site-defaults.cfg cites defaults.cfg fix https://bugzilla.redhat.com/show_bug.cgi?id=600487 [ 43 ] Bug #607144 - mock -r epel-5-x86_64 --rebuild X.src.rpm is not working (dependencies problems?) https://bugzilla.redhat.com/show_bug.cgi?id=607144 [ 44 ] Bug #570434 - 'man mock' does not tell user to add him or herself to group 'mock' https://bugzilla.redhat.com/show_bug.cgi?id=570434 [ 45 ] Bug #450726 - No way to clean mock cache directory https://bugzilla.redhat.com/show_bug.cgi?id=450726 [ 46 ] Bug #516355 - newest mock not working on RHEL5 https://bugzilla.redhat.com/show_bug.cgi?id=516355 [ 47 ] Bug #486555 - Need to be able to clean/disable yum cache https://bugzilla.redhat.com/show_bug.cgi?id=486555 [ 48 ] Bug #522505 - --unpriv only works with --chroot https://bugzilla.redhat.com/show_bug.cgi?id=522505 [ 49 ] Bug #593654 - mock/yum: IndexError: list index out of range https://bugzilla.redhat.com/show_bug.cgi?id=593654 -------------------------------------------------------------------------------- This update can be installed with the "yum" update program. Use su -c 'yum update mock' at the command line. For more information, refer to "Managing Software with yum", available at http://docs.fedoraproject.org/yum/. All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/package-announce
