public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Pandu Poluan <pandu@poluan.info>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ?
Date: Thu, 16 Feb 2012 19:32:34 +0700	[thread overview]
Message-ID: <CAA2qdGWNAsb-XrS==6sd2V9ikHw_K1b6Fu8qoNAZQOzqEh2Heg@mail.gmail.com> (raw)
In-Reply-To: <8f972324abfa46f96da465bb3d5fee46.squirrel@www.antarean.org>

[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]

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,

[-- Attachment #2: Type: text/html, Size: 2701 bytes --]

  reply	other threads:[~2012-02-16 12:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-16  5:24 [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ? Pandu Poluan
2012-02-16  6:57 ` Willie Matthews
2012-02-16  7:09   ` Pandu Poluan
2012-02-16  8:34 ` J. Roeleveld
2012-02-16 10:12   ` Pandu Poluan
2012-02-16 11:11     ` Florian Philipp
2012-02-16 11:39       ` Pandu Poluan
2012-02-16 11:51         ` J. Roeleveld
2012-02-16 12:32           ` Pandu Poluan [this message]
2012-02-16 11:57         ` Neil Bothwick
2012-02-16 12:35           ` Pandu Poluan
2012-02-16 13:38             ` Neil Bothwick
2012-02-16 16:14               ` Pandu Poluan
2012-02-16 20:31                 ` Neil Bothwick
2012-03-18 22:14                   ` William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA2qdGWNAsb-XrS==6sd2V9ikHw_K1b6Fu8qoNAZQOzqEh2Heg@mail.gmail.com' \
    --to=pandu@poluan.info \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox