[Bug 530323] Re: resolvconf update script should not produce error when main.cfg missing
stlubuntu
jlrbennett at sbcglobal.net
Wed May 19 00:30:46 BST 2010
I am running 64-bit Ubuntu 10.04 Desktop (in place upgrade from 09.10)
on an 3.0 Ghz AMD Phenom II 945 Quad Core / 6 GB RAM, Network-Manager
was not present prior to or after upgrading (intentionally). Networking
is handled by a traditional interfaces file. Sometimes immediately
following boot up, there is (at least temporarily) no dns name
resolution and consequently no internet access until a sudo
/etc/init.d/networking restart is performed, the output of which is as
follows:
user at host:~$ sudo /etc/init.d/networking restart
[sudo] password for user:
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth0.pid with pid 2324
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:24:8c:7e:ce:78
Sending on LPF/eth0/00:24:8c:7e:ce:78
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.254 port 67
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:24:8c:7e:ce:78
Sending on LPF/eth0/00:24:8c:7e:ce:78
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER of nn.nnn.nnn.nn from 192.168.1.254
DHCPREQUEST of nn.nnn.nnn.nn on eth0 to 255.255.255.255 port 67
DHCPACK of nn.nnn.nnn.nn from nn.nnn.nnn.nn
/usr/sbin/postconf: fatal: open /etc/postfix/main.cf: No such file or directory
cp: `/etc/resolv.conf' and `/etc/resolv.conf' are the same file
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
bound to nn.nnn.nnn.nn -- renewal in 238 seconds.
ssh stop/waiting
ssh start/running, process 3119
ssh stop/waiting
ssh start/running, process 3177
[ OK ]
user at host:~$
Also, FWIW, I believe that dnsmasq and dhcp3-server are running
--
resolvconf update script should not produce error when main.cfg missing
https://bugs.launchpad.net/bugs/530323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.
More information about the Ubuntu-server-bugs
mailing list