Bug 427571

Summary: system-switch-mail doesn't specifiy Redhat python
Product: Red Hat Enterprise Linux 5 Reporter: Marc Bejarano <bugzilla.redhat>
Component: system-switch-mailAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: desktop-bugs <desktop-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: pknirsch
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-07 17:39:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marc Bejarano 2008-01-04 19:58:22 UTC
[beej@www ~]$ head -1 /usr/sbin/system-switch-mail
#! /usr/bin/env python
[beej@www ~]$ which python
/usr/local/bin/python
[beej@www ~]$ sudo /usr/sbin/system-switch-mail
Password:
Traceback (most recent call last):
  File "/usr/sbin/system-switch-mail", line 89, in <module>
    main()
  File "/usr/sbin/system-switch-mail", line 76, in main
    from switchmail_tui import mainDialog
  File "/usr/share/system-switch-mail/switchmail_tui.py", line 36, in <module>
    from snack import *
ImportError: No module named snack


manually using /usr/bin/python works as designed

Comment 2 Than Ngo 2008-03-07 17:38:18 UTC
it's fixed in 0.5.26-1. it's available in rawhide.