Python Problem

2011-04-14 Thread Ole Streicher
Hi,

I have a problem with using python on Scientific Linux 6.0 (Carbon): If
I run a program that throws an exception, the program will hang and
never return unless Ctrl-C is pressed. The simplest program that has
this behaviour is

8-
raise Exception()
8-

Debugging this with strace leads to

socket(PF_FILE, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_FILE, path=/var/run/abrt/abrt.socket}, 27^C
unfinished ...

as the last messages. Searching for this points to a big report on
Redhat Enterprise Linux that I do not fully understand:

https://partner-bugzilla.redhat.com/show_bug.cgi?id=614752

What should I do now?

I am also curious about the bug management for Scientific Linux. The Web
page does not mention this at all; what is the place to fill a bug like
this?

Regards

Ole


Digest Format Readability

2011-04-14 Thread Jean-Francois Caron
I get the SLU by digest once per day, and I am having difficulty following
the conversations.  The posts are all jumbled together and often there is
unreadable ascii garbage to confuse things.  I've tried a few of the
listserv options for encoding and such, but to no avail.  I'm reading these
on the gmail web interface.  Does anyone have any ideas for improving
readability (while maintaining digest-mode)?

Jean-François


RHEL 5.6 vs. SL 5 ?

2011-04-14 Thread Nicolas Kovacs

Hi,

I just took a peek at the download page for SL 5, and I only see 5.5. 
Does SL 5.6 exist somewhere, or has it never be released? If that's the 
case, is it simply a matter of install medium, e. g. are the updates for 
5.5 (after a 'yum update') equal to a 5.6 install? I'd like to ask 
specifically, because I'd like to use SL 5 for a webserver, and AFAIK, 
RHEL 5.6 has replaced PHP 5.1.6 by PHP 5.3, which would be very welcome.


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32


Re: Python Problem

2011-04-14 Thread Vaclav Mocek

On 04/14/2011 09:22 AM, Ole Streicher wrote:

raise Exception()

I am not able to reproduce it 

When I run your example I got:

$ python python_exception.py
Traceback (most recent call last):
  File python_exception.py, line 3, in module
raise Exception()
Exception
$

Vaclav M.


Re: May be a bug in SL-60-i386-2011-03-03-Everything-DVD1.iso

2011-04-14 Thread Vaclav Mocek

On 04/14/2011 05:24 AM, Nico Kadel-Garcia wrote:


You need to go *straight* to VMWare. Do not stop at Xen, do not stop
at KVM. Go right to commercial grade support, and install an ESX
server if you can.


Why should the better choice be ESX than KVM for somebody who is 
familiar with Linux?


Seriously, I am building my first server for virtualisation and KVM 
works out of the box /two days ;-) /.


Vaclav M.


Re: Python Problem

2011-04-14 Thread Vaclav Mocek

On 04/14/2011 01:07 PM, Ole Streicher wrote:

Am 14.04.2011 13:31, schrieb Vaclav Mocek:

On 04/14/2011 09:22 AM, Ole Streicher wrote:

raise Exception()

I am not able to reproduce it 

When I run your example I got:

$ python python_exception.py
Traceback (most recent call last):
   File python_exception.py, line 3, inmodule
 raise Exception()
Exception

The funny thing is that I can get both results: I saved the (minimal)
program in a file $HOME/t.py

If I start it like

python t.py

I get the exception as expected. If I start it as

python ~/t.py

it hangs as described. The home directory is a local disk. When the abrt
daemon is disabled, the program does hang, too.

Best

Ole


Still unable to reproduce it:

$ chmod 700 python_exception.py
$ ./python_exception.py
Traceback (most recent call last):
  File ./python_exception.py, line 3, in module
raise Exception()
Exception
$

Vaclav M.


RE: RHEL 5.6 vs. SL 5 ?

2011-04-14 Thread martin.bly
There's a beta SL5.6: http://ftp.scientificlinux.org/linux/scientific/5rolling/

Martin.
-- 
Martin Bly
RAL Tier1 Fabric Manager


 -Original Message-
 From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-
 linux-us...@listserv.fnal.gov] On Behalf Of Nicolas Kovacs
 Sent: Thursday, April 14, 2011 12:21 PM
 To: scientific-linux-us...@fnal.gov
 Subject: RHEL 5.6 vs. SL 5 ?
 
 Hi,
 
 I just took a peek at the download page for SL 5, and I only see 5.5.
 Does SL 5.6 exist somewhere, or has it never be released? If that's the
 case, is it simply a matter of install medium, e. g. are the updates for
 5.5 (after a 'yum update') equal to a 5.6 install? I'd like to ask
 specifically, because I'd like to use SL 5 for a webserver, and AFAIK,
 RHEL 5.6 has replaced PHP 5.1.6 by PHP 5.3, which would be very welcome.
 
 Cheers,
 
 Niki
 --
 Microlinux - Solutions informatiques 100% Linux et logiciels libres
 7, place de l'église - 30730 Montpezat
 Web  : http://www.microlinux.fr
 Mail : i...@microlinux.fr
 Tél. : 04 66 63 10 32
--
Scanned by iCritical.


Re: SL vs. RPMForge repo

2011-04-14 Thread Alan Bartlett
On 14 April 2011 05:49, Nicolas Kovacs i...@microlinux.fr wrote:

 Quite some familiar names around this mailing list.

Smiles.

 I just discovered that the text-based version of Anaconda has been seriously
 amputated in functionality. But that's probably an upstream decision.

Correct.

 Plus, I wonder why I can't install SL6 on my good old Fujitsu Lifebook with
 a Pentium M processor, which the installer kernel refuses to work with.

I believe that processor does not support PAE, so you are out of luck.

Again, this is a Red Hat decision. The EL6 32-bit kernel is what was a
PAE kernel for EL5. Putting it another way, the EL5 32-bit non-PAE
kernel has been dropped for EL6 and so what would known as a PAE
kernel has had that descriptor removed.

Alan.


Re: SL vs. RPMForge repo

2011-04-14 Thread Vaclav Mocek

On 04/14/2011 05:49 AM, Nicolas Kovacs wrote:

Le 14/04/2011 03:39, Nico Kadel-Garcia a écrit :

Yeah, I just hopped over from CentOS due to the delays in release and
the invisibility of the build process there. I'm pretty happy with SL
6.0.


+1.

Quite some familiar names around this mailing list. As far as I'm 
concerned, I expected some sort of refugee camp, and I'm the more 
pleasantly surprised to find it's a four star hotel. Less than 24 
hours with SL, and it looks like I'm going to stick with it.


I just discovered that the text-based version of Anaconda has been 
seriously amputated in functionality. But that's probably an upstream 
decision.
 If you need the text mode for a remote installation, you can run vnc 
server and install it with Anaconda.




Plus, I wonder why I can't install SL6 on my good old Fujitsu Lifebook 
with a Pentium M processor, which the installer kernel refuses to work 
with. Any know workaround for that apart from installing SL 5.x or 
buying a new laptop?


Cheers,

Niki


Re: xrdb gone bad. xorg-x11-server-utils-7.1-5.el5_6.1 broken?

2011-04-14 Thread David M. Cooke

Phil Perry wrote:

On 13/04/11 15:47, Alec T. Habig wrote:
  

David M. Cooke writes:


Several users started complaining today about various X apps, such
as xterm and emacs, that no longer look the way they want.  It looks
like the resources they set in their .Xresources files are no longer
set.
  

Same in EL6.  The changelog for this package says:

* Wed Mar 16 2011 Adam Jacksona...@redhat.com  7.4-15.el6_0.1
- cve-2011-0465: Sanitize cpp macro expansion. (CVE 2011-0465)

which sounds like something that could indeed break .Xresources parsing.
Although in my case, not only old-style X apps lost their fonts marbles,
but so did the KDE programs, menus, etc -- which I didn't think used the
old-style X fonts at all.

After wasting 15 minutes resetting fonts in many different places, X is
usable again.  I'm sure Murphy's Law says that this bug will be fixed
tomorrow and we'll all have to re-reset things :)




Thanks for your posts David and Alec. I thought I was losing my marbles 
when all my fonts went screwy on EL5/KDE so good to know the root cause.


  


One of the posters in the bugzilla entry noted the -nocpp option on 
xrdb.  The following works great:


$ xrdb -nocpp -merge .Xresources


