X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by lists.alpinelinux.org (Postfix) with ESMTP id 9ED5B618EB4 for ; Sat, 22 Aug 2009 14:58:04 +0000 (UTC) Received: by bwz23 with SMTP id 23so863211bwz.25 for ; Sat, 22 Aug 2009 07:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=v40CRBW2brOEGaLjKpKKo0bzLnYMOWsK2beX8mMnvJ0=; b=FLgsQ5bCrg6JvRPUPQVFlu/JD99jWXC+7pyJa3OcU2hBJ38BOv98KpEoOA6UOvcEQg iKqY/uQy7aPULLGzudDjbMh2j5EofvZnFkmTXTlTvpBYu/8BCIMre/7fNR/hMYDd9ZNC kvN2aixrfaQiimRhISMGuDtsSGZqvfY8hYEWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=LZyxYciCvpyuSGjGnPER3DWk9FSzT8MaRkXwsx4SbU9Gtmv8nGiAImdOocoaWgjAxn KGQl3kZSSYNW2cHHFm99O/REf9p8/d1ZRnfZGWpFGQ07WA0jW4n/XzGpxTMbu7bqwlSe 7bWTvuSSqVi31BFD+qdINIhNyIGkkeMkQRB0Y= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.223.97.132 with SMTP id l4mr1485079fan.100.1250953083752; Sat, 22 Aug 2009 07:58:03 -0700 (PDT) In-Reply-To: <6602aeca0908212205h4c1de1bekb3800b1198728cdd@mail.gmail.com> References: <6602aeca0908212205h4c1de1bekb3800b1198728cdd@mail.gmail.com> Date: Sat, 22 Aug 2009 14:58:03 +0000 Message-ID: <95408c820908220758u710a6c6fjdabc1a040d973368@mail.gmail.com> Subject: Re: [alpine-devel] [PATCH] main/ez-ipupdate: new aport From: Natanael Copa To: jeremy@thomersonfamily.com Cc: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=0015174bdcc83018020471bc3687 --0015174bdcc83018020471bc3687 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Sat, Aug 22, 2009 at 5:05 AM, Jeremy Thomerson < jeremy@thomersonfamily.com> wrote: > Attached is my patch for adding ez-ipupdate. I have not tested it on a > real box with a public IP, but I have run it in my chroot environment on my > laptop with an internal IP, and it was successfully running as a daemon and > updating DynDNS. I did have a little worry because rc-status is indicating > that it is crashed, but I think this is because within the chroot > environment it can't tell the process is still running. I'll have to test > that part on a real box later. > > Let me know if you have any feedback on this. I think the crash report problem comes from that the init.d script tried to stor the pidfile in /var/run rather than /var/run/ez-ipupdate. It didnt have permissions to write there and the pidfile was missing. With no pidfile it reported it as crashed. I commited the patch and fixed that issue. I have not been able to test it though. A tip, I normally just rip the init.d scripts from gentoo. They also use openrc. But in this case i'm not sure if i prefer your way to do it than gentoo version of init.d script. Thanks! -nc > Jeremy Thomerson > -- Natanael Copa --0015174bdcc83018020471bc3687 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sat, Aug 22, 2009 at 5:05 AM, Jeremy Thomerso= n <jerem= y@thomersonfamily.com> wrote:
Attached is my patch for adding ez-ipupdate.=A0 I have not tested it on a r= eal box with a public IP, but I have run it in my chroot environment on my = laptop with an internal IP, and it was successfully running as a daemon and= updating DynDNS.=A0 I did have a little worry because rc-status is indicat= ing that it is crashed, but I think this is because within the chroot envir= onment it can't tell the process is still running.=A0 I'll have to = test that part on a real box later.

Let me know if you have any feedback on this.

I think the crash report problem comes from that the init.d script t= ried to stor the pidfile in /var/run rather than /var/run/ez-ipupdate. It d= idnt have permissions to write there and the pidfile was missing. With no p= idfile it reported it as crashed.

I commited the patch and fixed that issue. I have not b= een able to test it though.

A tip, I normally just= rip the init.d scripts from gentoo. They also use openrc. But in this case= i'm not sure if i prefer your way to do it than gentoo version of init= .d script.

Thanks!

-nc


Jeremy Thomerson



--
Natanael Copa --0015174bdcc83018020471bc3687-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---