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: Vladimír Marek <vlmarek AT volny.cz>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] cast --reconfigure --queue, RECONFIGURE not exported
  • Date: Tue, 27 Jul 2004 10:29:43 +0200

> 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?

Ok, now I'm not sure what I am I supposed to do :)

write bug to bugzilla ? Fix smething ? To be true I don't get what are
you talking about, sorry :)

> Thanks for pointing out the problem source of the problem though...

:)

> -Andrew

--
Neuron
>
>
> 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

Attachment: pgp6RDyP2gK7r.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page