Projects
Kolab:3.4
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 66
View file
pykolab.spec
Changed
@@ -24,12 +24,14 @@ Summary: Kolab Groupware Solution Name: pykolab Version: 0.6.12 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/System URL: http://kolab.org/ Source0: http://files.kolab.org/releases/%{name}-%{version}.tar.gz +Patch1: pykolab-0.6.12-no-switching-gid-in-logger.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch %if 0%{?suse_version} @@ -184,6 +186,8 @@ %prep %setup -q +%patch1 -p1 + %build autoreconf -v %configure @@ -491,6 +495,7 @@ %changelog * Sat Feb 15 2014 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 0.6.12-1 - New upstream bug-fix release +- Fix logger switching gid * Tue Jan 28 2014 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 0.6.11-1 - New upstream release
View file
pykolab-0.6.12-no-switching-gid-in-logger.patch
Added
@@ -0,0 +1,28 @@ +commit ecf74101ee461d16a46626c02237152633a2a802 +Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> +Date: Sat Feb 15 13:49:25 2014 +0100 + + Do not actually switch gid in logger + +diff --git a/pykolab/logger.py b/pykolab/logger.py +index fc396cb..ef38f4f 100644 +--- a/pykolab/logger.py ++++ b/pykolab/logger.py +@@ -142,17 +142,6 @@ class Logger(logging.Logger): + + sys.exit(1) + +- # Set real and effective group if not the same as current. +- if not group_gid == rgid: +- self.debug( +- _("Switching real and effective group id to %d") % ( +- group_gid +- ), +- level=8 +- ) +- +- os.setregid(group_gid, group_gid) +- + if ruid == 0: + # Means we haven't switched yet. + try:
View file
debian.changelog
Changed
@@ -1,6 +1,7 @@ -pykolab (0.6.12-0~kolab1) unstable; urgency=low +pykolab (0.6.12-0~kolab2) unstable; urgency=low * New upstream release + * Fix logger switching gid -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sat, 15 Feb 2014 20:00:00 +0100
View file
debian.series
Changed
@@ -1,3 +1,4 @@ enable-kolabd.patch -p1 cyrus-imapd.conf-cert-paths.patch -p1 enable-wallace.patch -p1 +pykolab-0.6.12-no-switching-gid-in-logger.patch -p1
View file
pykolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: pykolab Binary: pykolab, kolab-cli, kolab-conf, kolab-saslauthd, kolab-server, kolab-telemetry, kolab-xml, wallace Architecture: all -Version: 0.6.12-0~kolab1 +Version: 0.6.12-0~kolab2 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.