Bug 15981 - Impossible to change the security level in msec
Summary: Impossible to change the security level in msec
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-19 12:14 CEST by Sebastien Chavaux
Modified: 2015-05-19 15:04 CEST (History)
3 users (show)

See Also:
Source RPM: msec-1.9-1.mga5
CVE:
Status comment:


Attachments

Description Sebastien Chavaux 2015-05-19 12:14:25 CEST
Theme name: Adwaita
Kernel version = 3.19.8-desktop-1.mga5
Distribution=Mageia release 5 (Cauldron) for x86_64
CPU=Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz

I can not change the level of security msec .

Currently he is on Standard and will not or can not switch to another mode.

thank you
Comment 1 Samuel Verschelde 2015-05-19 12:28:09 CEST
This should have been fixed by https://bugs.mageia.org/show_bug.cgi?id=14777#c5 as far as I know. I suppose msec-gui is version 1.9 too? If so, then maybe the fix didn't work.

CC: (none) => makowski.mageia, thierry.vignaud
Severity: normal => major

Comment 2 Sebastien Chavaux 2015-05-19 12:34:36 CEST
Oui il est en Version 1.9-1.mga5.
Toute les mises a jour ont été faite.
Comment 3 Nicolas Lécureuil 2015-05-19 12:35:32 CEST
Switching to netbook
Traceback (most recent call last):
  File "/usr/share/msec/msecgui.py", line 282, in level_changed
    self.toggle_level(level, force=True)
  File "/usr/share/msec/msecgui.py", line 996, in toggle_level
    iter = self.level_list.get_iter_root()
AttributeError: 'ListStore' object has no attribute 'get_iter_root'
Switching to secure
Traceback (most recent call last):
  File "/usr/share/msec/msecgui.py", line 282, in level_changed
    self.toggle_level(level, force=True)
  File "/usr/share/msec/msecgui.py", line 996, in toggle_level
    iter = self.level_list.get_iter_root()
AttributeError: 'ListStore' object has no attribute 'get_iter_root'
Switching to netbook
Traceback (most recent call last):
  File "/usr/share/msec/msecgui.py", line 282, in level_changed
    self.toggle_level(level, force=True)
  File "/usr/share/msec/msecgui.py", line 996, in toggle_level
    iter = self.level_list.get_iter_root()
AttributeError: 'ListStore' object has no attribute 'get_iter_root'
Switching to standard

CC: (none) => mageia

Comment 4 Sebastien Chavaux 2015-05-19 12:37:51 CEST
Yes it is 1.9-1.mga5 version .
All the updates have been made.

sorry I reversed the French side of ...
Comment 5 Sebastien Chavaux 2015-05-19 12:40:07 CEST
here is the rendering of the terminal:

msecgui
INFO: Starting gui..
INFO: Chargement du fichier d'exceptions /etc/security/msec/exceptions : Aucun fichier ou dossier de ce type
INFO: Pas d'exceptions chargées
INFO: Niveau msec de base détecté 'standard'
/usr/share/msec/msecgui.py:213: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  filemenu = Gtk.MenuItem(topmenu, use_underline=True)
/usr/share/msec/msecgui.py:219: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  menuitem = Gtk.MenuItem(submenu, use_underline=True)
/usr/share/msec/msecgui.py:236: DeprecationWarning: Gtk.modify_font is deprecated
  label.modify_font(Pango.FontDescription("13"))
/usr/share/msec/msecgui.py:572: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "n_rows, n_columns, homogeneous" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  table = Gtk.Table(4, 4, False)
/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:1445: DeprecationWarning: Gtk.attach is deprecated
  Gtk.Table.attach(self, child, left_attach, right_attach, top_attach, bottom_attach, xoptions, yoptions, xpadding, ypadding)
