http://qa.mandrakesoft.com/show_bug.cgi?id=4683





------- Additional Comments From [EMAIL PROTECTED]  2003-11-08 19:30 -------
This is a bug in msec.
It's a duplicate of bug 4629

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
Step to reproduce
=================
In a terminal launch draksec (or with the mcc in security then draksec). Then
try to change the level of security.

Problem
=======
When You change the level of security it does nothing, but if you launch draksec
from a terminal you can see those messages displayed in the terminal:

### Program is starting ###
Reading local rules from /etc/security/msec/level.local
Disabling crontab and at
appended in /etc/cron.allow the line:
root
appended in /etc/at.allow the line:
root
Traceback (most recent call last):
  File "/usr/share/msec/msec.py", line 266, in ?
    commit_changes()
  File "/usr/share/msec/mseclib.py", line 24, in commit_changes
    apply(f[0], f[1])
  File "/usr/share/msec/libmsec.py", line 894, in accept_bogus_error_responses
    set_zero_one_variable(SYSCTLCONF,
'net.ipv4.icmp_ignore_bogus_error_responses', not arg, 1, 'Ignoring bogus icmp
error responses', 'Accepting bogus icmp error responses')
  File "/usr/share/msec/libmsec.py", line 819, in set_zero_one_variable
    val = int(val)
ValueError: invalid literal for int(): False
Traceback (most recent call last):
  File "/usr/share/msec/msec.py", line 266, in ?
    commit_changes()
  File "/usr/share/msec/mseclib.py", line 24, in commit_changes
    apply(f[0], f[1])
  File "/usr/share/msec/libmsec.py", line 894, in accept_bogus_error_responses
    set_zero_one_variable(SYSCTLCONF,
'net.ipv4.icmp_ignore_bogus_error_responses', not arg, 1, 'Ignoring bogus icmp
error responses', 'Accepting bogus icmp error responses')
  File "/usr/share/msec/libmsec.py", line 819, in set_zero_one_variable
    val = int(val)
ValueError: invalid literal for int(): False

--
J�r�mie

Reply via email to