[PATCH] since we're running all of fasClients from cron now - comment out this run of fasClients from puppet.

skvidal at fedoraproject.org skvidal at fedoraproject.org
Mon Aug 15 17:17:12 UTC 2011


From: Seth Vidal <skvidal at fedoraproject.org>

I think but am not positive that it is causing this log error:

restorecond: set context /var/db/shadow.db->system_u:object_r:shadow_t:s0 failed:'Permission denied'

due to fasClient running from cron at the same time as from puppet.
---
 modules/fas/manifests/init.pp |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/modules/fas/manifests/init.pp b/modules/fas/manifests/init.pp
index f1eb7ac..64676bb 100644
--- a/modules/fas/manifests/init.pp
+++ b/modules/fas/manifests/init.pp
@@ -66,15 +66,6 @@ class fas::client {
         type => "user_home_dir_t",
     }
 
-    exec { "make-accounts":
-        command => "/usr/bin/fasClient -e; /usr/bin/fasClient -i",
-        timeout => 90,
-        creates => "/var/db/shadow.db",
-        require => [
-            File["/etc/fas.conf"],
-            Package["fas-clients"],
-        ],
-    }
 }
 
 # May want to merge this into fas::client in the future if we want yubikey
-- 
1.7.2.1



More information about the infrastructure mailing list