X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id CCC481EFC2C for ; Fri, 29 Oct 2010 12:33:21 +0000 (UTC) Received: from [10.65.65.1] (unknown [10.65.65.1]) by mail.wtbts.no (Postfix) with ESMTP id EDA5012C001; Fri, 29 Oct 2010 14:26:02 +0200 (CEST) Subject: Re: [alpine-devel] Suggestion on improvment From: Natanael Copa To: Mika Havela Cc: devel In-Reply-To: <4C7E0A9201FC9C6E@smtp-gw21.han.skanova.net> (added by postmaster@pne.skanova.net) References: <4C7E0A9201FC9C6E@smtp-gw21.han.skanova.net> (added by postmaster@pne.skanova.net) Content-Type: text/plain; charset="UTF-8" Date: Fri, 29 Oct 2010 14:33:19 +0200 Message-ID: <1288355599.31412.21.camel@ncopa-desktop.nor.wtbts.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.32.0 Content-Transfer-Encoding: 7bit On Thu, 2010-10-28 at 12:05 +0000, Mika Havela wrote: > Running setup-hostname basically only updates /etc/hostname > But the system itself doesn't get updated unless you reboot the box. or run /etc/init.d/hostname restart, like setup-alpine does. > Only thing I can imagine would be a problem is that lbu would create > duplicate overlays on lbu_media but otoh that problem gets back to yo > I can see I sent a patch about this before, but I can't se it either got applied or commented. > Anybody care to have a look at it - or reject it (please email your thoughts to alpine-devel mailing list). setup-alpine does /etc/init.d/hostname restart to avoid the issue you mention above. When I initiall wrote the setup-* scripts I had in mind that you could run them against another root. Lets say you unpack an apkovl or create a new apkvol, then you might wan set hostname for that apkovl but not for the running system. > Thanks! > <> > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---