FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-02-2012, 07:10 PM
David Lehman
 
Default Use gatherRepoMetadata instead of populateSack.

populateSack was causing a kernel panic, believe it or not.
---
pyanaconda/packaging/yumpayload.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index d3625c5..5b30578 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -257,7 +257,7 @@ reposdir=%s
self._yum.preconf.releasever = releasever

self._yumCacheDirHack()
- self._yum.repos.populateSack(which='enabled', mdtype='all')
+ self.gatherRepoMetadata()

# trigger setup of self._yum.config
log.debug("installation yum config repos: %s"
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-02-2012, 07:59 PM
Chris Lumens
 
Default Use gatherRepoMetadata instead of populateSack.

> populateSack was causing a kernel panic, believe it or not.

OOM?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-02-2012, 08:48 PM
David Lehman
 
Default Use gatherRepoMetadata instead of populateSack.

On Wed, 2012-05-02 at 15:59 -0400, Chris Lumens wrote:
> > populateSack was causing a kernel panic, believe it or not.
>
> OOM?

That was my first and only guess. I saw that there were several hundred
megabytes of memory free immediately before calling populateSack, but
the kernel didn't tell anything when it panicked.

>
> - Chris
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org