/usr/share/msec/msecgui.py:604: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Configure"))
/usr/share/msec/msecgui.py:618: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Update now"))
/usr/share/msec/msecgui.py:646: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Configure"))
/usr/share/msec/msecgui.py:667: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Show results"))
/usr/share/msec/msecgui.py:673: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Run now"))
/usr/share/msec/msecgui.py:832: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "model" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  treeview = Gtk.TreeView(lstore)
/usr/share/msec/msecgui.py:833: DeprecationWarning: Gtk.set_rules_hint is deprecated
  treeview.set_rules_hint(True)
/usr/share/msec/msecgui.py:897: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.notify_mail = Gtk.CheckButton(_("Send security alerts by email to:"))
/usr/share/msec/msecgui.py:919: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.notify_desktop = Gtk.CheckButton(_("Display security alerts on desktop"))
/usr/share/msec/msecgui.py:490: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "model" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  treeview = Gtk.TreeView(lstore)
/usr/share/msec/msecgui.py:1103: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.periodic_checks = Gtk.CheckButton(_("Enable periodic security checks"))
/usr/share/msec/msecgui.py:1155: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "model" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  treeview = Gtk.TreeView(lstore)
/usr/share/msec/msecgui.py:1192: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Add a rule"))
/usr/share/msec/msecgui.py:1197: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Delete"))
/usr/share/msec/msecgui.py:1227: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "model" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  treeview = Gtk.TreeView(lstore)
/usr/share/msec/msecgui.py:1319: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Add a rule"))
/usr/share/msec/msecgui.py:1324: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button(_("Delete"))
Switching to secure
Traceback (most recent call last):
  File "/usr/share/msec/msecgui.py", line 282, in level_changed
    self.toggle_level(level, force=True)
  File "/usr/share/msec/msecgui.py", line 996, in toggle_level
    iter = self.level_list.get_iter_root()
AttributeError: 'ListStore' object has no attribute 'get_iter_root'
Switching to secure
Traceback (most recent call last):
  File "/usr/share/msec/msecgui.py", line 282, in level_changed
    self.toggle_level(level, force=True)
  File "/usr/share/msec/msecgui.py", line 996, in toggle_level
    iter = self.level_list.get_iter_root()
AttributeError: 'ListStore' object has no attribute 'get_iter_root'
Switching to secure
Traceback (most recent call last):
  File "/usr/share/msec/msecgui.py", line 282, in level_changed
    self.toggle_level(level, force=True)
  File "/usr/share/msec/msecgui.py", line 996, in toggle_level
    iter = self.level_list.get_iter_root()
AttributeError: 'ListStore' object has no attribute 'get_iter_root'
Switching to secure
Traceback (most recent call last):
  File "/usr/share/msec/msecgui.py", line 282, in level_changed
    self.toggle_level(level, force=True)
  File "/usr/share/msec/msecgui.py", line 996, in toggle_level
    iter = self.level_list.get_iter_root()
AttributeError: 'ListStore' object has no attribute 'get_iter_root'
Comment 6 Nicolas Lécureuil 2015-05-19 13:00:18 CEST
should be fixed by: 
http://gitweb.mageia.org/software/msec/commit/?id=696626bc0ea323b39cf231ececdbaac88bfc1fe1


i don't have time right now, can someone do a new tarball + rpm ?
Comment 7 Rémi Verschelde 2015-05-19 13:30:04 CEST
(In reply to Nicolas Lécureuil from comment #6)
> should be fixed by: 
> http://gitweb.mageia.org/software/msec/commit/
> ?id=696626bc0ea323b39cf231ececdbaac88bfc1fe1
> 
> 
> i don't have time right now, can someone do a new tarball + rpm ?

Done. Remember to named the bug report with mga#15981 in the commit log, so that the post-push hook links it here directly :)
Comment 8 Nicolas Lécureuil 2015-05-19 14:53:41 CEST
ah yes right :)
Comment 9 Sebastien Chavaux 2015-05-19 15:03:33 CEST
The update package has solved the problem . I say thank you .

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 10 Samuel Verschelde 2015-05-19 15:04:35 CEST
Bug solved in under 3 hours, gratz.

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