I've added it to my session startup commands and helped some users do 
the same.


Re: May be a bug in SL-60-i386-2011-03-03-Everything-DVD1.iso

2011-04-14 Thread Natxo Asenjo
On Thu, Apr 14, 2011 at 1:47 PM, Vaclav Mocek little@email.cz wrote:
 On 04/14/2011 05:24 AM, Nico Kadel-Garcia wrote:

 You need to go *straight* to VMWare. Do not stop at Xen, do not stop
 at KVM. Go right to commercial grade support, and install an ESX
 server if you can.

 Why should the better choice be ESX than KVM for somebody who is familiar
 with Linux?

If you need to ask then you have not (seriously) used ESX(i) ;-)

The differences are (still) so big, it's not even funny.

-- 
natxo


intel graphics scrolling messes up page

2011-04-14 Thread Jon B
I get a similar problem as shown in 
https://bugzilla.redhat.com/show_bug.cgi?id=522763 
the screenshot Display of firefox when scrolling window with mouse 

In firefox it seems to happen only when smooth scrolling is enabled, and I
am not using compiz. it generally happens when it is partly covered. i also
had this problem in the help viewer.

xorg-x11-server-Xorg-1.7.7-26.el6_0.3(x86_64)
xorg-x11-drv-intel-2.11.0-7.el6(x86_64)
kernel-2.6.32-71.24.1.el6(x86_64)

If i use compiz i do not have this problem

Any suggestions

Thanks

Jon


Re: intel graphics scrolling messes up page

2011-04-14 Thread Vaclav Mocek

On 04/14/2011 03:59 PM, Jon B wrote:

I get a similar problem as shown in
https://bugzilla.redhat.com/show_bug.cgi?id=522763
the screenshot Display of firefox when scrolling window with mouse 

In firefox it seems to happen only when smooth scrolling is enabled, and I
am not using compiz. it generally happens when it is partly covered. i also
had this problem in the help viewer.

xorg-x11-server-Xorg-1.7.7-26.el6_0.3(x86_64)
xorg-x11-drv-intel-2.11.0-7.el6(x86_64)
kernel-2.6.32-71.24.1.el6(x86_64)

If i use compiz i do not have this problem

Any suggestions

Thanks

Jon


I can confirm it, sometimes I observe similar behaviour.

$lspci
...
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller (rev 03)

...

Difficult to reproduce.

Vaclav M.


Re: May be a bug in SL-60-i386-2011-03-03-Everything-DVD1.iso

2011-04-14 Thread Vaclav Mocek

On 04/14/2011 03:08 PM, Natxo Asenjo wrote:

On Thu, Apr 14, 2011 at 1:47 PM, Vaclav Moceklittle@email.cz  wrote:

On 04/14/2011 05:24 AM, Nico Kadel-Garcia wrote:

You need to go *straight* to VMWare. Do not stop at Xen, do not stop
at KVM. Go right to commercial grade support, and install an ESX
server if you can.

Why should the better choice be ESX than KVM for somebody who is familiar
with Linux?

If you need to ask then you have not (seriously) used ESX(i) ;-)

The differences are (still) so big, it's not even funny.
You are right, I have not used ESX yet. I was looking for some 
comparison ESX versus KVM, but what I found, was mostly outdated.


The one of newest is http://blog.delouw.ch/tag/kvm/ and the described 
drawbacks should not be a huge issue for an average user, not mentioned 
the fact, that RH is working to improve KVM.



Vackav M.


Re: SL vs. RPMForge repo

2011-04-14 Thread Dag Wieers

On Thu, 14 Apr 2011, Alan Bartlett wrote:


On 14 April 2011 05:49, Nicolas Kovacs i...@microlinux.fr wrote:


Quite some familiar names around this mailing list.


Smiles.


I just discovered that the text-based version of Anaconda has been seriously
amputated in functionality. But that's probably an upstream decision.


Correct.


Plus, I wonder why I can't install SL6 on my good old Fujitsu Lifebook with
a Pentium M processor, which the installer kernel refuses to work with.


I believe that processor does not support PAE, so you are out of luck.

Again, this is a Red Hat decision. The EL6 32-bit kernel is what was a
PAE kernel for EL5. Putting it another way, the EL5 32-bit non-PAE
kernel has been dropped for EL6 and so what would known as a PAE
kernel has had that descriptor removed.


There might be a case for a drop-in replacement kernel that supports 
non-PAE 32bit systems. So at least a PXE/USB installation works fine, 
without the need to respin the ISO (which may be too troublesome).


Of course, that would also mean we'd have to update that non-PAE kernel as 
part of that repository. If people have a clear need for this (and there 
is at least one committed to support this) do speak up. It might be the 
beginning of something beautiful...


--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]


Re: SL vs. RPMForge repo

2011-04-14 Thread Alan Bartlett
On 14 April 2011 23:48, Dag Wieers d...@wieers.com wrote:
 On Thu, 14 Apr 2011, Alan Bartlett wrote:
 On 14 April 2011 05:49, Nicolas Kovacs i...@microlinux.fr wrote:

 Plus, I wonder why I can't install SL6 on my good old Fujitsu Lifebook
 with
 a Pentium M processor, which the installer kernel refuses to work with.

 I believe that processor does not support PAE, so you are out of luck.

 Again, this is a Red Hat decision. The EL6 32-bit kernel is what was a
 PAE kernel for EL5. Putting it another way, the EL5 32-bit non-PAE
 kernel has been dropped for EL6 and so what would known as a PAE
 kernel has had that descriptor removed.

 There might be a case for a drop-in replacement kernel that supports non-PAE
 32bit systems. So at least a PXE/USB installation works fine, without the
 need to respin the ISO (which may be too troublesome).

 Of course, that would also mean we'd have to update that non-PAE kernel as
 part of that repository. If people have a clear need for this (and there is
 at least one committed to support this) do speak up. It might be the
 beginning of something beautiful...

You've obviously had similar thoughts just like mine . . . but have
developed them that bit further.

It really depends upon the need for non-PAE 32-bit kernels for EL6.

Alan.


Re: SL vs. RPMForge repo

2011-04-14 Thread Phil Schaffner

Alan Bartlett wrote on 04/14/2011 06:55 PM:
...

You've obviously had similar thoughts just like mine . . . but have
developed them that bit further.

It really depends upon the need for non-PAE 32-bit kernels for EL6.


My non-PAE-capable IBM T42p Pentium-M laptop is dead ATM from a fan 
failure, but the possibility of a compatible SL6 release might prompt me 
to resurrect it.  Part of the reason I have not bothered to hack the 
hardware is the upstream decision to drop support for non-PAE 32-bit 
systems.


As a matter of principle I heartily endorse the idea.  There is a lot of 
functional hardware out there that does not do PAE, but still has life 
left in it.


Phil


Re: May be a bug in SL-60-i386-2011-03-03-Everything-DVD1.iso

2011-04-14 Thread Nico Kadel-Garcia
On Thu, Apr 14, 2011 at 7:47 AM, Vaclav Mocek little@email.cz wrote:
 On 04/14/2011 05:24 AM, Nico Kadel-Garcia wrote:

 You need to go *straight* to VMWare. Do not stop at Xen, do not stop
 at KVM. Go right to commercial grade support, and install an ESX
 server if you can.

 Why should the better choice be ESX than KVM for somebody who is familiar
 with Linux?

 Seriously, I am building my first server for virtualisation and KVM works
 out of the box /two days ;-) /.

Becasue libvirt was designed by goats who'd been sniffing too many
pheromones. Let's just say that they were not paying attention to Eric
Raymond's guidelines on open source GUI's
(http://www.catb.org/~esr/writings/cups-horror.html) and leave it at
that.

Our favorite upstream vendor is usually quite good at writing gui's,
having learned a lot of lessons over the years and having strong
developers. libvirt is not one of their shining efforts.

VMWare, especially its LabManager suite with which I've worked
recently, does a much more thorough job. It's not perfect: the update
of VMwareTools with kernel updates is hardly perfect, and its
interactions with the NetworkManager of SL 6 and RHEL 6 are not good.
But I'm not thrilled with NetworkManager in servers or managed
environments, either.

I've heard good things about KVM performance, but didn't see it in
RHEL/CentOS/SL 5.x. I'll be very intersted to see the results of the
Debian testing I'm doing in the near future.