i just managed to get an sh coredump with an rc.d/ script of mine. either there is a bug in rc.subr or i am doing things wrongly. in any way, i need some help....
... using sh doesn't make a difference here. does my test script work for you?...
Tobias Roth
roth@...
Aug 11, 2003 7:28 am
317
On my network booted cluster, I've found it useful to be able to set the hostname of the machine using a file similar to /etc/nodename in Solaris. The...
... Before I got excited about this patch, I'd like to hear more about why that mechanism works better for you than editing the variable in /etc/rc.conf.local....
Doug Barton
DougB@...
Aug 13, 2003 2:31 am
319
FYI, I'm forwarding this, slightly edited, with permission. I want to make y'all aware of this issue, especially since some of you are responsible for some of...
Doug Barton
DougB@...
Aug 13, 2003 3:41 am
320
... Hmm, rc.conf.local might be a solution. The nice thing about this is that I can have a single rc.conf and when I'm generating /conf/<ip>/etc directories I...
... rc.conf.local is designed for precisely this purpose. :) The following: echo "hostname=\"${foo}.example.com\"" >> rc.conf.local Is only slightly more...
Doug Barton
DougB@...
Aug 13, 2003 5:41 pm
322
... This significantly increases the complexity of my /conf generation scripts. Currently, most hosts have an easily generated host name based on their IP...
... I have to confess, I don't quite understand the paragraph above. If you can generate a file called foo that has the hostname in it, and then not overwrite...
Doug Barton
DougB@...
Aug 13, 2003 7:32 pm
324
... If rc.conf.local had other variables in, I'd basically have to generate it from scratch every time I ran the script since that's how new variables would be...
... Just as an observation, the last entry in rc.conf wins, so you could just append new entries to it. (On the overall issue, I have no preference either...
... Sounds like a fine idea to me. On the other hand, if you get too much resistance, you could simply take advantage of the fact that the entire rcNG system...
... rc.subr is not guaranteed to be recursion friendly....
Luke Mewburn
lukem@...
Aug 14, 2003 1:28 am
328
... NetBSD has supported /etc/myname for a *long* time (over 10 years). rc.conf(5)'s $hostname overrides it. If you're going to reinvent the wheel, you might...
Luke Mewburn
lukem@...
Aug 14, 2003 1:33 am
329
... Adding: hostname="/etc/myname" to /etc/defaults/rc.conf after applying my patch would do exactly that as well as allowing users to be compatable with...
... Lars already covered this. ... Glad to help push you in the right direction. :) Doug -- This .signature sanitized for your protection...
Doug Barton
DougB@...
Aug 14, 2003 6:53 am
335
I'm forwarding this to freebsd-rc. I can't think of an easy way this could be done. Maybe someone there will have an answer. ... Date: Sun, 24 Aug 2003...
... Ruslan, I had a big fight with Luke Mewburn and others about this issue. The short answer is: NO. If the knob is turned off, the rc.d script becomes a...
... Many years ago I lobbied hard for the inclusion of the IPFIREWALL_DEFAULT_TO_ACCEPT option to alleviate this very problem. Since 1. It's hard to parse what...
Doug Barton
DougB@...
Aug 24, 2003 11:53 pm
340
Hello, I'm having a bit of trouble with something - I'm not sure if it's possible. If so, can anyone provide some pointers? Basically I am trying to configure...
Martin, I think the work you're doing is great, just wondering if you asked to have this reviewed by anyone on the rc team before committing? Thanks, Doug ... ...
Doug Barton
DougB@...
Sep 1, 2003 12:09 am
343
I have to confess, I don't really understand what you're trying to accomplish here. I think your best bet is freebsd-questions@.... Hope this helps, ...
Doug Barton
DougB@...
Sep 1, 2003 12:18 am
344
Hi, ... I've talked about this with Warner, and before that, with Mike. Does something not work ? Martin...
Martin Blapp
mb@...
Sep 1, 2003 9:07 am
345
... I think he is trying a single-armed network, where he's trying to put both his internal network and the outgoing connection on the same network interface....
You are right, that is what I was trying to do.. And, believe it or not, I did actually get it to work (even when it had to renew it's lease/etc)... I was...
Folks, In case you missed this, please check my thinking here, and let me know your opinion. I've added the option to savecore to report if there is a dump, so...
Doug Barton
DougB@...
Sep 4, 2003 10:27 am
353
Hi, I hacked rcorder to accept a directory as a parameter instead of passing in all rc scripts on the command line with a glob. You can find this patch at...
Lukas Ertl
l.ertl@...
Sep 7, 2003 4:13 pm
354
... This is supposed to not be a problem. Generally, there will be more than one order that meets the specified requirements. As long as the order you're...
... I did a little bit of analysis of the output from Lukas' version of rcorder, and it seemed there were some disturbing differences, but unfortunately I...