From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 From: Serhii Hlodin To: ALT Linux Team development discussions Date: Wed, 2 Apr 2008 16:52:14 +0300 User-Agent: KMail/1.9.9 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200804021652.15399.hlodin@altlinux.ru> X-Virus-Scanned: amavisd-new at komo.ua Subject: Re: [devel] repocop and lsb init headers X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 13:52:22 -0000 Archived-At: List-Archive: List-Post: середа, 02-кві-2008, Eugene Prokopiev написав: > callweaver-1.2-alt0.svn4580.x86_64 init-lsb info /etc/rc.d/init.d/callweave >r: lsb init header missing.; > ... > > Так что, все дружно добавлем lsb init headers так как описано здесь - > http://wiki.debian.org/LSBInitScripts? Есть уже добавившие? ;) А если быть точнее, то так, как описано: http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/runlevels.html Я к тому, что у нас почему-то некоторые сетевые сервисы могут запускаються на 2-м уровне (сходу сразу обнаружил sshd), и вместо: start, stop, reload, restart, condstop, condrestart, condreload, status пора потихоньку переходить на: start start the service stop stop the service restart stop and restart the service if the service is already running, otherwise start the service try-restart restart the service if the service is already running reload cause the configuration of the service to be reloaded without actually stopping and restarting the service force-reload cause the configuration to be reloaded if the service supports this, otherwise restart the service if it is running status print the current status of the service -- С уважением, С.В. Глодин