Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] cast --reconfigure --queue, RECONFIGURE not exported

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Alan Woolley <seth AT positivism.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] cast --reconfigure --queue, RECONFIGURE not exported
  • Date: Mon, 26 Jul 2004 11:04:18 -0700

Yes, I'd really like to see those moved outside of cast -- perhaps into
sorcery if not another utility or a whole new utility.

Seth

On Mon, Jul 26, 2004 at 11:00:58AM -0700, Andrew wrote:
>
> Same problem for QUIET, SILENT and SEPERATE, but really, --queue shouldn't
> work that way, theres no reason to call cast from the top again, and
> of course --pam is broken this way too. Yet another example of making
> a function designed to do one thing, do another *sigh* But hey, why not just
> make quick little fixes like this because their easy?
>
> Thanks for pointing out the problem source of the problem though...
>
> -Andrew
>
>
> On Mon, Jul 26, 2004 at 10:49:17AM -0700, Seth Alan Woolley wrote:
> > I think the -r isn't being passed down once queue has been established as
> > the switch on the command-line.
> >
> > see line 560 of /usr/sbin/cast:
> >
> > 559: # cast the queue.
> > 560: cast -c `cat $INSTALL_QUEUE 2>/dev/null`
> > 561:
> >
> > might want to export it right before line 560 or cleaner:
> >
> > 560: cast $RECONFIGURE -c `cat $INSTALL_QUEUE
> > 2>/dev/null`
> >
> > On Mon, Jul 26, 2004 at 10:16:14AM -0700, Andrew wrote:
> > >
> > > RECONFIGURE shouldn't need to be exported unless you need it defined in
> > > pass 3 or 4, which you probably dont, since all config query'ish things
> > > should be done in pass 1. What ends up needing it down the road?
> > > Maybe you could describe more of whats going on?
> > >
> > > -Andrew
> > >
> > > On Mon, Jul 26, 2004 at 01:49:39PM +0200, Vladim?r Marek wrote:
> > > > Hello,
> > > >
> > > > I tried to do
> > > >
> > > > cast -r -c --queue, but found that the spells didn't ask me for a new
> > > > config. It's caused by line 258 of /usr/sbin/cast:
> > > >
> > > > -r|--reconfigure) RECONFIGURE="$1"; shift 1 ;;
> > > >
> > > > The RECONFIGURE variable is not exported, and (probably ?) new
> > > > processes
> > > > are spawned for spells in queue. If I change the line to
> > > >
> > > > -r|--reconfigure) export RECONFIGURE="$1"; shift 1 ;;
> > > >
> > > > It seems to me that everything is working as it should.
> > > >
> > > > Does it have any meaning to _not_ export this variable ?
> > > >
> > > > --
> > > > Neuron
> > >
> > >
> > >
> > > > _______________________________________________
> > > > SM-Discuss mailing list
> > > > SM-Discuss AT lists.ibiblio.org
> > > > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> > >
> > >
> > > --
> > > __________________________________________________________________________
> > > |Andrew D. Stitt | astitt at sourcemage.org
> > > |
> > > |irc: afrayedknot | afrayedknot at
> > > t.armory.com |
> > > |aim: thefrayedknot or iteratorplusplus |
> > > |
> > > |Sorcery Team Lead, Porting Team Lead |
> > > |
> > > |Grimoire Guru ham/smgl | ftp://t.armory.com
> > > |
> > > |Author and Maintainer of Prometheus |
> > > |
> > > --------------------------------------------------------------------------
> > > _______________________________________________
> > > SM-Discuss mailing list
> > > SM-Discuss AT lists.ibiblio.org
> > > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> > >
> >
> > --
> > Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
> > Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
> > http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
> > Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org
>
>
>
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
>
> --
> __________________________________________________________________________
> |Andrew D. Stitt | astitt at sourcemage.org |
> |irc: afrayedknot | afrayedknot at t.armory.com |
> |aim: thefrayedknot or iteratorplusplus | |
> |Sorcery Team Lead, Porting Team Lead | |
> |Grimoire Guru ham/smgl | ftp://t.armory.com |
> |Author and Maintainer of Prometheus | |
> --------------------------------------------------------------------------
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org

Attachment: pgp9S_K3z2WTI.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page