* [gentoo-user] YP domain name in baselayout 1.12
@ 2006-08-14 17:05 Fredrik Tolf
2006-08-14 19:40 ` Paul Varner
0 siblings, 1 reply; 5+ messages in thread
From: Fredrik Tolf @ 2006-08-14 17:05 UTC (permalink / raw
To: gentoo-user
Hi list!
I just noticed that /etc/init.d/domainname has disappeared in baselayout
1.12, but I can't find what is supposed to replace it.
So, in short: How am I supposed to set my YP domain name with the new
baselayout?
Thanks for your time!
Fredrik Tolf
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] YP domain name in baselayout 1.12
2006-08-14 17:05 [gentoo-user] YP domain name in baselayout 1.12 Fredrik Tolf
@ 2006-08-14 19:40 ` Paul Varner
2006-08-14 21:14 ` Fredrik Tolf
0 siblings, 1 reply; 5+ messages in thread
From: Paul Varner @ 2006-08-14 19:40 UTC (permalink / raw
To: gentoo-user
On Mon, 2006-08-14 at 19:05 +0200, Fredrik Tolf wrote:
> Hi list!
>
> I just noticed that /etc/init.d/domainname has disappeared in baselayout
> 1.12, but I can't find what is supposed to replace it.
>
> So, in short: How am I supposed to set my YP domain name with the new
> baselayout?
>
It is now set in /etc/conf.d/net
>From /etc/conf.d/net.example:
#-----------------------------------------------------------------------------
# System
# For configuring system specifics such as domain, dns, ntp and nis servers
# It's rare that you would need todo this, but you can anyway.
# This is most benefit to wireless users who don't use DHCP so they can change
# their configs based on ESSID. See wireless.example for more details
# To use dns settings such as these, dns_servers_eth0 must be set!
# If you omit the _eth0 suffix, then it applies to all interfaces unless
# overridden by the interface suffix.
#dns_domain_eth0="your.domain"
#dns_servers_eth0="192.168.0.2 192.168.0.3"
#dns_search_eth0="this.domain that.domain"
#dns_options_eth0=( "timeout 1" "rotate" )
#dns_sortlist_eth0="130.155.160.0/255.255.240.0 130.155.0.0"
# See the man page for resolv.conf for details about the options and sortlist
# directives
#ntp_servers_eth0="192.168.0.2 192.168.0.3"
#nis_domain_eth0="domain"
#nis_servers_eth0="192.168.0.2 192.168.0.3"
Regards,
Paul
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] YP domain name in baselayout 1.12
2006-08-14 19:40 ` Paul Varner
@ 2006-08-14 21:14 ` Fredrik Tolf
2006-08-14 21:40 ` Paul Varner
2006-08-14 22:46 ` Richard Fish
0 siblings, 2 replies; 5+ messages in thread
From: Fredrik Tolf @ 2006-08-14 21:14 UTC (permalink / raw
To: gentoo-user
On Mon, 2006-08-14 at 14:40 -0500, Paul Varner wrote:
> On Mon, 2006-08-14 at 19:05 +0200, Fredrik Tolf wrote:
> > Hi list!
> >
> > I just noticed that /etc/init.d/domainname has disappeared in baselayout
> > 1.12, but I can't find what is supposed to replace it.
> >
> > So, in short: How am I supposed to set my YP domain name with the new
> > baselayout?
> >
>
> It is now set in /etc/conf.d/net
Oh, I see. That explains why I hadn't found it, as well (I had been
grepping through /etc/init.d after domainname and hostname, but
not /lib/rcscripts/net). Thank you very much for clearing that up for
me!
That does lead me to another question, though -- the
interface-boundedness of these settings makes me a bit suspicious.
Will /etc/init.d/net.* start rewriting /etc/resolv.conf
and/or /etc/yp.conf for me or something like that, and will the NIS
domain name be kept unset if net.eth0 fails to start for some or another
reason?
Fredrik Tolf
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] YP domain name in baselayout 1.12
2006-08-14 21:14 ` Fredrik Tolf
@ 2006-08-14 21:40 ` Paul Varner
2006-08-14 22:46 ` Richard Fish
1 sibling, 0 replies; 5+ messages in thread
From: Paul Varner @ 2006-08-14 21:40 UTC (permalink / raw
To: gentoo-user
On Mon, 2006-08-14 at 23:14 +0200, Fredrik Tolf wrote:
> That does lead me to another question, though -- the
> interface-boundedness of these settings makes me a bit suspicious.
> Will /etc/init.d/net.* start rewriting /etc/resolv.conf
> and/or /etc/yp.conf for me or something like that, and will the NIS
> domain name be kept unset if net.eth0 fails to start for some or another
> reason?
Unfortunately, I don't know the answer since I don't actually use those
settings. Hopefully, someone else knows the answer.
Regards,
Paul
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] YP domain name in baselayout 1.12
2006-08-14 21:14 ` Fredrik Tolf
2006-08-14 21:40 ` Paul Varner
@ 2006-08-14 22:46 ` Richard Fish
1 sibling, 0 replies; 5+ messages in thread
From: Richard Fish @ 2006-08-14 22:46 UTC (permalink / raw
To: gentoo-user
On 8/14/06, Fredrik Tolf <fredrik@dolda2000.com> wrote:
> That does lead me to another question, though -- the
> interface-boundedness of these settings makes me a bit suspicious.
> Will /etc/init.d/net.* start rewriting /etc/resolv.conf
> and/or /etc/yp.conf for me or something like that, and will the NIS
> domain name be kept unset if net.eth0 fails to start for some or another
> reason?
>From browsing /lib/rcscripts/net, it looks like you can get the old
behavior by binding to the lo interface. So use nis_domain_lo,
nis_servers_lo, etc....
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-08-14 22:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-14 17:05 [gentoo-user] YP domain name in baselayout 1.12 Fredrik Tolf
2006-08-14 19:40 ` Paul Varner
2006-08-14 21:14 ` Fredrik Tolf
2006-08-14 21:40 ` Paul Varner
2006-08-14 22:46 ` Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox