Thanks for your reply. I understand from a developer's perspective that there is no bug.<div><br></div><div>Somewhere along the line, I believe a Debian upgrade switched me from using /etc/network/interfaces and ifupdown to using NetworkManager. It happened a while ago, so I don't remember how it all happened. At this point, my backups stopped happening. Perhaps, it should be considered a bug in the code that switched me to using NetworkManager. The fact that it happened on two systems: one managed by me and one managed by someone else at work suggests that it is not just an isolated issue.</div>
<div><br></div><div>Tom<br><br><div class="gmail_quote">On Sun, Jul 8, 2012 at 12:41 AM, Alexander Golovko <span dir="ltr"><<a href="mailto:alexandro@ankalagon.ru" target="_blank">alexandro@ankalagon.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
Sorry for reply delay.<br>
<br>
There is not a bug, so all we can do - add some information about this case into README.Debian.<br>
<br>
<br>
You can try one of next workarounds:<br>
<br>
1. Allow bacula-fd to listen on all addresses - remove line "FDAddress = .." or change it to "FDAddress = 0.0.0.0"<br>
<br>
<br>
2. If you always get the same IP-address from dhcp, then you can add record for faerun.epperly.home into /etc/hosts or specify IP address in bacula-fd.conf.<br>
In such case bacula-fd correctly start and will be available on this address after actual network configuration.<br>
<br>
<br>
3. You can disable autostart of bacula-fd service (update-rc.d bacula-fd disable) and start it later after network configuration by dhclient or network-manager.<br>
<br>
If network interface configured from /etc/network/interfaces and you use dhclient (not udcpc or other), than create executable /etc/dhcp/dhclient-exit-hooks.<u></u>d/bacula with content<br>
invoke-rc.d bacula-fd restart<br>
<br>
(see man dhclient-script for details)<br>
<br>
If network interface configured by NetworkManager directly, than create executable /etc/NetworkManager/<u></u>dispatcher.d/bacula with content<br>
if [ "$1" = "eth1" -a "$2" = "up" ]; then invoke-rc.d bacula-fd restart; fi<br>
<br>
(see man network-manager for details)<br>
<br>
<br>
<br>
On Thu, 28 Jun 2012 20:32:04 -0700, Tom Epperly wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Package: bacula-fd<br>
Version: 5.2.6+dfsg-1<br>
Severity: normal<br>
<br>
Dear Maintainer,<br>
<br>
bacula-fd does not start when I boot my machine. I am not sure which<br>
upgrade stopped bacula-fd, but it hasn't been working for a while.<br>
<br>
My machine used to use ifup/ifdown to manage initializing eth1 and initiating<br>
DHCP to get the IP address etc. Some upgrade switched it to use<br>
NetworkManager to initiate DHCP.<br>
<br>
This is the error message flashes on the screen during boot up.<br>
<br>
[....] Starting Bacula File daemon...:28-Jun 20:20 bacula-fd: ERROR<br>
TERMINATION<br>
at address_conf.c:521<br>
Config error: can't add port (faerun.epperly.home) to (can't resolve<br>
hostname(fa<br>
erun.epperly.home) Non-authoritative for host not found, or ServerFail.)<br>
: line 49, col 33 of file /etc/bacula/bacula-fd.conf<br>
FDAddress = faerun.epperly.home<br>
<br>
failed!<br>
<br>
This happens no my home desktop, and it also happens on my Ubuntu<br>
laptop at work.<br>
<br>
I tried adding $network to the Required-Start for the init.d/bacula-fd<br>
script, but it didn't fix the problem.<br>
<br>
I can "service bacula-fd start" just fine from a terminal window once<br>
the network is initialized.<br>
<br>
Tom<br>
<br>
-- System Information:<br>
Debian Release: wheezy/sid<br>
APT prefers unstable<br>
APT policy: (500, 'unstable'), (1, 'experimental')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/bash<br>
<br>
Versions of packages bacula-fd depends on:<br>
ii bacula-common 5.2.6+dfsg-1<br>
ii libacl1 2.2.51-8<br>
ii libc6 2.13-33<br>
ii libgcc1 1:4.7.1-1<br>
ii libpython2.7 2.7.3-1<br>
ii libssl1.0.0 1.0.1c-3<br>
ii libstdc++6 4.7.1-1<br>
ii libwrap0 7.6.q-23<br>
ii lsb-base 4.1+Debian7<br>
ii ucf 3.0025+nmu3<br>
ii zlib1g 1:1.2.7.dfsg-11<br>
<br>
bacula-fd recommends no packages.<br>
<br>
Versions of packages bacula-fd suggests:<br>
ii bacula-traymonitor 5.2.6+dfsg-1<br>
<br>
-- Configuration Files:<br>
/etc/init.d/bacula-fd changed:<br>
set -e<br>
PATH=/sbin:/bin:/usr/sbin:/<u></u>usr/bin<br>
DAEMON=/usr/sbin/bacula-fd<br>
NAME="bacula-fd"<br>
PORT=9102<br>
DESC="Bacula File daemon"<br>
test -f $DAEMON || exit 0<br>
if [ -n "`getent services bacula-fd`" ]; then<br>
PORT=`getent services bacula-fd | awk '{ gsub("/tcp","",$2); print $2; }<br>
'`<br>
fi<br>
. /lib/lsb/init-functions<br>
. /usr/share/bacula-common/<u></u>common-functions.init<br>
if [ -r /etc/default/$NAME ]; then<br>
. /etc/default/$NAME<br>
fi<br>
CONFIG="${CONFIG:-/etc/bacula/<u></u>$NAME.conf}"<br>
create_var_run_dir<br>
PIDFILE=/var/run/bacula/$NAME.<u></u>$PORT.pid<br>
do_start()<br>
{<br>
start-stop-daemon --start --quiet --pidfile $PIDFILE \<br>
--oknodo --exec $DAEMON -- -c $CONFIG $ARGS<br>
}<br>
do_stop()<br>
{<br>
start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \<br>
--exec $DAEMON -- -c $CONFIG $ARGS<br>
}<br>
case "$1" in<br>
start)<br>
if [ "$ENABLED" = "no" ]; then<br>
log_failure_msg "Not starting $DESC: disabled via<br>
/etc/default/$<br>
NAME"<br>
exit 0<br>
fi<br>
log_daemon_msg "Starting $DESC..."<br>
if do_start ; then<br>
log_end_msg 0<br>
else<br>
log_end_msg 1<br>
fi<br>
;;<br>
stop)<br>
log_daemon_msg "Stopping $DESC..."<br>
if do_stop ; then<br>
log_end_msg 0<br>
else<br>
log_end_msg 1<br>
fi<br>
;;<br>
restart|force-reload)<br>
$0 stop<br>
sleep 1<br>
$0 start<br>
;;<br>
status)<br>
status_of_proc -p $PIDFILE $DAEMON $NAME<br>
;;<br>
*)<br>
N=/etc/init.d/$NAME<br>
echo "Usage: $N {start|stop|restart|force-<u></u>reload|status}" >&2<br>
exit 1<br>
;;<br>
esac<br>
exit 0<br>
<br>
<br>
-- no debconf information<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
pkg-bacula-devel mailing list<br>
<a href="mailto:pkg-bacula-devel@lists.alioth.debian.org" target="_blank">pkg-bacula-devel@lists.alioth.<u></u>debian.org</a><br>
<br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-bacula-devel" target="_blank">http://lists.alioth.debian.<u></u>org/cgi-bin/mailman/listinfo/<u></u>pkg-bacula-devel</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
with best regards,<br>
Alexander Golovko<br>
email: <a href="mailto:alexandro@ankalagon.ru" target="_blank">alexandro@ankalagon.ru</a><br>
xmpp: <a href="mailto:alexandro@ankalagon.ru" target="_blank">alexandro@ankalagon.ru</a><br>
<br>
<br>
<br>
-- <br>
To unsubscribe, send mail to <a href="mailto:679479-unsubscribe@bugs.debian.org" target="_blank">679479-unsubscribe@bugs.<u></u>debian.org</a>.<br>
</font></span></blockquote></div><br></div>