[pkg-dhcp-devel] Bug#860928: Bug#860928: dnssec-trigger + isc-dhcp-client: /etc/ being cluttered with tons of resolv.conf.dhclient-new.* files

Andrew Pollock apollock at debian.org
Sat Oct 28 06:22:27 UTC 2017

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20171028/1ef78dd7/attachment.sig>

More information about the pkg-dhcp-devel mailing list