Re: [PATCH] rename resolv.conf.tmp failed.



On Tue, Sep 16, 2008 at 10:13 AM, Bin Li <libin charles gmail com> wrote:
>  When network connecting success, dispatch_netconfig() processed
> failed for not having the /sbin/netconfig in openSUSE 11.0, then fill
> the 'error' info like this:
> Failed to execute child process "/sbin/netconfig" (No such file or directory)'

netconfig is for openSUSE > 11.0.

>  When called the update_resolv_conf(), before rename(), the 'error'
> already be set by dispatch_netconfig(), so if (*error == NULL) failed,
> so not rename the resolv.conf.tmp to resolv.conf.
>
>  In my patch, using local variable used for checking error occurring.
> It works fine, but I'm not sure if it's suitable or not, feel free to
> change it.

Not sure if we should care. Basically, suse has policies to not
upgrade released software, only to apply patches for security issues
and major bugs (crashers). So your patch will never be used.

Tambet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]