|
Home > Archive > Debian Developers > April 2004 > ifupdown
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Clemens Wacha 2004-03-23, 5:34 am |
| Hello,
There are some features I really miss in debians networking stuff.
Namely the ability to use schemes and the keyword metric for devices and
routes. I downloaded the original ifupdown program but I have no idea
what its all about. I decided to do a rewrite for my own purpose and
wanted to ask if somebody is already working on it.
My verion of ifupdown would be in C and compatible to the old ifupdown.
Comments are welcome.
Regards
--
Clemens Wacha wacha@gmx.ch ICQ:12620942
proudly running Debian/GNU Linux. See http://www.debian.org
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Oliver Kurth 2004-03-23, 6:34 am |
| On Tue, 2004-03-23 at 11:01, Clemens Wacha wrote:
> Hello,
>
> There are some features I really miss in debians networking stuff.
> Namely the ability to use schemes and the keyword metric for devices and
> routes. I downloaded the original ifupdown program but I have no idea
> what its all about. I decided to do a rewrite for my own purpose and
> wanted to ask if somebody is already working on it.
>
> My verion of ifupdown would be in C and compatible to the old ifupdown.
> Comments are welcome.
Are you sure you want to do a rewrite? I believe it would be much
simpler to add a feature to the existing code, you just have to
understand the nowebs stuff.
Greetings,
Oliver
| |
| Guus Sliepen 2004-03-25, 6:34 am |
| On Tue, Mar 23, 2004 at 11:01:04AM +0100, Clemens Wacha wrote:
> There are some features I really miss in debians networking stuff.
> Namely the ability to use schemes and the keyword metric for devices and
> routes.
I uploaded the package ifscheme a few days ago, which allows you to use
schemes in /etc/network/interfaces. It hasn't been accepted yet though.
> I downloaded the original ifupdown program but I have no idea
> what its all about. I decided to do a rewrite for my own purpose and
> wanted to ask if somebody is already working on it.
>
> My verion of ifupdown would be in C and compatible to the old ifupdown.
> Comments are welcome.
Maybe it's better to create a document describing the design and
functionality you want before you start coding.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus@sliepen.eu.org>
| |
| Clemens Wacha 2004-03-25, 6:34 am |
| Am Donnerstag, 25. M=E4rz 2004 11:48 schrieb Guus Sliepen:
> On Tue, Mar 23, 2004 at 11:01:04AM +0100, Clemens Wacha wrote:
>
> I uploaded the package ifscheme a few days ago, which allows you
> to use schemes in /etc/network/interfaces. It hasn't been
> accepted yet though.
Cool, I would like to test it. Can you send it to me personally?=20
Thanks
>
> Maybe it's better to create a document describing the design and
> functionality you want before you start coding.
Well.. if ifscheme does what it says I don't even need to start :-)=20
I can live with the missing metric keyword.
Regards
=2D-=20
Clemens Wacha wacha@gmx.ch ICQ:12620942
succesfully using Linux since 1999. See http://www.debian.org
| |
| Guus Sliepen 2004-03-25, 6:34 am |
| On Thu, Mar 25, 2004 at 11:54:56AM +0100, Clemens Wacha wrote:
>
> Cool, I would like to test it. Can you send it to me personally?
ftp://sliepen.eu.org/pub/ifscheme/
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus@sliepen.eu.org>
| |
| Chip Salzenberg 2004-03-31, 11:37 am |
| According to Clemens Wacha <clemens.wacha@gmx.net>:
>I can live with the missing metric keyword.
If you check the (extensive!) bug list for ifupdown, you'll find that
I've already written a patch to support the "metric" keyword. But it
also requires some help from dhcp3-client if you want it to play nice
with DHCP.
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"It furthers one to have somewhere to go."
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Marc Haber 2004-04-01, 2:34 am |
| On Tue, 23 Mar 2004 11:01:04 +0100, Clemens Wacha
<clemens.wacha@gmx.net> wrote:
>There are some features I really miss in debians networking stuff.
>Namely the ability to use schemes and the keyword metric for devices and
>routes. I downloaded the original ifupdown program but I have no idea
>what its all about. I decided to do a rewrite for my own purpose and
>wanted to ask if somebody is already working on it.
>
>My verion of ifupdown would be in C and compatible to the old ifupdown.
>Comments are welcome.
Go ahead with the rewrite, but try to coordinate with the other people
working on improving ifupdown. It's a pity that ifupdown's original
maintainer is not among the people working on the package. He might be
helpful with the numerous NMUs, but he doesn't surrender his baby to
people who might care more than him. That attitude in a _very_ central
part of the system is saddening.
Greetings
Marc
--=20
-------------------------------------- !! No courtesy copies, please !! =
-----
Marc Haber | " Questions are the | Mailadresse im =
Header
Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32=
15
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31=
29
| |
| Anthony Towns 2004-04-02, 3:37 am |
| On Thu, Apr 01, 2004 at 08:00:54AM +0200, Marc Haber wrote:
> He might be
> helpful with the numerous NMUs, but he doesn't surrender his baby to
> people who might care more than him. That attitude in a _very_ central
> part of the system is saddening.
Mmm. That'd be the people who don't understand how it works and can only
"help" if it's rewritten from scratch, or the ones who want to excuse
themselves from helping because they're too busy working out clever ways
to insult me?
Gimme a break.
Cheers,
aj
--
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.
Linux.conf.au 2004 -- Because we could.
http://conf.linux.org.au/ -- Jan 12-17, 2004
| |
| Goswin von Brederlow 2004-04-02, 5:37 am |
| Anthony Towns <aj@azure.humbug.org.au> writes:
> On Thu, Apr 01, 2004 at 08:00:54AM +0200, Marc Haber wrote:
>
> Mmm. That'd be the people who don't understand how it works and can only
> "help" if it's rewritten from scratch, or the ones who want to excuse
If they are willing to do the rewrite and can produce a replacement
with less bugs that perfectly fine. If your code is so hard to
understand maybe thats a good thing.
> themselves from helping because they're too busy working out clever ways
> to insult me?
>
> Gimme a break.
>
> Cheers,
> aj
Breaks over. You had one since Tue, 19 Jun 2001.
MfG
Goswin
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Chip Salzenberg 2004-04-02, 1:38 pm |
| According to Anthony Towns:
> On Thu, Apr 01, 2004 at 08:00:54AM +0200, Marc Haber wrote:
>
> Mmm. That'd be the people who don't understand how it works and can only
> "help" if it's rewritten from scratch [...]
And would the presence of actual working patches to the current source
base suggest the existence of such understanding? (cf. bug #235993)
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Javier Fernández-Sanguino Peña 2004-04-02, 2:34 pm |
| On Fri, Apr 02, 2004 at 01:21:43PM -0500, Chip Salzenberg wrote:
> According to Anthony Towns:
>
> And would the presence of actual working patches to the current source
> base suggest the existence of such understanding? (cf. bug #235993)
As a matter of fact that patch is not actually working, have you tried to
build a package with it? (Note: I have)
Regards
Javier
| |
| Chip Salzenberg 2004-04-02, 2:34 pm |
| According to Javier Fern?ndez-Sanguino Pe?a:
> On Fri, Apr 02, 2004 at 01:21:43PM -0500, Chip Salzenberg wrote:
>
> As a matter of fact that patch is not actually working
What's the symptom? "It doesn't work" doesn't tell me much.
> have you tried to build a package with it? (Note: I have)
I built and installed a deb, as usual, before submitting the patch.
In fact my laptop is currently running with it ('0.6.4-4.6.0chip1').
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Javier Fernández-Sanguino Peña 2004-04-02, 2:34 pm |
| On Fri, Apr 02, 2004 at 01:43:14PM -0500, Chip Salzenberg wrote:
>
> What's the symptom? "It doesn't work" doesn't tell me much.
The symptom is that if you compile the package with noweb installed (a
Build-Depend which is not really stated but needed for some other stuff),
the package will redo inet.dfn based on ifupdown.nw. You should have
patched ifupdown.nw
¿Didn't you not see this error?
Makefile:101: ifupdown.d: No existe el fichero o el directorio
./makenwdep.sh ifupdown.nw > ifupdown.d
./makenwdep.sh: line 8: noroots: command not found
noroots is provided by nowebm. Install that package, the error disappears,
makenwdep does it job properly, but then inet{6,}.defn are regenerated from
ifupdown.nw
>
> I built and installed a deb, as usual, before submitting the patch.
> In fact my laptop is currently running with it ('0.6.4-4.6.0chip1').
I don't really know how the previous error affects the package, if at
all, but if there is a problem your package probably suffers from it.
Regards
Javier
| |
| Chip Salzenberg 2004-04-02, 3:34 pm |
| According to Javier Fern?ndez-Sanguino Pe?a:
> On Fri, Apr 02, 2004 at 01:43:14PM -0500, Chip Salzenberg wrote:
>
> The symptom is that if you compile the package with noweb installed
I don't have noweb installed.
> (a Build-Depend which is not really stated but needed for some other stuff),
An unstated build dependency?
Sounds like a bug to me.
> ?Didn't you not see this error?
>
> Makefile:101: ifupdown.d: No existe el fichero o el directorio
> ./makenwdep.sh ifupdown.nw > ifupdown.d
> ./makenwdep.sh: line 8: noroots: command not found
The .deb got built. I can't say what messages may have scrolled by.
You're saying that a build step may fail but the .deb will get built
nevertheless?
Sounds like a bug to me.
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Chip Salzenberg 2004-04-02, 3:34 pm |
| According to Anthony Towns:
> Mmm. That'd be the people who don't understand how it works [...]
I should add here that the point is not whether there are people who
_do_ understand it (even granting the goofy premise that no such
people exist despite numerous NMUs), but whether there are people who
_can_ understand it and, to the point at hand, take time to maintain it.
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Osamu Aoki 2004-04-02, 6:37 pm |
| On Fri, Apr 02, 2004 at 02:29:10PM -0500, Chip Salzenberg wrote:
> According to Javier Fern?ndez-Sanguino Pe?a:
>
> I don't have noweb installed.
>
>
> An unstated build dependency?
1. Did you read README file in the source?
2. "make ifupdown.pdf" will give you an interesting document. Read on :-)
(There is more packages than noweb package needed but this is fine.)
Osamu
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Adam Heath 2004-04-02, 10:34 pm |
| On Fri, 2 Apr 2004, Chip Salzenberg wrote:
> According to Javier Fern?ndez-Sanguino Pe?a:
>
> I don't have noweb installed.
>
>
> An unstated build dependency?
> Sounds like a bug to me.
>
>
> The .deb got built. I can't say what messages may have scrolled by.
> You're saying that a build step may fail but the .deb will get built
> nevertheless?
Hardly. This is the same thing as not running autoconf/automake in
debian/rules, and not having them as Build-Depends.
Everything is fine, until you need to edit the .am or .ac files. It's then
that you need them.
Build-Depends contain what is needed to build the package in debian; they
aren't a place to specify all possible programs that may be needed at some
time or another, when working with the package.
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Javier Fernández-Sanguino Peña 2004-04-03, 5:35 am |
| On Fri, Apr 02, 2004 at 02:29:10PM -0500, Chip Salzenberg wrote:
> According to Javier Fern?ndez-Sanguino Pe?a:
>
> I don't have noweb installed.
Then you haven't read the debian/rules file which states that inet.defn and
inet6.defn is generated from ifupdown.nw. There's a reason why noweb isn't
in the Build-Depends (see debian/rules) but there's a bug (see my
Changelog) which makes it necessary.
Again, your patch is not correct, and neither are my patches to inet.defn
in the BTS. There's no need to discuss this issue further.
Friendly
Javier
| |
| Goswin von Brederlow 2004-04-03, 9:33 am |
| Javier =?iso-8859-15?Q?Fern=E1ndez-Sanguino_Pe=F1a?= <jfs@computer.org> writes:
> On Fri, Apr 02, 2004 at 02:29:10PM -0500, Chip Salzenberg wrote:
>
> Then you haven't read the debian/rules file which states that inet.defn and
> inet6.defn is generated from ifupdown.nw. There's a reason why noweb isn't
> in the Build-Depends (see debian/rules) but there's a bug (see my
> Changelog) which makes it necessary.
>
> Again, your patch is not correct, and neither are my patches to inet.defn
> in the BTS. There's no need to discuss this issue further.
>
> Friendly
>
> Javier
The inet6.defn should be generated prior to uploading the source then
so that noweb is not needed. Just like one does with
automake/autoconf/bison/flex.
MfG
Goswin
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Javier Fernández-Sanguino Peña 2004-04-03, 9:33 am |
| On Sat, Apr 03, 2004 at 04:11:18PM +0200, Goswin von Brederlow wrote:
>
> The inet6.defn should be generated prior to uploading the source then
> so that noweb is not needed. Just like one does with
> automake/autoconf/bison/flex.
Yes, that's precisely what debian/rules says. There are a number of
undocumented things related to ifupdown (or things that could be improved)
but the build process is not one of them.
Regards
Javier
| |
| Nathanael Nerode 2004-04-04, 4:35 am |
| Javier Fern=C3=A1ndez-Sanguino Pe=C3=B1a wrote:
> On Fri, Apr 02, 2004 at 01:43:14PM -0500, Chip Salzenberg wrote:
>=20
> The symptom is that if you compile the package with noweb installed (=
a
> Build-Depend which is not really stated but needed for some other stu=
ff),
> the package will redo inet.dfn based on ifupdown.nw. You should have
> patched ifupdown.nw
So you're saying there's a missing Build-Depends? Please report it. :=
-P
--=20
Make sure your vote will count.
http://www.verifiedvoting.org/
|
|
|
|
|