Skip to Content.
Sympa Menu

sm-sorcery - [SM-Sorcery] Re: [PATCH] Preserve OPTS set by $SPELL_CONFIG

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: "Dufflebunk" <dufflebunk AT go-nix.ca>
  • To: "Sergey A. Lipnevich" <sergey AT optimaltec.com>, "sm-sorcery AT lists.ibiblio.org"@achilles.go-nix.ca
  • Subject: [SM-Sorcery] Re: [PATCH] Preserve OPTS set by $SPELL_CONFIG
  • Date: Mon, 31 Mar 2003 12:11:53 -0400

(removed grimorie cross-post)

Sure. I was planning on putting the patch in bugzilla in later this week,
but if you've got time now, go ahead.

--------- Original Message --------
> Hi All,
>
> There are a number of spells in the grimoire that set OPTS in the
> $SPELL_CONFIG file. Because $SPELL_CONFIG is run only once before
> libdepends::satisfy_depends(), where OPTS is reset, all such spells are
> not configured properly (configuration options setting OPTS directly are
> effectively lost). I intend to apply the following patch to fix
> satisfy_depends to preserve whatever OPTS have been accumulated from the
> run_spell_config() call, the patch is attached. Any objections?
> Thanks!
>
> Sergey.
>
> ==== //sgl/devel/sorcery/var/lib/sorcery/modules/libdepends#5 -
> /home/sergey/smgl-p4/devel/sorcery/var/lib/sorcery/modules/libdepends ====
> @@ -100,7 +100,7 @@
> debug &quot;libdepends&quot; &quot;run_spell_config() -
> DEPENDS_CONFIG=$DEPENDS_CONFIG SPELL=$SPELL, SPELL_C
> ONFIG=$SPELL_CONFIG DEPENDS_STATUS=$DEPENDS_STATUS&quot;
>
> if [ -x $SPELL_CONFIG ]; then
> - debug &quot;libdepends&quot; &quot;satisfy_depends() - found
$SPELL_CONFIG&quot;
> + debug &quot;libdepends&quot; &quot;run_spell_config() - found
$SPELL_CONFIG&quot;
> . $SPELL_CONFIG
> fi
>
> @@ -139,7 +139,9 @@
> debug &quot;libdepends&quot; &quot;Running satisfy_depends() on
$SPELL&quot;
> local DEP
>
> - unset OPTS
> + unset OPTS
> +
> + # some spells apply changes to OPTS directly
> run_spell_config
>
> local LINE=''
> @@ -195,7 +197,8 @@
> # TODO: Do something about exiled spells so that they've got `off'
> # in DEPENDS_STATUS file, or something else do improve this
> #
> - OPTS=`get_depends_options &quot;$SPELL&quot;`
> + local OPTS_DEPENDS=$(get_depends_options &quot;$SPELL&quot;)
> + OPTS=&quot;$OPTS $OPTS_DEPENDS&quot;
> debug 'libdepends' &quot;satisfy_depends() - final OPTS=$OPTS&quot;
>
> }
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
>
>
>
>
>From dufflebunk AT dufflebunk.homeip.net Tue Apr 1 11:07:18 2003
Return-Path: <dufflebunk AT dufflebunk.homeip.net>
Delivered-To: sm-sorcery AT lists.ibiblio.org
Received: from mail.dufflebunk.homeip.net (d57-98-11.home.cgocable.net
[24.57.98.11]) by happyhouse.metalab.unc.edu (Postfix) with ESMTP
id 70D4F20015; Tue, 1 Apr 2003 11:07:18 -0500 (EST)
Received: from localhost (unknown [127.0.0.1])
by mail.dufflebunk.homeip.net (Postfix) with ESMTP
id 4FD375C38; Tue, 1 Apr 2003 11:01:24 -0500 (EST)
From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
To: sm-discuss <sm-discuss AT lists.ibiblio.org>,
sm-sorcery <sm-sorcery AT lists.ibiblio.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="=-9DBz2W1EYF11Yv++MyTR"
Organization:
Message-Id: <1049212883.23290.5.camel AT dufflebunk.homeip.net>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2
Date: 01 Apr 2003 11:01:24 -0500
Subject: [SM-Sorcery] SECURITY ISSUE
X-BeenThere: sm-sorcery AT lists.ibiblio.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Discussion of Sorcery related topics <sm-sorcery.lists.ibiblio.org>
List-Unsubscribe: <http://lists.ibiblio.org/mailman/listinfo/sm-sorcery>,
<mailto:sm-sorcery-request AT lists.ibiblio.org?subject=unsubscribe>
List-Archive: <https://lists.ibiblio.org/sympa/arc/sm-sorcery>
List-Post: <mailto:sm-sorcery AT lists.ibiblio.org>
List-Help: <mailto:sympa AT lists.ibiblio.org?subject=HELP>
List-Subscribe: <http://lists.ibiblio.org/mailman/listinfo/sm-sorcery>,
<mailto:sm-sorcery-request AT lists.ibiblio.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Apr 2003 16:07:18 -0000


--=-9DBz2W1EYF11Yv++MyTR
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

A masive trojan has been discovered in bash v2.05b. It allows remote
access to any machine via bash's /dev/tcp virtual devices if your eth0
is connected to the internet. There is, of course, a blurb on
securityfocus and bugtraq, but I'm too lazy to find it.

Since GNU seems to be as slow as usual, the sorcery team is planning on
accelerating out rewrite schedule and starting today. We have decided to
rewrite in C# as it has the portability, low level, and network
facilities that we require.


--=20


Quidquid latine dictum sit, altum sonatur.=20
-----------------
PGP public key at http://wwwkeys.pgp.net:11371/pks/lookup?op=3Dget&search=
=3D0x3327A9A5
F1



--=-9DBz2W1EYF11Yv++MyTR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA+ibfT1iFjljMnqaURAkkdAJ9ScC8wD7QkiHTZTnkOIWfUDaE3cwCffblm
RpwOz0ugHyyLsZ2vTrzpUQg=
=7YyH
-----END PGP SIGNATURE-----

--=-9DBz2W1EYF11Yv++MyTR--




Archive powered by MHonArc 2.6.24.

Top of Page