Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 427571 - system-switch-mail doesn't specifiy Redhat python
system-switch-mail doesn't specifiy Redhat python
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-switch-mail (Show other bugs)
All Linux
low Severity low
: rc
: ---
Assigned To: Ngo Than
Depends On:
  Show dependency treegraph
Reported: 2008-01-04 14:58 EST by Marc Bejarano
Modified: 2008-03-07 12:39 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-07 12:39:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marc Bejarano 2008-01-04 14:58:22 EST
[beej@www ~]$ head -1 /usr/sbin/system-switch-mail
#! /usr/bin/env python
[beej@www ~]$ which python
[beej@www ~]$ sudo /usr/sbin/system-switch-mail
Traceback (most recent call last):
  File "/usr/sbin/system-switch-mail", line 89, in <module>
  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 Ngo Than 2008-03-07 12:38:18 EST
it's fixed in 0.5.26-1. it's available in rawhide.

Note You need to log in before you can comment on or make changes to this bug.