On Fri, Oct 27, 2017 at 10:37:55AM -0400, Roberto C. Sánchez wrote:
> On Sat, Apr 22, 2017 at 02:26:59AM +0200, Axel Beckert wrote:
> 
> > * dhclient prepares resolv.conf.dhclient-new.$pid not in /etc/ but in
> >   /tmp/. There it's far less annoying if the directory is cluttered with
> >   small files and those files would be usually cleaned up at
> >   reboot. (Disavantage: The renaming is often a move from one file
> >   system to another -- which might not be wanted.)
> > 
> I think that this is the best solution.  Could you explain why you think
> that the crossing the filesystem boundary is a disadvantage?

Crossing the filesystem boundary makes the operation not atomic and
therefore less desirable.
 
Really I think that both should be fixed. Making the file immutable is a bit
rich, and dhclient-script needs to handle the failure better.

Attachment: signature.asc
Description: Digital signature

Reply via email to