Displaying 9 results from an estimated 9 matches for "g0a41de8".
2013 Sep 05
6
[PATCH 1/5] sysprep: remove /var/log/audit/audit.log
...ml
@@ -40,7 +40,6 @@ let globs = List.sort compare [
"/var/log/wtmp*";
"/var/log/apache2/*_log";
"/var/log/apache2/*_log-*";
- "/var/log/audit/audit.log";
"/var/log/ntp";
(* logfiles configured by /etc/logrotate.d/* *)
--
1.8.4.27.g0a41de8
2013 Sep 06
7
[PATCH 1/5] sysprep: remove tmp files
...d_by_default = true;
+ heading = s_"Remove the tmp files";
+ pod_description = Some (s_"\
+This removes the temporary files under C</tmp> and C</var/tmp>.");
+ perform_on_filesystems = Some tmp_files_perform;
+}
+
+let () = register_operation op
--
1.8.4.27.g0a41de8
2013 Sep 05
0
[PATCH 4/5] sysprep: remove log file of ntp
...ep_operation_logfiles.ml
@@ -85,6 +85,9 @@ let globs = List.sort compare [
(* log file of gdm *)
"/var/log/gdm/*";
+
+ (* log file of ntp *)
+ "/var/log/ntpstats/*";
]
let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
--
1.8.4.27.g0a41de8
2013 Sep 05
0
[PATCH 5/5] sysprep: remove iptables rules
...= Some (s_"\
+The custom iptables rules will be stored in /etc/sysconfig/iptables,
+if you do not want to keep these iptables rules, enable this operation
+to remove it automatically.");
+ perform_on_filesystems = Some iptables_perform;
+}
+
+let () = register_operation op
--
1.8.4.27.g0a41de8
2013 Sep 06
0
[PATCH 2/5] sysprep: remove the NFS settings
...enabled_by_default = false;
+ heading = s_"Remove the NFS settings";
+ pod_description = Some (s_"\
+This removes the NFS settings by removing C</etc/export>.");
+ perform_on_filesystems = Some nfs_setting_perform;
+}
+
+let () = register_operation op
--
1.8.4.27.g0a41de8
2013 Sep 06
0
[PATCH 4/5] sysprep: remove the custom tcp wrappers
..._"\
+This removes the custom tcp wrappers by emptying C</etc/hosts.*>.
+
+Note this is I<not> enabled by default since it may expose guests
+to exploits. Use with care.");
+ perform_on_filesystems = Some tcp_wrapper_perform;
+}
+
+let () = register_operation op
--
1.8.4.27.g0a41de8
2013 Sep 06
0
[PATCH 3/5] sysprep: remove the custom kdump configurations
...false;
+ heading = s_"Remove the kdump configurations";
+ pod_description = Some (s_"\
+This removes the kdump configurations by emptying C</etc/kdump.conf>.");
+ perform_on_filesystems = Some kdump_config_perform;
+}
+
+let () = register_operation op
--
1.8.4.27.g0a41de8
2013 Sep 05
1
[PATCH V2] sysprep: remove firewall rules
...quot;Remove the firewall rules";
+ pod_description = Some (s_"\
+If you do not want to keep the custom firewall rules, enable this operation
+to remove it automatically.");
+ perform_on_filesystems = Some firewall_rules_perform;
+}
+
+let () = register_operation op
--
1.8.4.27.g0a41de8
2013 Sep 05
2
Re: [PATCH 5/5] sysprep: remove iptables rules
...ules will be stored in /etc/sysconfig/iptables,
> +if you do not want to keep these iptables rules, enable this operation
> +to remove it automatically.");
> + perform_on_filesystems = Some iptables_perform;
> +}
> +
> +let () = register_operation op
> --
> 1.8.4.27.g0a41de8
Doesn't this delete all the firewall rules (not just removing the
custom rules)?
Of course the other problem (not with this patch) is that distros
using firewalld use a completely different method to store custom
rules, although it is at least easier to delete custom rules in this
case (by re...