Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Infrastructure (http://www.linux-archive.org/fedora-infrastructure/)
-   -   since we're running all of fasClients from cron now - comment out this run of fasClients from puppet. (http://www.linux-archive.org/fedora-infrastructure/564515-since-were-running-all-fasclients-cron-now-comment-out-run-fasclients-puppet.html)

seth vidal 08-15-2011 05:18 PM

since we're running all of fasClients from cron now - comment out this run of fasClients from puppet.
 
On Mon, 2011-08-15 at 17:17 +0000, skvidal@fedoraproject.org wrote:
> From: Seth Vidal <skvidal@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


I would appreciate some +1's on this.

-sv


_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

08-15-2011 05:56 PM

since we're running all of fasClients from cron now - comment out this run of fasClients from puppet.
 
From: Seth Vidal <skvidal@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

_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Dennis Gilmore 08-15-2011 05:57 PM

since we're running all of fasClients from cron now - comment out this run of fasClients from puppet.
 
+1

--

Sent from my Android phone with K-9 Mail. Please excuse my brevity.

skvidal@fedoraproject.org wrote:
From: Seth Vidal <skvidal@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,
- create
s =>
"/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


infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure


All times are GMT. The time now is 06:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.