Michelasso wrote:
> Ok, I have found the problem: in /etc/network/interfaces I have
> another line with a post-up command that I need to establish
> automatically an ssh tunnel  to use irc when I am behind a firewall at
> work; if I comment out that line resolvconf works fine, if that line
> is present resolvconf doesn't work.


OK, the problem must be that the post-up command fails, thus causing
ifup to exit without running the scripts in /etc/network/if-up.d/.


> The /tmp/resolvconf.log however shows:
> -------------
> ARGS: -a lo.inet
> run:
> -rw-r--r--  1 root root   0 Sep 23 10:40 /etc/resolvconf/run/enable-updates
> drwxr-xr-x  2 root root  40 Sep 23 10:40 /etc/resolvconf/run/interface
> -rw-r--r--  1 root root 151 Sep 23 10:40 /etc/resolvconf/run/resolv.conf
> interface:
> total 0
> -------------
> -------------
> ARGS: -a wlan0
> run:
> -rw-r--r--  1 root root   0 2005-09-23 10:40 
> /etc/resolvconf/run/enable-updates
> drwxr-xr-x  2 root root  40 2005-09-23 10:40 /etc/resolvconf/run/interface
> -rw-r--r--  1 root root 151 2005-09-23 10:40 /etc/resolvconf/run/resolv.conf
> interface:
> total 0
> -------------

This looks correct.  The debug-logging is done before /sbin/resolvconf
makes any changes.  In the second stanza there are still no files in
/etc/resolvconf/run/interface because no file was created for lo.inet.
 /sbin/resolvconf refrains from creating empty files.

-- 
Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to