From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ry0Xn-0002oJ-Bc for garchives@archives.gentoo.org; Thu, 16 Feb 2012 12:34:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F240BE0C06; Thu, 16 Feb 2012 12:34:20 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 12359E0ECD for ; Thu, 16 Feb 2012 12:32:38 +0000 (UTC) Received: from mail-lpp01m010-f53.google.com ([209.85.215.53]) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1Ry0Vs-0049SH-E2 for gentoo-user@lists.gentoo.org; Thu, 16 Feb 2012 19:32:40 +0700 Received: by lahd3 with SMTP id d3so2663436lah.40 for ; Thu, 16 Feb 2012 04:32:34 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.152.114.133 with SMTP id jg5mr1617613lab.37.1329395554853; Thu, 16 Feb 2012 04:32:34 -0800 (PST) Received: by 10.112.38.194 with HTTP; Thu, 16 Feb 2012 04:32:34 -0800 (PST) Received: by 10.112.38.194 with HTTP; Thu, 16 Feb 2012 04:32:34 -0800 (PST) In-Reply-To: <8f972324abfa46f96da465bb3d5fee46.squirrel@www.antarean.org> References: <53f772f8762eb4f7a7a41072e795a3ba.squirrel@www.antarean.org> <4F3CE471.6070606@binarywings.net> <8f972324abfa46f96da465bb3d5fee46.squirrel@www.antarean.org> Date: Thu, 16 Feb 2012 19:32:34 +0700 Message-ID: Subject: Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ? From: Pandu Poluan To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=f46d040839b3d022b704b91405a7 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Archives-Salt: 7ee038b6-242c-4944-b8e8-b391ee0c5db7 X-Archives-Hash: 0c104cf6353184ecf496c9e599f81d5b --f46d040839b3d022b704b91405a7 Content-Type: text/plain; charset=UTF-8 On Feb 16, 2012 6:48 PM, "J. Roeleveld" wrote: > > > On Thu, February 16, 2012 12:39 pm, Pandu Poluan wrote: > > On Feb 16, 2012 6:14 PM, "Florian Philipp" wrote: > >> > >> Am 16.02.2012 11:12, schrieb Pandu Poluan: > >> > > >> > On Feb 16, 2012 3:33 PM, "J. Roeleveld" >> > > wrote: > > > > >> >> > >> >> Pandu, > >> >> > >> >> I haven't checked the source yet, but I'm wondering if the scripts > >> are > >> >> looking for the "conf.d" file in the location: > >> >> " ../conf.d " (based from the actual location of the init-script) > >> >> > >> >> Can you try the following: > >> >> # mkdir -p /opt/wallmator/initscripts/conf.d > >> >> # ln -s /etc/init.d/gatewall > >> /opt/wallmator/initscripts/conf.d/gatewall > >> >> > >> >> and then recreate the original link for the init-script. > >> >> > >> > > >> > IIRC, it's the responsibility of runscript to source the relevant > >> config > >> > file in /etc/conf.d, and not the initscript's. > >> > > >> > If you peruse the code, you can see that I relied on that feature; > >> there > >> > is no source-ing of any file in /etc/conf.d > >> > > >> > Rgds, > >> > > >> > >> Yes, but maybe runscript resolves the real file location and then > >> sources the conf file relative to that location. > >> > > > > Most likely. Didn't use to be like that, though. > > > > Oh well, I'll just add an explicit source then. > > > > Rgds, > > > > Did those little commands work then? I didn't test them myself. > Neither have I, actually. Already on my way home when you suggested the commands. Will try them tomorrow and report here. Rgds, --f46d040839b3d022b704b91405a7 Content-Type: text/html; charset=UTF-8


On Feb 16, 2012 6:48 PM, "J. Roeleveld" <joost@antarean.org> wrote:
>
>
> On Thu, February 16, 2012 12:39 pm, Pandu Poluan wrote:
> > On Feb 16, 2012 6:14 PM, "Florian Philipp" <lists@binarywings.net> wrote:
> >>
> >> Am 16.02.2012 11:12, schrieb Pandu Poluan:
> >> >
> >> > On Feb 16, 2012 3:33 PM, "J. Roeleveld" <joost@antarean.org
> >> > <mailto:joost@antarean.org>> wrote:
>
> <SNIP>
>
> >> >>
> >> >> Pandu,
> >> >>
> >> >> I haven't checked the source yet, but I'm wondering if the scripts
> >> are
> >> >> looking for the "conf.d" file in the location:
> >> >> " ../conf.d " (based from the actual location of the init-script)
> >> >>
> >> >> Can you try the following:
> >> >> # mkdir -p /opt/wallmator/initscripts/conf.d
> >> >> # ln -s /etc/init.d/gatewall
> >> /opt/wallmator/initscripts/conf.d/gatewall
> >> >>
> >> >> and then recreate the original link for the init-script.
> >> >>
> >> >
> >> > IIRC, it's the responsibility of runscript to source the relevant
> >> config
> >> > file in /etc/conf.d, and not the initscript's.
> >> >
> >> > If you peruse the code, you can see that I relied on that feature;
> >> there
> >> > is no source-ing of any file in /etc/conf.d
> >> >
> >> > Rgds,
> >> >
> >>
> >> Yes, but maybe runscript resolves the real file location and then
> >> sources the conf file relative to that location.
> >>
> >
> > Most likely. Didn't use to be like that, though.
> >
> > Oh well, I'll just add an explicit source then.
> >
> > Rgds,
> >
>
> Did those little commands work then? I didn't test them myself.
>

Neither have I, actually. Already on my way home when you suggested the commands.

Will try them tomorrow and report here.

Rgds,

--f46d040839b3d022b704b91405a7--