search for: sysprep_operation_cron_spool

Displaying 20 results from an estimated 36 matches for "sysprep_operation_cron_spool".

2012 Sep 21
1
[PATCH] sysprep: handle at jobs in cron-spool operation
cron-spool claims to remove at jobs, but it has no code to actually do that. Add patterns to remove files in known at spool locations. Signed-off-by: Olaf Hering <olaf at aepfle.de> --- This patch is only compile tested! sysprep/sysprep_operation_cron_spool.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysprep/sysprep_operation_cron_spool.ml b/sysprep/sysprep_operation_cron_spool.ml index 5284660..e96832c 100644 --- a/sysprep/sysprep_operation_cron_spool.ml +++ b/sysprep/sysprep_operation_cron_spool.ml @@ -23,6 +23,12 @@ module G = Gues...
2015 Jul 01
0
[PATCH 3/3] sysprep: rework and fix cron-spool operation (RHBZ#1229305)
...there is the atjobs subdirectory with the actual at queue. Make sure to not remove .SEQ files anymore, as they represent the at job counter which is needed by the at daemon. Instead, reset these files to 0. Furthermore, add also the path to the .SEQ location in Debian-based systems. --- sysprep/sysprep_operation_cron_spool.ml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/sysprep/sysprep_operation_cron_spool.ml b/sysprep/sysprep_operation_cron_spool.ml index 687a7e9..888b97a 100644 --- a/sysprep/sysprep_operation_cron_spool.ml +++ b/sysprep/sysprep_operation_cron_spoo...
2015 Jul 01
0
[PATCH 2/2] sysprep: rework and fix cron-spool operation (RHBZ#1229305)
...there is the atjobs subdirectory with the actual at queue. Make sure to not remove .SEQ files anymore, as they represent the at job counter which is needed by the at daemon. Instead, reset these files to 0. Furthermore, add also the path to the .SEQ location in Debian-based systems. --- sysprep/sysprep_operation_cron_spool.ml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/sysprep/sysprep_operation_cron_spool.ml b/sysprep/sysprep_operation_cron_spool.ml index 687a7e9..063f75a 100644 --- a/sysprep/sysprep_operation_cron_spool.ml +++ b/sysprep/sysprep_operation_cron_spo...
2012 Apr 03
1
[PATCH RFC] sysprep:add logging feature
...hat's done. Please consider to add logging feature what was done at virt-sysprep. For example, deleted /var/log/utmp deleted /etc/..... modified /etc/sysconfing/network... ... What do you think? Thanks, Wanlong Gao Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- sysprep/sysprep_operation_cron_spool.ml | 2 ++ sysprep/sysprep_operation_dhcp_client_state.ml | 2 ++ sysprep/sysprep_operation_dhcp_server_state.ml | 2 ++ sysprep/sysprep_operation_hostname.ml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/sysprep/sysprep_operation_cron_spool.ml b/sysprep/sysprep...
2015 Jul 01
4
[PATCH 1/2] mllib: add and use last_part_of
Collect this small snippet to get the part of a string after the last occurrency of a character; replace with it the current snippets doing the same. Should be just code motion. --- customize/password.ml | 5 +++-- mllib/common_utils.ml | 7 +++++++ mllib/common_utils.mli | 3 +++ sysprep/sysprep_operation_user_account.ml | 5 +++--
2015 Jul 01
5
[PATCH 1/3] mllib: add an optional filter for rm_rf_only_files
This way it is possible to use rm_rf_only_files, but not removing specific files. --- mllib/common_utils.ml | 8 +++++++- mllib/common_utils.mli | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index 516cff3..3737b4c 100644 --- a/mllib/common_utils.ml +++ b/mllib/common_utils.ml @@ -640,13 +640,19 @@ let rmdir_on_exit = *
2012 May 09
2
[PATCH 1/2] sysprep: remove ca certificates in the guest
...diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index d82e5ae..c6292cc 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -35,6 +35,7 @@ SOURCES = \ sysprep_operation.ml \ sysprep_operation.mli \ sysprep_operation_bash_history.ml \ + sysprep_operation_ca_certificates.ml \ sysprep_operation_cron_spool.ml \ sysprep_operation_dhcp_client_state.ml \ sysprep_operation_dhcp_server_state.ml \ @@ -68,6 +69,7 @@ OBJECTS = \ utils.cmx \ sysprep_operation.cmx \ sysprep_operation_bash_history.cmx \ + sysprep_operation_ca_certificates.cmx \ sysprep_operation_cron_spool.cmx \ sysprep_operation_...
2012 Apr 12
1
[PATCH] sysprep: remove the bash history of users
...ep_operation_bash_history.ml diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index 8730bc0..3a48702 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -33,6 +33,7 @@ SOURCES = \ main.ml \ sysprep_operation.ml \ sysprep_operation.mli \ + sysprep_operation_bash_history.ml \ sysprep_operation_cron_spool.ml \ sysprep_operation_dhcp_client_state.ml \ sysprep_operation_dhcp_server_state.ml \ @@ -56,6 +57,7 @@ if HAVE_OCAML OBJECTS = \ utils.cmx \ sysprep_operation.cmx \ + sysprep_operation_bash_history.cmx \ sysprep_operation_cron_spool.cmx \ sysprep_operation_dhcp_client_state.cmx \ s...
2012 Apr 23
2
[PATCH] sysprep: flag the system for reconfiguration
...ithub.com/clalancette/oz/blob/e74ce83283d468fd987583d6837b441608e5f8f0/oz/Windows.py ) - blue skies: change the background image diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index f51fc07..71669b2 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -37,6 +37,7 @@ SOURCES = \ sysprep_operation_cron_spool.ml \ sysprep_operation_dhcp_client_state.ml \ sysprep_operation_dhcp_server_state.ml \ + sysprep_operation_flag_reconfiguration.ml \ sysprep_operation_hostname.ml \ sysprep_operation_logfiles.ml \ sysprep_operation_mail_spool.ml \ @@ -62,6 +63,7 @@ OBJECTS = \ sysprep_operation_cron_spo...
2012 Apr 06
2
[PATCH] virt-sysprep:add logging feature
...2 make[2]: Leaving directory `/work/git/libguestfs/sysprep' Thanks a lot, Wanlong Gao Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- sysprep/main.ml | 9 ++++++--- sysprep/sysprep_operation.ml | 6 +++--- sysprep/sysprep_operation_cron_spool.ml | 10 ++++++++-- sysprep/sysprep_operation_dhcp_client_state.ml | 9 +++++++-- sysprep/sysprep_operation_dhcp_server_state.ml | 8 ++++++-- sysprep/sysprep_operation_hostname.ml | 4 +++- sysprep/sysprep_operation_logfiles.ml | 11 +++++++++-- sysp...
2012 Sep 19
1
virt-sysprep cron-spool, no at jobs
sysprep/sysprep_operation_cron_spool.ml claims to remove at jobs, but those are not stored in /var/spool/cron/ on my system. Is the description wrong, or do other distros store the spool data in the cron dir? For me it looks like this (000110156d537 is currently executed): root at probook:~ # find /var/spool/at* -ls 67540 1 drwx...
2013 Jun 14
3
[PATCH 0/2] Fix inspection of Fedora guests (RHBZ#974489).
Here is a preliminary fix for this bug. I'm running the test suite on this now. Rich.
2012 Apr 27
2
[PATCH 1/2] sysprep: remove the logfiles configured by logrotate
Remove the logfiles configured by /etc/logrotate.d/*. Omit the logfile of "samba" and "sssd" which we removed them separately . Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- sysprep/sysprep_operation_logfiles.ml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sysprep/sysprep_operation_logfiles.ml
2014 Jan 21
1
[PATCH 1/2] sysprep: Update comments.
--- sysprep/sysprep_operation.mli | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysprep/sysprep_operation.mli b/sysprep/sysprep_operation.mli index 61dde72..eb89db4 100644 --- a/sysprep/sysprep_operation.mli +++ b/sysprep/sysprep_operation.mli @@ -16,14 +16,16 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) -(** Structure used to describe sysprep
2017 Sep 19
1
Re: [PATCH 2/5] Make sure every *.ml file has a corresponding *.mli file.
...files.mli | 19 + > sysprep/sysprep_operation_bash_history.mli | 19 + > sysprep/sysprep_operation_blkid_tab.mli | 19 + > sysprep/sysprep_operation_ca_certificates.mli | 19 + > sysprep/sysprep_operation_crash_data.mli | 19 + > sysprep/sysprep_operation_cron_spool.mli | 19 + > sysprep/sysprep_operation_customize.mli | 19 + > sysprep/sysprep_operation_dhcp_client_state.mli | 19 + > sysprep/sysprep_operation_dhcp_server_state.mli | 19 + > sysprep/sysprep_operation_dovecot_data.mli | 19 + > sysprep/sys...
2012 Apr 25
3
[PATCH 1/3] sysprep: remove the db and log of sssd
Remove the db and log of sssd. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- sysprep/Makefile.am | 2 ++ sysprep/sysprep_operation_sssd_db_log.ml | 50 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 sysprep/sysprep_operation_sssd_db_log.ml diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index
2017 Sep 26
5
[PATCH 0/5] Miscellaneous refactoring of common/utils, create common/mltools
Miscellaneous refactoring, but the main one is to rename mllib/ as common/mltools/ Rich.
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It does work, but needs a lot more testing. This removes all the psychopathic gettextify cruft, and replaces it with a 99 line Makefile.am. A large win, I think. The third patch implements gettext support in the OCaml tools. The fourth patch is just for illustration. It shows the consequent changes to libguestfs.pot and the po
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...sysprep_operation_abrt_data.ml | 2 +- sysprep/sysprep_operation_bash_history.ml | 2 +- sysprep/sysprep_operation_blkid_tab.ml | 2 +- sysprep/sysprep_operation_ca_certificates.ml | 2 +- sysprep/sysprep_operation_crash_data.ml | 2 +- sysprep/sysprep_operation_cron_spool.ml | 2 +- sysprep/sysprep_operation_customize.ml | 4 +- sysprep/sysprep_operation_dhcp_client_state.ml | 2 +- sysprep/sysprep_operation_dhcp_server_state.ml | 2 +- sysprep/sysprep_operation_dovecot_data.ml | 2 +- sysprep/sysprep_operation_firewall_r...
2017 Jun 15
0
[PATCH v6 04/41] mllib: Split ‘Common_utils’ into ‘Std_utils’ + ‘Common_utils’.
...y/utils.ml | 2 +- sysprep/Makefile.am | 5 +- sysprep/main.ml | 1 + sysprep/sysprep_operation.ml | 4 +- sysprep/sysprep_operation_backup_files.ml | 3 +- sysprep/sysprep_operation_cron_spool.ml | 6 +- sysprep/sysprep_operation_net_hostname.ml | 4 +- sysprep/sysprep_operation_net_hwaddr.ml | 4 +- sysprep/sysprep_operation_script.ml | 3 +- sysprep/sysprep_operation_user_account.ml | 1 + v2v/DOM.ml...