"[qateam]" <[EMAIL PROTECTED]> writes: > http://qa.mandrakesoft.com/show_bug.cgi?id=4683 > > Product: drakxtools > Component: DrakSec > Summary: The security level doesn't change > Product: drakxtools > Version: 9.2-0.28mdk > Platform: PC > OS/Version: All > Status: UNCONFIRMED > Severity: normal > Priority: P2 > Component: DrakSec > AssignedTo: [EMAIL PROTECTED] > ReportedBy: [EMAIL PROTECTED] > > > 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
frederic, msec seems to failled on some machines. since msec worked on my machine, i properly closed the other "draksec failled to alter security level" bug to worksforme (i didn't see this bug report since it was closed while i was in holydays).
