

I'm pretty sure that that's what ip-up and ip-down scripts are for. They should be somewhere in /etc, but I don't remember where.GurliGebis wrote:The ability to say that when eth0 is started, several other services is started too, and they are stopped when eth0 is stopped.
I have created a bug for this, please comment:
there is one. not from gentoo, but there is one that i've heard of. i'm working on a personal portage wrapper, but this is definately not one of the features because, well, it would take too long to program this as i have no idea how to do it...rbr28 wrote:I know this would probably be an outrageously difficult thing to accomplish, but how about a progress indicator for emerges. Seems like it would be tough because it would have to take into account use flags, hardware, other things going on, etc, but I think it's possible. Even more difficult than that, how about an estimate of build time before an emerge. Again, it would have to take a lot into account, but even a rough estimate would help greatly. Even if we had a baseline it would be a big help. For example, if we knew the build time for every package, with no use flags, based on a standard PIII 1Ghz machine, or something like that, it would give us a better idea of what to expect on a slower or faster machine, at least some kind of ballpark figure.
Would be interesting to see how well this sort of solution works with distcc clusters.thechris wrote:there is one. not from gentoo, but there is one that i've heard of. i'm working on a personal portage wrapper, but this is definately not one of the features because, well, it would take too long to program this as i have no idea how to do it...rbr28 wrote:I know this would probably be an outrageously difficult thing to accomplish, but how about a progress indicator for emerges. Seems like it would be tough because it would have to take into account use flags, hardware, other things going on, etc, but I think it's possible. Even more difficult than that, how about an estimate of build time before an emerge. Again, it would have to take a lot into account, but even a rough estimate would help greatly. Even if we had a baseline it would be a big help. For example, if we knew the build time for every package, with no use flags, based on a standard PIII 1Ghz machine, or something like that, it would give us a better idea of what to expect on a slower or faster machine, at least some kind of ballpark figure.
Pet peeve time ... every 6 months is semi-annual, biannual every two years.wolf31o2 wrote:2005.0 is also the the first release in our new biannual release cycle. Our releases will be changed to a six-month interval to allow the developers more time to implement new features between releases.
Code: Select all
bi·an·nu·al ( P ) Pronunciation Key (b-ny-l)
adj.
1. Happening twice each year; semiannual.
2. Occurring every two years; biennial.
I loathe words that require additional information in order to know which meaning you intend. Especially those that require you to specify the definition ... why even bother with the words itself then.Imek wrote:Actually, biannual can mean either...Chiron wrote:Pet peeve time ... every 6 months is semi-annual, biannual every two years.
And that is our problem why?nyda wrote:would go along with massive breakage of binary only drivers and a lot of frustration for the users (who aren't responsible for the lack of OS drivers, in case you want to say "don't use CS shit"SoLC wrote:Default to using hardened Gentoo)

You can search the descriptions of packages using "emerge --searchdesc foo". The only problem is it takes a rediculously long time to process the results. A solution to this is to use esearch, which caches all the relevant information in a databse for fast searching. The downside to this is that you have to rebuild the database periodically in order to get accurate results. I search packages fairly often, so I use esearch and I rebuild the database every week.pep11 wrote:definitly:
another search option for emerge
apt-cache search, is a query on the contents of the packages not on their name. This behaviour is powerfull for you can find a package matching your purpose even if you have no idea of it's name, and often proposes different solutions to your problem.
For example if you search for vector graphics it returns a lot of packages including sodipodi, gimp-svg, inkscape, karbon ... while emerge won' t return any usefull information

They do that for ppp (/etc/ppp/ip-up). He wants the same for eth0.Stormy Eyes wrote:I'm pretty sure that that's what ip-up and ip-down scripts are for. They should be somewhere in /etc, but I don't remember where.GurliGebis wrote:The ability to say that when eth0 is started, several other services is started too, and they are stopped when eth0 is stopped.
I have created a bug for this, please comment:
Wow if its that easy a gui installer should be trivial to create so I guess your argument about developer time is complete BS.miqorz wrote:I'm not trying to beat a dead horse here.
But seriously, How fucking hard is it to type emerge a few times and to type some commands directly off a website?
Get over it and learn some command, You'll fucking need it after the install.
I gurantee it. If you can't install gentoo, chances are you won't have the experience to admin the system.

i did some digging... you can put functions in the /etc/conf.d/net script.shash wrote:They do that for ppp (/etc/ppp/ip-up). He wants the same for eth0.Stormy Eyes wrote:I'm pretty sure that that's what ip-up and ip-down scripts are for. They should be somewhere in /etc, but I don't remember where.GurliGebis wrote:The ability to say that when eth0 is started, several other services is started too, and they are stopped when eth0 is stopped.
I have created a bug for this, please comment:
I think it should be trivial to insert what you want into the init.d script, though you'll have to change it every time there's a change in the script...
Code: Select all
# /etc/conf.d/net:
...
preup() {
case ${1} in
eth0) echo eth0 going up >> /tmp/duh
;;
*) echo huh >>/tmp/duh
;;
esac
}
postup() {
case ${1} in
eth0) echo eth0 gone up >> /tmp/duh
;;
*) echo huh >>/tmp/duh
;;
esac
}
Code: Select all
root # /etc/init.d/net.eth0 start
* Running preup function
* Bringing eth0 up (192.168.254.31)... [ ok ]
* Setting default gateway (192.168.254.254)... [ ok ]
* Running postup function
root # cat /tmp/duh
eth0 going up
eth0 gone up
klieber suggested a public beta before releasing on a LiveCD, and the idea was generally accepted. esammer asked "can we be tested and working for 2005.0?", with samyron answering "i'm pretty confident", and codeman answering "we can do it".