Forum: CFEngine Help
Subject: Long running shadow file edits?
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,23516,23516#msg-23516
Hey folks,
Has anyone had issues with field edits on /etc/shadow running long? The
promise I am using is pretty straight forward and seems to work as intended,
but every day I get emails from various hosts about this edit being terminated:
Received signal 2 (SIGINT) while doing Logical start time Thu Sep 15 07:22:06
2011 This sub-task started really at Thu Sep 15 07:22:09 2011
I don't see this problems with other file edits, so I am assuming it is either
related to /etc/shadow or the promise:
"/etc/shadow"
handle => "enforce_user_password",
comment => "Set user password in /etc/shadow if requested.",
edit_defaults => backup,
edit_line => set_user_field("$(index)", 2,
"$($(user)[$(index)])"),
classes => if_repaired("pw_changed_$(index)"),
ifvarclass => "enforce_pw_$(index)";
Any ideas would be appreciated! I am running 3.2.0.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine