Error/warnings on ifup/ifdown
James Gray
james at grayonline.id.au
Thu Jun 1 05:00:16 UTC 2006
On Thu, 1 Jun 2006 05:13, Pupeno wrote:
> When I run ifup and ifdown I get some errors or warnings:
>
> pupeno at ulab:~$ sudo ifdown eth0
> run-parts: /etc/resolvconf/update-libc.d/postfix exited with return code
> 1 run-parts: /etc/resolvconf/update.d/libc exited with return code 1
> run-parts: /etc/network/if-down.d/resolvconf exited with return code 1
> pupeno at ulab:~$ sudo ifup eth0
> run-parts: /etc/resolvconf/update-libc.d/postfix exited with return code
> 1 run-parts: /etc/resolvconf/update.d/libc exited with return code 1
> run-parts: /etc/network/if-up.d/000resolvconf exited with return code 1
> pupeno at ulab:~$
>
> Does anybody know why and how to solve them ?
> Thank you.
The "why" is in /etc/network/if-up.d/ and /etc/network/if-down.d/
As the names suggest, anything in these directories is executed after a
network interface is brought up, and immediately before it goes down. I'd
hazard a guess you have a postix script and another script ("000resolvconf"
by the look of it) that modifies /etc/resolv.conf.
The "how to solve" problem depends entirely on why they're failing. Is
postfix configured properly? What is 000resolvconf trying to do? If you
don't need these scripts, then move them out of /etc/network/if-up.d
and /etc/network/if-down.d
HTH,
James
--
Tu bi or not tu bi
LAY -- Norma a ser cumprida: Roubar é contra LAY
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060601/eb650373/attachment.sig>
More information about the kubuntu-users
mailing list