On 2022-10-19, Michael <confabul...@kintzios.com> wrote:
> On Wednesday, 19 October 2022 01:00:31 BST Grant Edwards wrote:
>> On 2022-10-18, Grant Edwards <grant.b.edwa...@gmail.com> wrote:
>> 
>> Why would dhcpcd have the persistent option enabled by default?
>
> I think because this causes less breakage in those cases where netmount, 
> remote syslog-ng, SSH clients, or root mounted NFS is in play?  This is what 
> the man page says about it:
>
> "... dhcpcd normally de-configures the interface and configuration when it 
> exits.  Sometimes, this isn't desirable if, for example, you have root 
> mounted 
> over NFS or SSH clients connect to this host and they need to be notified of 
> the host shutting down."

I guess that makes sense. What was confusing was that I read the man
page which said it was normally disabled, and since I had never
touched the config file, and wasn't passing the -p option I assumed it
was disabled -- then I finally looked through the default config file,
where it's "nomrally enabled".

--
Grant




Reply via email to