Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2CC8DF97 for ; Fri, 14 Sep 2012 14:59:44 +0000 (UTC) Received: (qmail 48190 invoked by uid 500); 14 Sep 2012 14:59:44 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 48144 invoked by uid 500); 14 Sep 2012 14:59:44 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 48136 invoked by uid 99); 14 Sep 2012 14:59:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 14:59:44 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.149.141] (HELO na3sys009aog128.obsmtp.com) (74.125.149.141) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 14:59:36 +0000 Received: from mail-vb0-f48.google.com ([209.85.212.48]) (using TLSv1) by na3sys009aob128.postini.com ([74.125.148.12]) with SMTP ID DSNKUFNGQmBa7T/CTuWp6XRGWobHxHat5joV@postini.com; Fri, 14 Sep 2012 07:59:15 PDT Received: by vbme21 with SMTP id e21so3284522vbm.7 for ; Fri, 14 Sep 2012 07:59:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=GFMCQxKuUdsFum16lds0jhMm5WQL5Ps9pu/F0EYq7nA=; b=Z1MQpSmOxYmjsRD8AoO6k0BxkAqCRvrbFu8w5AkjzNZhPjJRh1nYFy9WWJyE+FMvVM 6X/QhKYQOVbA8ODzQiHqnBeEhpuFs0fgl1TfpJRmUB7FGMt94dA51Ni0eacM5djXFXnm q/v6eJUuAlt1ptJc8P4Jv68htnv/Uug+VvMhEKw4uCMX358SVkj3dwecUudLDRGRKASJ Rh0gtZ4VS0IqkMLRmN3zOVjcinc9ydatkTeg2we0HWjaxJvUwcK/ynDzFdqg3wgiCAOD h55Cc7m2E6kA1j9xnnsBQE4Z77/Il/O/zGsf4Hg/FuBOY4WGh5El8kktoieHwic9iHOx aUTQ== MIME-Version: 1.0 Received: by 10.221.13.72 with SMTP id pl8mr2469536vcb.5.1347634753543; Fri, 14 Sep 2012 07:59:13 -0700 (PDT) Received: by 10.58.239.135 with HTTP; Fri, 14 Sep 2012 07:59:13 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Sep 2012 10:59:13 -0400 Message-ID: Subject: Re: passwd server not set to start From: Chip Childers To: cloudstack-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQk1QNmjnVsx+hWsE/vDaFJ9nmxk8K0ZrdzFJHRs50jPn+4ME49mJQWXqX2GDXvCccNHH2mr On Fri, Sep 14, 2012 at 1:13 AM, Marcus Sorensen wrote: > in launching new routers with the latest 4.0 build I'm getting no > passwd server, chkconfig --list show it turned off, and even turning > it on, it gets turned off automatically. > > root@r-190-VM:~# cat /etc/default/cloud-passwd-srvr > #set ENABLED to 1 if you want the init script to start the password server > ENABLED=1 > > but... > > root@r-190-VM:~# chkconfig --list cloud-passwd-srvr > cloud-passwd-srvr 0:off 1:off 2:off 3:off 4:off 5:off 6:off S:on > > root@r-190-VM:~# chkconfig cloud-passwd-srvr on # <-- > patchsystemvm.sh tries this > root@r-190-VM:~# chkconfig --list cloud-passwd-srvr > cloud-passwd-srvr 0:off 1:off 2:off 3:off 4:off 5:off 6:off S:on > > Notice, no runlevels. Adding the runlevels into Default-Start seems to > fix, but I don't see any recent changes to this file, so I'm left > wondering what used to make this work. > > root@r-190-VM:/opt# head /etc/init.d/cloud-passwd-srvr > #!/bin/bash > ### BEGIN INIT INFO > # Provides: cloud-passwd-srvr > # Required-Start: mountkernfs $local_fs cloud-early-config > # Required-Stop: $local_fs > # Should-Start: > # Should-Stop: > # Default-Start: S > # Default-Stop: 0 6 > # Short-Description: Web server that sends passwords to User VMs > Marcus, In your copy of that file, is the ASF license header included? If so, I'm wondering if my recent addition of that header has broken the script somehow. If not, then I'm not sure what's going on. I see that the copy in the master branch DOES include Default-Start: S Here's what I see in the source: ### BEGIN INIT INFO # Provides: cloud-passwd-srvr # Required-Start: mountkernfs $local_fs cloud-early-config # Required-Stop: $local_fs # Should-Start: # Should-Stop: # Default-Start: S # Default-Stop: 0 6 # Short-Description: Web server that sends passwords to User VMs ### END INIT INFO