Description of problem: Drakconf (msecgui) fails to modify the "recipient of security email alerts" settings. Scenario 1 (launch from the drakconf gui) ------------ Drakconf-> Security -> Configure system security ... That launches the "MSEC: System Security and Audit" - which has an entry box for modifying the destination address for email alerts. After modifying the email address, the programme does not respond any more. File-> Save configuration and File->Quit does not have any consequence, nor does the window kill button. The only way to terminate is a kill pid. (Note: if I do not modify the email address for the alerts, I can exit without problems). Some details - after using xkill, I always find a an msecgui.py when I do ps -A - if I run drakconf or msecgui from a root konsole, I get a respectable christmas tree of error messages - see annex Scenario 2 (launch from a root-konsole command line, command = msecgui) ----------- "File -> Save configuration" does nothing, but "File Quit" allows to normally exit. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Launch msecgui from a root console (or use the drakconf gui) 2. Modify the "Send security alerts by email to:" entry box 3. Try to exit with "File->Save configuration" I am trying to modify the notification email address from harms@unige.ch to harms@localhost to correct a fault that I probably committed during system generation Reproducible: Steps to Reproduce:
Created attachment 5609 [details] Konsole output when launching msecgui from a console
Whiteboard: (none) => 5beta1
Assignee: bugsquad => thierry.vignaud
Attachment 5609 mime type: application/octet-stream => text/plain
Can you try using Gtk.Expander(label=_("Details")) instead of: Gtk.Expander(_("Details"))
Summary: Drakconf hangs: Drakconf -> Security -> Configure System => msec-gui hangs: Gtk.Expander(_("Details")) TypeError: GObject.__init__() takes exactly 0 arguments (1 given)Status: NEW => ASSIGNED
In /usr/share/msec/msecgui.py I replaced ALL instances of: Gtk.Expander(_ with: Gtk.Expander(label=_ and functioning _seemed_ to return to normal. (Lines 397, 403, and 417)
CC: (none) => inetcustomer-mageia
TV: I have the same behavior in a cauldron installed with RC public release iso downloaded by torrent from (ufpr.br), and updated with the core release from the same mirror, but if return the send security alerts by email to the original user (root), msec closes as expected, please see the next attached file that is the full log when I run drakconf and go to msec section from console (edited to explain what buttons I press in every section of attachment)
CC: (none) => neoser10
Created attachment 6402 [details] Edited drakconf log from console this is the source rpm of the msec package installed Signature : RSA/SHA1, Mon 09 Feb 2015 09:46:15 AM GMT, Key ID b742fa8b80420f66 Source RPM : msec-1.6-1.mga5.src.rpm Build Date : Mon 09 Feb 2015 09:41:43 AM GMT Build Host : rabbit.mageia.org
(In reply to Thierry Vignaud from comment #2) > Can you try using > Gtk.Expander(label=_("Details")) > instead of: > Gtk.Expander(_("Details")) Comment 3 seems to say that this fix would be sufficient. Should we go on and add this to msecgui?
Yes, go on.
Keywords: (none) => PATCHBlocks: (none) => 11778
commit ce3090f8b6d3b08fe2b64f21c89389db71d110c6 Author: Rémi Verschelde <rverschelde@...> Date: Thu Apr 30 10:19:55 2015 +0200 Add "label=" argument for Gtk.Expander calls (Thierry Vignaud, mga#14586) --- Commit Link: http://gitweb.mageia.org/software/msec/commit/?id=ce3090f8b6d3b08fe2b64f21c89389db71d110c6
Please also bump the version in NEWS & Makefile
Will do, and update the package.
Closing
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED
Thanks for pushing the package, for some reason I can't use mgarepo anymore :-/