* [gentoo-user] /usr/share/doc/openrc/net.example not found
@ 2012-12-15 3:53 Chris Stankevitz
2012-12-15 4:23 ` Dale
2012-12-15 8:08 ` [gentoo-user] " Nuno J. Silva
0 siblings, 2 replies; 6+ messages in thread
From: Chris Stankevitz @ 2012-12-15 3:53 UTC (permalink / raw
To: gentoo-user
Hello,
The file
/etc/conf.d/net
reports that I can seen an example format at this location:
/usr/share/doc/openrc/net.example
On my machine that example file does not exist. Did I do something
wrong or is this just a documentation oversight?
Thank you,
Chris
PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] /usr/share/doc/openrc/net.example not found
2012-12-15 3:53 [gentoo-user] /usr/share/doc/openrc/net.example not found Chris Stankevitz
@ 2012-12-15 4:23 ` Dale
2012-12-15 8:08 ` [gentoo-user] " Nuno J. Silva
1 sibling, 0 replies; 6+ messages in thread
From: Dale @ 2012-12-15 4:23 UTC (permalink / raw
To: gentoo-user
Chris Stankevitz wrote:
> Hello,
>
> The file
>
> /etc/conf.d/net
>
> reports that I can seen an example format at this location:
>
> /usr/share/doc/openrc/net.example
>
> On my machine that example file does not exist. Did I do something
> wrong or is this just a documentation oversight?
>
> Thank you,
>
> Chris
>
> PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf
>
>
Try this:
ls /usr/share/doc/openrc-0.11.8/net.example.bz2
You may have to edit the version. Tab completion may be of use on this
one. It's how I found it.
Hmmm, why is it compressed?
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: /usr/share/doc/openrc/net.example not found
2012-12-15 3:53 [gentoo-user] /usr/share/doc/openrc/net.example not found Chris Stankevitz
2012-12-15 4:23 ` Dale
@ 2012-12-15 8:08 ` Nuno J. Silva
2012-12-16 2:53 ` Dustin C. Hatch
2012-12-16 20:50 ` Bryan Gardiner
1 sibling, 2 replies; 6+ messages in thread
From: Nuno J. Silva @ 2012-12-15 8:08 UTC (permalink / raw
To: gentoo-user
On 2012-12-15, Chris Stankevitz wrote:
> Hello,
>
> The file
>
> /etc/conf.d/net
>
> reports that I can seen an example format at this location:
>
> /usr/share/doc/openrc/net.example
As dale found, it's under a compression suffix. In fact, most (all?) of
the stuff that goes under /usr/share/doc is compressed by default under
gentoo. This used to be gzip -5, and was then changed to bzip -9, and
you can change it to anything else, including no compression at all.
> On my machine that example file does not exist. Did I do something
> wrong or is this just a documentation oversight?
>
> Thank you,
>
> Chris
>
> PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf
dhcpd? Don't you mean dchpcd (the c stands for *client*, dhcpd would be
the DHCP daemon granting leases to clients)?
If so, and if you don't mind using the same settings for all network
interfaces, have a look at /etc/dhcpcd.conf, which has an option "option
ntp_servers". I'd guess that disabling this would do what you want.
--
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: /usr/share/doc/openrc/net.example not found
2012-12-15 8:08 ` [gentoo-user] " Nuno J. Silva
@ 2012-12-16 2:53 ` Dustin C. Hatch
2012-12-16 20:50 ` Bryan Gardiner
1 sibling, 0 replies; 6+ messages in thread
From: Dustin C. Hatch @ 2012-12-16 2:53 UTC (permalink / raw
To: gentoo-user
On 12/15/2012 02:08, Nuno J. Silva wrote:
> On 2012-12-15, Chris Stankevitz wrote:
>>
>> PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf
>
> dhcpd? Don't you mean dchpcd (the c stands for *client*, dhcpd would be
> the DHCP daemon granting leases to clients)?
>
> If so, and if you don't mind using the same settings for all network
> interfaces, have a look at /etc/dhcpcd.conf, which has an option "option
> ntp_servers". I'd guess that disabling this would do what you want.
>
Actually, you can use /etc/conf.d/net to turn off receiving NTP
configuration for just one interface, if you want. The `dhcp_IFACE`
parameter takes several values, one of which is `nontp`, which will do
exactly that. For example:
config_eth0="dhcp"
dhcp_eth0="nontp"
When you find the net.example file, you'll find that documented under
GENERIC DHCP OPTIONS, about midway through the file.
Regards,
--
♫Dustin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: /usr/share/doc/openrc/net.example not found
2012-12-15 8:08 ` [gentoo-user] " Nuno J. Silva
2012-12-16 2:53 ` Dustin C. Hatch
@ 2012-12-16 20:50 ` Bryan Gardiner
2012-12-16 21:41 ` Neil Bothwick
1 sibling, 1 reply; 6+ messages in thread
From: Bryan Gardiner @ 2012-12-16 20:50 UTC (permalink / raw
To: gentoo-user
On Sat, 15 Dec 2012 10:08:54 +0200
nunojsilva@ist.utl.pt (Nuno J. Silva) wrote:
> On 2012-12-15, Chris Stankevitz wrote:
>
> > Hello,
> >
> > The file
> >
> > /etc/conf.d/net
> >
> > reports that I can seen an example format at this location:
> >
> > /usr/share/doc/openrc/net.example
>
> As dale found, it's under a compression suffix. In fact, most (all?)
> of the stuff that goes under /usr/share/doc is compressed by default
> under gentoo. This used to be gzip -5, and was then changed to bzip
> -9, and you can change it to anything else, including no compression
> at all.
What about software that refers to files in /usr/share/doc? I can't
remember what program it was, but one I used a while back had a Help
menu item that tried to open a manual living there, but of course the
manual was compressed and under a different name and it couldn't be
found. It's a minor inconvenience, but should files be left
uncompressed for cases like this?
Cheers,
Bryan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: /usr/share/doc/openrc/net.example not found
2012-12-16 20:50 ` Bryan Gardiner
@ 2012-12-16 21:41 ` Neil Bothwick
0 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2012-12-16 21:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 712 bytes --]
On Sun, 16 Dec 2012 12:50:02 -0800, Bryan Gardiner wrote:
> What about software that refers to files in /usr/share/doc? I can't
> remember what program it was, but one I used a while back had a Help
> menu item that tried to open a manual living there, but of course the
> manual was compressed and under a different name and it couldn't be
> found.
You can, at least with HTML documentation, have it linked to a consistent
location, see DOC_SYMLINKS_DIR in man make.conf.
> It's a minor inconvenience, but should files be left
> uncompressed for cases like this?
See PORTAGE_COMPRESS and associated variables in the same man page.
--
Neil Bothwick
Beware! The end is... <aaarrgh!>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-12-16 21:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-15 3:53 [gentoo-user] /usr/share/doc/openrc/net.example not found Chris Stankevitz
2012-12-15 4:23 ` Dale
2012-12-15 8:08 ` [gentoo-user] " Nuno J. Silva
2012-12-16 2:53 ` Dustin C. Hatch
2012-12-16 20:50 ` Bryan Gardiner
2012-12-16 21:41 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox