tags 448464 + wontfix
thanks

On Mon, Oct 29, 2007 at 10:36:58AM +0100, [EMAIL PROTECTED] wrote:
> Package: dhcp3-client
> Version: 3.0.6.dfsg-1
> Severity: wishlist
> 
> Hi,
> 
> could you change the path of new_resolv_conf and use a temporary directory
> instead. It seems more logic to create a temporary file inside a temporary
> directory.
> 
> It can be helpfull in embedded system or live system when you mount /etc
> read-only ;)

So if we create the new resolv.conf in /tmp, the last thing that
make_resolv_conf() does is move it to /etc, so there's two problems with
your proposal:

1) the mv will no longer be atomic
2) if /etc is read-only, the mv is going to fail

regards

Andrew

Attachment: signature.asc
Description: Digital signature

Reply via email to