-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2011-1869 2011-02-20 06:15:31 --------------------------------------------------------------------------------
Name : mock Product : Fedora 13 Version : 1.1.9 Release : 1.fc13 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: 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 Feb 18 2011 Clark Williams <[email protected]> - 1.1.9-1 - fix createrepo generated root-owned repository data (BZ# 668278) - 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) * Tue Feb 8 2011 Fedora Release Engineering <[email protected]> - 1.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * 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 * Fri Sep 17 2010 Clark Williams <[email protected]> - 1.1.5-1 - fix typo in exception.py - add cmpKernelEVR function to compare kernel versions (BZ# 526414) - change selinux plugin to use tempfilej - added commandline argument checking for --buildsrpm (BZ# 605800) - create empty faillog and lastlog in <chroot>/var/log (BZ# 585973 & 633435) - changed copyin/copyout prints from debug to info - from Alan Franzoni <[email protected]>: - reworked the root object _umountall() method - fix epel4 chroot cleanup and umountall issue - add exception trapping code to _unlock_and_rm_chroot() method * Mon Aug 9 2010 Clark Williams <[email protected]> - 1.1.4-1 - pass selinux status to mock.util.rmtree() (BZ# 614440) - change integer constants to symbolic errno constants in util.py - from Paul Howarth <[email protected]> - update packages after unpacking root cache (BZ# 557526) - noarch is always a legal arch (BZ# 622170) - exclude bind-mounted cache dirs from root cache - retain order of umount commands (BZ# 620825) - add i586 as legal build target (BZ# 622544) * Tue Aug 3 2010 Clark Williams <[email protected]> - 1.1.3-1 - fix umount ordering problem with selinux plugin (BZ# 620825) - setup SELinux state properly (BZ# 620143) * Fri Jul 30 2010 Clark Williams <[email protected]> - 1.1.2-1 - From Jan Vcelak <[email protected]>: - added selinux plugin - From Kalev Lember <[email protected]>: - added max_fs_size parameter for tmpfs plugin - From Ricky Zhou <[email protected]>: - allow --sources to specify either single file or directory (BZ# 510409) - From Dennis Gilmore <[email protected]>: - update the epel-6 mock configs to point at the beta2 mirrorlist urls - From Paul B. Schroeder <[email protected]>: - add the --scrub option for cleaning up cache (BZ# 450726) - added f14 configs - added symlink from /proc/self/fd to /dev/fd in the chroot (BZ# 526414) - added i686 architecture - added logic to detect invalid architecture combinations (BZ# 607144) - added description of how to add user to the mock group (BZ# 570434) - deleted fedora-10 and fedora-11 configs - moved rpmdb clean block so that it works with --offline - changed from referencing defaults.cfs to site-defaults.cfg (BZ# 600487) - fix cachefile generation filtering logic - filter out proc,sys,and dev from cache file creation * Fri May 14 2010 Clark Williams <[email protected]> - 1.1.1-1 - patch from Seth Vidal <[email protected]> to handle rpmdb cache issue (BZ#591741) -------------------------------------------------------------------------------- References: [ 1 ] Bug #609201 - building perl-TermReadKey hangs in mock https://bugzilla.redhat.com/show_bug.cgi?id=609201 [ 2 ] Bug #668278 - createrepo_command generate repodata own by root https://bugzilla.redhat.com/show_bug.cgi?id=668278 [ 3 ] Bug #506157 - Rawhide configs inconsistent https://bugzilla.redhat.com/show_bug.cgi?id=506157 [ 4 ] Bug #667243 - user with zsh as shell can't easily run chroot https://bugzilla.redhat.com/show_bug.cgi?id=667243 [ 5 ] Bug #663021 - [PATCH] Don't add --setopt=tsflags=nocontexts to all commands https://bugzilla.redhat.com/show_bug.cgi?id=663021 [ 6 ] Bug #444796 - RFE: add rpm -qa logfile for failed builds https://bugzilla.redhat.com/show_bug.cgi?id=444796 [ 7 ] Bug #594477 - mock install output isn't saved https://bugzilla.redhat.com/show_bug.cgi?id=594477 [ 8 ] Bug #662223 - Can't build packages: fails adding 'mockbuild' group https://bugzilla.redhat.com/show_bug.cgi?id=662223 [ 9 ] Bug #622792 - dysfunctional target_arch-check https://bugzilla.redhat.com/show_bug.cgi?id=622792 [ 10 ] Bug #573111 - Mock environment needs to fake chroot into thinking SELinux is disabled. https://bugzilla.redhat.com/show_bug.cgi?id=573111 [ 11 ] Bug #629041 - selinux plugin expects that yum cache directory exists https://bugzilla.redhat.com/show_bug.cgi?id=629041 [ 12 ] Bug #630479 - rebuilds fail with ""execmod" access" errors from SELinux https://bugzilla.redhat.com/show_bug.cgi?id=630479 [ 13 ] Bug #637555 - Mock selinux plugin creates /proc/filesystems with incorrect permissions https://bugzilla.redhat.com/show_bug.cgi?id=637555 [ 14 ] Bug #642051 - Xvfb SELinux issues in mock https://bugzilla.redhat.com/show_bug.cgi?id=642051 [ 15 ] Bug #585973 - root cache fails to untar with <fail|last>log https://bugzilla.redhat.com/show_bug.cgi?id=585973 [ 16 ] Bug #633435 - /var/log/lastlog and /var/log/faillog included in cache.tar.gz https://bugzilla.redhat.com/show_bug.cgi?id=633435 [ 17 ] Bug #605800 - TypeError when using --buildsrpm https://bugzilla.redhat.com/show_bug.cgi?id=605800 [ 18 ] Bug #526414 - missing /dev/fd symlink causes some mock builds using it to fail https://bugzilla.redhat.com/show_bug.cgi?id=526414 [ 19 ] Bug #622170 - Latest architecture patches broke noarch builds https://bugzilla.redhat.com/show_bug.cgi?id=622170 [ 20 ] Bug #614440 - [PATCH] Get mock to turn off selinux within the chroot https://bugzilla.redhat.com/show_bug.cgi?id=614440 [ 21 ] Bug #622544 - i586 target no more possible https://bugzilla.redhat.com/show_bug.cgi?id=622544 [ 22 ] Bug #557526 - mock no longer runs yum update after unpacking root https://bugzilla.redhat.com/show_bug.cgi?id=557526 [ 23 ] Bug #620143 - ERROR: pop from empty list https://bugzilla.redhat.com/show_bug.cgi?id=620143 [ 24 ] Bug #620825 - Unmounts filesystems in wrong order, gives traceback https://bugzilla.redhat.com/show_bug.cgi?id=620825 [ 25 ] Bug #619819 - Please ship fedora-14-*.cfg https://bugzilla.redhat.com/show_bug.cgi?id=619819 [ 26 ] Bug #510409 - Mock not building SRPM https://bugzilla.redhat.com/show_bug.cgi?id=510409 [ 27 ] Bug #600487 - site-defaults.cfg cites defaults.cfg fix https://bugzilla.redhat.com/show_bug.cgi?id=600487 [ 28 ] 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 [ 29 ] 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 [ 30 ] Bug #450726 - No way to clean mock cache directory https://bugzilla.redhat.com/show_bug.cgi?id=450726 [ 31 ] Bug #516355 - newest mock not working on RHEL5 https://bugzilla.redhat.com/show_bug.cgi?id=516355 [ 32 ] Bug #486555 - Need to be able to clean/disable yum cache https://bugzilla.redhat.com/show_bug.cgi?id=486555 [ 33 ] Bug #522505 - --unpriv only works with --chroot https://bugzilla.redhat.com/show_bug.cgi?id=522505 [ 34 ] 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
