All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] tools: Fix network-bridge to work withGentoo (version 2)
@ 2005-10-05 20:25 Ian Pratt
  2005-10-05 20:44 ` Jeremy Katz
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Pratt @ 2005-10-05 20:25 UTC (permalink / raw)
  To: Jeremy Katz, xen-devel

> Thinking aloud -- maybe just setting a variable so we know 
> we're in the 'make dist' case and using that to install all 
> the distro specific stuff into DESTDIR and then letting 
> install.sh also pick out the right distro would work.  Then 
> for the more normal install case, just the proper things for 
> the distro would get installed.  Does this seem reasonable?
> I'll try to cook up something today

This would be great, but does have the danger that we end up having a
swathe of very similar scripts that have to be maintained together.

It was annoying that gentoo chose not to use ifup/down. I guess with the
various udev/hotplug versions we'll need vendor-specific ways of
addressing them too.

I guess the install script could also get the python packages in the
right place for the distro.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] tools: Fix network-bridge to work withGentoo (version 2)
  2005-10-05 20:25 [PATCH] tools: Fix network-bridge to work withGentoo (version 2) Ian Pratt
@ 2005-10-05 20:44 ` Jeremy Katz
  2005-10-05 20:55   ` Nivedita Singhvi
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Katz @ 2005-10-05 20:44 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel

On Wed, 2005-10-05 at 21:25 +0100, Ian Pratt wrote:
> > Thinking aloud -- maybe just setting a variable so we know 
> > we're in the 'make dist' case and using that to install all 
> > the distro specific stuff into DESTDIR and then letting 
> > install.sh also pick out the right distro would work.  Then 
> > for the more normal install case, just the proper things for 
> > the distro would get installed.  Does this seem reasonable?
> > I'll try to cook up something today
> 
> This would be great, but does have the danger that we end up having a
> swathe of very similar scripts that have to be maintained together.

Yeah, this is the downside.  After spending a while earlier looking for
how other projects handle it, it looks like most have gone the route of
"don't provide anything at all and then distros ship their own".  Which
kind of sucks. :/  It's much like the current problem of not having the
packaging scripts for each distro.

The only exception tend to be a few projects which detect your
distribution at configure time and then install an appropriate
"backend".

> It was annoying that gentoo chose not to use ifup/down. I guess with the
> various udev/hotplug versions we'll need vendor-specific ways of
> addressing them too.

Yep, I'm having to run with Chris Bainbridge's udev rules (with a few
minor tweaks) since Fedora devel is very current udev as the hotplug
handler.  That's what really got me thinking down this path.

Jeremy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] tools: Fix network-bridge to work withGentoo (version 2)
  2005-10-05 20:44 ` Jeremy Katz
@ 2005-10-05 20:55   ` Nivedita Singhvi
  2005-10-06 10:44     ` Chris Bainbridge
  0 siblings, 1 reply; 4+ messages in thread
From: Nivedita Singhvi @ 2005-10-05 20:55 UTC (permalink / raw)
  To: Jeremy Katz; +Cc: Ian Pratt, xen-devel

Jeremy Katz wrote:

> On Wed, 2005-10-05 at 21:25 +0100, Ian Pratt wrote:
> 
>>>Thinking aloud -- maybe just setting a variable so we know 
>>>we're in the 'make dist' case and using that to install all 
>>>the distro specific stuff into DESTDIR and then letting 
>>>install.sh also pick out the right distro would work.  Then 
>>>for the more normal install case, just the proper things for 
>>>the distro would get installed.  Does this seem reasonable?
>>>I'll try to cook up something today
>>
>>This would be great, but does have the danger that we end up having a
>>swathe of very similar scripts that have to be maintained together.
> 
> 
> Yeah, this is the downside.  After spending a while earlier looking for
> how other projects handle it, it looks like most have gone the route of
> "don't provide anything at all and then distros ship their own".  Which
> kind of sucks. :/  It's much like the current problem of not having the
> packaging scripts for each distro.
> 
> The only exception tend to be a few projects which detect your
> distribution at configure time and then install an appropriate
> "backend".

We've been thinking a bit about this too, and I think honestly
it won't be that bad - once we have stuff working (and allow distros
to maintain their separate segments), there won't be that much
churn in the underlying xen scripts. Your approach above is
what we'd like to have.

>>It was annoying that gentoo chose not to use ifup/down. I guess with the
>>various udev/hotplug versions we'll need vendor-specific ways of
>>addressing them too.
> 
> 
> Yep, I'm having to run with Chris Bainbridge's udev rules (with a few
> minor tweaks) since Fedora devel is very current udev as the hotplug
> handler.  That's what really got me thinking down this path.

thanks,
Nivedita

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] tools: Fix network-bridge to work withGentoo (version 2)
  2005-10-05 20:55   ` Nivedita Singhvi
@ 2005-10-06 10:44     ` Chris Bainbridge
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Bainbridge @ 2005-10-06 10:44 UTC (permalink / raw)
  To: xen-devel

Just a note on the new gentoo aware script. You do
/etc/init.d/net.eth0 stop, which brings down sshd and other services,
then /etc/init.d/net.eth0 start, which doesn't bring all the net.eth0
dependent services back up. It would be better to call restart (if
that's possible), otherwise we need some code to bring up the other
services...

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-06 10:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05 20:25 [PATCH] tools: Fix network-bridge to work withGentoo (version 2) Ian Pratt
2005-10-05 20:44 ` Jeremy Katz
2005-10-05 20:55   ` Nivedita Singhvi
2005-10-06 10:44     ` Chris Bainbridge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.