[mock] raise exception if running mock and user not member of mock group (BZ# 630791) call setsid() to kill
John Clark Williams
jcwillia at fedoraproject.org
Fri May 13 18:48:59 UTC 2011
commit 593f710f47f7b5fece98ffcbca6d7315ff98e16d
Author: Clark Williams <williams at redhat.com>
Date: Fri May 13 13:42:56 2011 -0500
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 <myllynen at redhat.com>:
updated SCM integration (BZ# 670453)
from Masatake YAMATO <yamato at redhat.com>:
fixed invocation typo in exception.py (BZ# 634555)
From Jan Vcelak <jvcelak at redhat.com>:
updated selinux plugin (BZ# 573111, 667190)
From Levente Farkas <lfarkas at lfarkas.org>:
adding missing macro for epel-5 configs (BZ# 695298)
From Mathieu Bridon <bochecha at fedoraproject.org> and
Remi Collet <fedora at famillecollet.com>:
fix chroot cleanup issues (BZ# 668222)
fix ccache ownership issues (BZ# 700983)
From Dan Horák <dan at danny.cz>:
added s390 back as legal arch for s390x (BZ# 678047)
From Ville Skyttä <ville.skytta at iki.fi>:
Fixes shell escaping issue by using tuples rather than strings
.gitignore | 1 +
mock.spec | 39 ++++++++++++++++++++++++++++++++++-----
sources | 2 +-
3 files changed, 36 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8d99865..14670d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ mock-1.1.4.tar.gz
/mock-1.1.7.tar.gz
/mock-1.1.8.tar.gz
/mock-1.1.9.tar.gz
+/mock-1.1.10.tar.gz
diff --git a/mock.spec b/mock.spec
index 60d25fb..17488dc 100644
--- a/mock.spec
+++ b/mock.spec
@@ -1,7 +1,7 @@
# next four lines substituted by autoconf
%define major 1
%define minor 1
-%define sub 9
+%define sub 10
%define extralevel %{nil}
%define release_name mock
%define release_version %{major}.%{minor}.%{sub}%{extralevel}
@@ -42,6 +42,7 @@ rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/var/lib/mock
mkdir -p $RPM_BUILD_ROOT/var/cache/mock
+chmod 2775 $RPM_BUILD_ROOT/var/cache/mock
ln -s consolehelper $RPM_BUILD_ROOT/usr/bin/mock
# compatibility symlinks
@@ -84,6 +85,8 @@ if [ ! -e %{_sysconfdir}/%{name}/default.cfg ] ; then
fi
done
fi
+# fix cache permissions from old installs
+chmod 2755 /var/cache/mock
:
%files -f %{name}.cfgs
@@ -115,9 +118,31 @@ fi
%attr(02775, root, mock) %dir /var/cache/mock
%changelog
+* Fri May 13 2011 Clark Williams <williams at redhat.com> - 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 <myllynen at redhat.com>:
+ - updated SCM integration (BZ# 670453)
+- from Masatake YAMATO <yamato at redhat.com>:
+ - fixed invocation typo in exception.py (BZ# 634555)
+- From Jan Vcelak <jvcelak at redhat.com>:
+ - updated selinux plugin (BZ# 573111, 667190)
+- From Levente Farkas <lfarkas at lfarkas.org>:
+ - adding missing macro for epel-5 configs (BZ# 695298)
+- From Mathieu Bridon <bochecha at fedoraproject.org> and
+ Remi Collet <fedora at famillecollet.com>:
+ - fix chroot cleanup issues (BZ# 668222)
+ - fix ccache ownership issues (BZ# 700983)
+- From Dan Horák <dan at danny.cz>:
+ - added s390 back as legal arch for s390x (BZ# 678047)
+- From Ville Skyttä <ville.skytta at iki.fi>:
+ - Fixes shell escaping issue by using tuples rather than strings
+
* Fri Feb 18 2011 Clark Williams <williams at redhat.com> - 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ä <ville.skytta at iki.fi>
- Use completion goodies from bash-completion >= 1.2 if available.
@@ -130,9 +155,13 @@ fi
- Revert "turn off updates-released repository for fedora-14 configs"
- From Mike McLean <mikem at redhat.com>
- fix typo in el4/5 /dev/tty creation (fh ticket #13, mwhiteley)
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.8-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+- From Dennis Gilmore <dennis at ausil.us>
+ - 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 <williams at redhat.com> - 1.1.8-1
- corrected examples section of the mock.1 man page
diff --git a/sources b/sources
index 275ccec..53ee454 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a07f52c41c942915bbc635c1ea9a1d4 mock-1.1.9.tar.gz
+6cc6441ace0eb0aa216dd91171e7de3e mock-1.1.10.tar.gz
More information about the scm-commits
mailing list