Bug 679586 - [abrt] system-config-users-1.2.106-1.fc14: userGroupCheck.py:276:isHomedirOk:AttributeError: 'module' object has no attribute 'is_selinux_enabled'
Summary: [abrt] system-config-users-1.2.106-1.fc14: userGroupCheck.py:276:isHomedirOk:...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-users
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:83b08d0c
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-22 22:17 UTC by Gajdos Tamás
Modified: 2011-02-23 10:03 UTC (History)
1 user (show)

Fixed In Version: system-config-users-1.2.107-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-23 10:03:21 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (715 bytes, text/plain)
2011-02-22 22:17 UTC, Gajdos Tamás
no flags Details

Description Gajdos Tamás 2011-02-22 22:17:46 UTC
abrt version: 1.1.17
architecture: i686
cmdline: /usr/bin/python2 /usr/share/system-config-users/system-config-users.py
component: system-config-users
executable: /usr/share/system-config-users/system-config-users.py
kernel: 2.6.35.10-74.fc14.i686
package: system-config-users-1.2.106-1.fc14
reason: userGroupCheck.py:276:isHomedirOk:AttributeError: 'module' object has no attribute 'is_selinux_enabled'
release: Fedora release 14 (Laughlin)
time: 1296250048
uid: 0

backtrace
-----
userGroupCheck.py:276:isHomedirOk:AttributeError: 'module' object has no attribute 'is_selinux_enabled'

Traceback (most recent call last):
  File "/usr/share/system-config-users/userWindow.py", line 215, in on_userWin_ok_button_clicked
    if createHomeDir and not userGroupCheck.isHomedirOk(homeDir, self.userWinHomeDir):
  File "/usr/share/system-config-users/userGroupCheck.py", line 276, in isHomedirOk
    if selinux.is_selinux_enabled():
AttributeError: 'module' object has no attribute 'is_selinux_enabled'

Local variables in innermost frame:
str_split: ['', 'home', 'ildici']
widget: <gtk.Entry object at 0x959707c (GtkEntry at 0x9640660)>
candidate: '/home/ildici'
parent_dir: '/home'
need_homedir: True

How to reproduce
-----
1.
2.
3.
Don't know

Comment 1 Gajdos Tamás 2011-02-22 22:17:49 UTC
Created attachment 480280 [details]
File: backtrace

Comment 2 Nils Philippsen 2011-02-23 10:03:21 UTC
This is fixed in system-config-users-1.2.107-1.fc14 already, please update.


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