On 11/23/2011 04:35 PM, Jiri Slaby wrote:
> This is to allow username from an NIS service to work with cgconfig
> properly.
> 
> Signed-off-by: Jiri Slaby <jsl...@suse.cz>

Acked-By: Jan Safranek <jsafr...@redhat.com>

with one remark: the main objective of the cgconfig service was to
prepare groups for others, i.e. it should start as early in the boot
process as possible. Dependency on ypbind moves it after network init,
which is IMHO quite late. But I understand there is no better way, if
someone has users/groups on NIS.

> ---
>  scripts/init.d/cgconfig.in |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/init.d/cgconfig.in b/scripts/init.d/cgconfig.in
> index d7387d1..14aa2e3 100644
> --- a/scripts/init.d/cgconfig.in
> +++ b/scripts/init.d/cgconfig.in
> @@ -23,8 +23,8 @@
>  # Provides:             cgconfig
>  # Required-Start:
>  # Required-Stop:
> -# Should-Start:
> -# Should-Stop:
> +# Should-Start:         ypbind
> +# Should-Stop:          ypbind
>  # Short-Description:    Create and setup control group filesystem(s)
>  # Description:          Create and setup control group filesystem(s)
>  ### END INIT INFO

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to