- Increase the timeout for cleaning up unused transactions. Due to a bug in
the PkClient library the new TID was not being requested, and the old
TID was being re-used. This gave a DBUS error if the user spent longer
than five seconds entering the password the very first time they used
PackageKit to do an authentication. Apply a simple patch to mitigate
this, as a more invasive (and correct) patch is upstream. A new release
will follow in f10-updates. Fixes rh#469950
This commit is contained in:
parent
c9b571ebef
commit
67ded19926
@ -8,7 +8,7 @@
|
||||
Summary: System daemon that is a DBUS abstraction layer for package management
|
||||
Name: PackageKit
|
||||
Version: 0.3.9
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://packagekit.freedesktop.org
|
||||
@ -31,6 +31,9 @@ Patch3: pk-install-qt-cmake-build.patch
|
||||
# upstream, 32f39d67971f1bd6dbf4b559a8f95e8712edccf8
|
||||
Patch4: pk-fix-get-distro-upgrade.patch
|
||||
|
||||
# upstream, with the proper fix not this bodge
|
||||
Patch5: pk-cleanup-transaction-longer.patch
|
||||
|
||||
Requires: dbus >= %{dbus_version}
|
||||
Requires: dbus-glib >= %{dbus_glib_version}
|
||||
Requires: PackageKit-glib = %{version}-%{release}
|
||||
@ -216,6 +219,7 @@ codecs from configured repositories using PackageKit.
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
%configure --enable-yum --enable-smart --with-default-backend=yum --disable-local
|
||||
@ -389,6 +393,15 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
%{_includedir}/PackageKit/backend/*.h
|
||||
|
||||
%changelog
|
||||
* Wed Nov 05 2008 Richard Hughes <rhughes@redhat.com> - 0.3.9-4
|
||||
- Increase the timeout for cleaning up unused transactions. Due to a bug
|
||||
in the PkClient library the new TID was not being requested, and the old
|
||||
TID was being re-used. This gave a DBUS error if the user spent longer than
|
||||
five seconds entering the password the very first time they used PackageKit
|
||||
to do an authentication.
|
||||
Apply a simple patch to mitigate this, as a more invasive (and correct)
|
||||
patch is upstream. A new release will follow in f10-updates. Fixes rh#469950
|
||||
|
||||
* Thu Oct 28 2008 Richard Hughes <rhughes@redhat.com> - 0.3.9-3
|
||||
- Install the usr/share/cmake/Modules/FindQPackageKit.cmake file so we
|
||||
can build KPackageKit from svn head.
|
||||
|
||||
13
pk-cleanup-transaction-longer.patch
Normal file
13
pk-cleanup-transaction-longer.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/pk-transaction-list.c b/src/pk-transaction-list.c
|
||||
index 2e5a018..ad9aedd 100644
|
||||
--- a/src/pk-transaction-list.c
|
||||
+++ b/src/pk-transaction-list.c
|
||||
@@ -56,7 +56,7 @@ static void pk_transaction_list_finalize (GObject *object);
|
||||
#define PK_TRANSACTION_LIST_KEEP_FINISHED_TIMEOUT 5
|
||||
|
||||
/* how long the tid is valid before it's destroyed, in seconds */
|
||||
-#define PK_TRANSACTION_LIST_CREATE_COMMIT_TIMEOUT 5
|
||||
+#define PK_TRANSACTION_LIST_CREATE_COMMIT_TIMEOUT 5000
|
||||
|
||||
/* the interval between each CST, in seconds */
|
||||
#define PK_TRANSACTION_WEDGE_CHECK 10
|
||||
Loading…
Reference in New Issue
Block a user