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 1Rxtr2-0001Aa-2Y for garchives@archives.gentoo.org; Thu, 16 Feb 2012 05:26:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1038AE0E02; Thu, 16 Feb 2012 05:25:52 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 4376CE0D89 for ; Thu, 16 Feb 2012 05:24:50 +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 1Rxtpq-003ZJ0-8C for Gentoo-user@lists.gentoo.org; Thu, 16 Feb 2012 12:24:50 +0700 Received: by lahd3 with SMTP id d3so2196263lah.40 for ; Wed, 15 Feb 2012 21:24:45 -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.112.25.8 with SMTP id y8mr366700lbf.15.1329369885866; Wed, 15 Feb 2012 21:24:45 -0800 (PST) Received: by 10.112.38.194 with HTTP; Wed, 15 Feb 2012 21:24:45 -0800 (PST) Date: Thu, 16 Feb 2012 12:24:45 +0700 Message-ID: Subject: [gentoo-user] Can no longer use symlinks in /etc/init.d with openrc-0.9.8.4 ? From: Pandu Poluan To: gentoo-user Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 051aae1b-be54-442b-918b-e9ad0bd31437 X-Archives-Hash: efd59001c35f7635d574daa16898218a I am wondering if any of you had experienced the same difficulty as me: A couple of days ago, I upgraded openrc from (whatever version it was previously) to 0.9.8.4. One of the scripts in /etc/init.d was a symlink to /opt/some/package/path (To be precise, /etc/init.d/gatewall -> /opt/wallmator/initscripts/gentoo/gatewall.init) ((wallmator is a "Firewall Automator" script I'm developing)) This morning, I rebooted. Upon time to execute the "gatewall" script, it complained that some settings (set through /etc/conf.d/gatewall are not set). I double-checked the settings it complained; yep, they are there in /etc/conf.d/gatewall. I tried `/etc/init.d/gatewall start`, no luck. It still complains of some vital non-optional settings not being set. So, I replaced the symlink: cd /etc/init.d mv gatewall gatewall.old cp /opt/wallmator/initscripts/gentoo/gatewall.init gatewall And tried again `/etc/init.d/gatewall start` ... it worked!! So I tried `shutdown -r now` ... there's joy in Mudville! The "gatewall" initscript now properly reads the settings in /etc/conf.d/gatewall. My question is: Is there a change of behavior in how openrc executes a script in /etc/init.d/ when said script is a symlink instead of a 'normal' file? PS: For this particular system, everything under / except /boot resides in the same filesystem. PPS: For the contents of the "gatewall" initscript, see https://bitbucket.org/pepoluan/wallmator/src/edae2e294d07/initscript/gentoo= /gatewall.init Rgds, --=20 FdS Pandu E Poluan ~ IT Optimizer ~ =C2=A0=E2=80=A2 LOPSA Member #15248 =C2=A0=E2=80=A2 Blog : http://pepoluan.tumblr.com =C2=A0=E2=80=A2 Linked-In : http://id.linkedin.com/in/pepoluan