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 Kernel

 
 
LinkBack Thread Tools
 
Old 06-09-2010, 01:38 PM
Ales Kozumplik
 
Default do not import block from isys. not needed. (#601291).

how it fixes the bug: we import pyanaconda.languages during the build,
that does pyanaconda.__init__, that imports pyblock, we get that error
output:

dm.c: 1640: not running as root returning empty list

it ends up in the lang-names file, then the traceback at the anaconda
start.
---
isys/__init__.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/isys/__init__.py b/isys/__init__.py
index f5cd0b1..61b9610 100755
--- a/isys/__init__.py
+++ b/isys/__init__.py
@@ -35,7 +35,6 @@ import warnings
import resource
import re
import struct
-import block
import dbus
import selinux

--
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-10-2010, 01:34 PM
Chris Lumens
 
Default do not import block from isys. not needed. (#601291).

> how it fixes the bug: we import pyanaconda.languages during the build,
> that does pyanaconda.__init__, that imports pyblock, we get that error
> output:
>
> dm.c: 1640: not running as root returning empty list
>
> it ends up in the lang-names file, then the traceback at the anaconda
> start.

ACK. Incidentally, I'm okay with people pushing quick and obvious
patches like this to master without review. Perhaps when we get close
to a release, it'll matter but right now I'm not concerned.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-10-2010, 02:39 PM
Ales Kozumplik
 
Default do not import block from isys. not needed. (#601291).

On 06/10/2010 03:34 PM, Chris Lumens wrote:

how it fixes the bug: we import pyanaconda.languages during the build,
that does pyanaconda.__init__, that imports pyblock, we get that error
output:

dm.c: 1640: not running as root returning empty list

it ends up in the lang-names file, then the traceback at the anaconda
start.


ACK. Incidentally, I'm okay with people pushing quick and obvious
patches like this to master without review. Perhaps when we get close
to a release, it'll matter but right now I'm not concerned.

- Chris


Great! I'll try to judge 'quick and obvious'-ness responsibly.

Ales

_______________________________________________
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 07:37 AM.

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