Hello,
aa-genprof failed to set /proc/sys/kernel/printk_ratelimit to 0
(unlimited) because the "if not value:" check matches 0.
This patch replaces the check with "... is None".
=== modified file 'utils/aa-genprof'
--- utils/aa-genprof 2014-05-21 19:42:43 +0000
+++ utils/aa-genprof 2014-06-09 18:31:07 +0000
@@ -33,7 +33,7 @@
return value
def sysctl_write(path, value):
- if not value:
+ if value is None:
return
with open(path, 'w') as f_out:
f_out.write(str(value))
Regards,
Christian Boltz
--
Re. "mailing lists are too hard to use", people who can't follow simple
instructions to join (send an e-mail to... to subscribe, send an e-mail
to... to unsubscribe) probably won't be helped by the message content
in any case. [Glenn Holmer in opensuse]
--
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/apparmor