[Bug 624043] Re: Avahi needs to be restarted after boot to broadcast netatalk services

2010-11-03 Thread michael woodruff
My file server has been rebooted several times and is still displaying
the problem. Avahi-daemon need to be restarted manually after boot to
get it to advertise any services except the workstation one. Could
someone post a any sort of fix? Maybe just a way to automate the restart
once boot is complete? Thanks.

Michael

-- 
Avahi needs to be restarted after boot to broadcast netatalk services
https://bugs.launchpad.net/bugs/624043
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 624043] Re: Avahi needs to be restarted after boot to broadcast netatalk services

2010-10-25 Thread michael woodruff
I too have been affected by this bug. No issues with .local multicasting
for me either. Running 10.4.1, intel E3300, 2gb ram, g43 chipset, sata
hdd's, realtek onbord eth.

mich...@server:~$ host -t SOA local
Host local not found: 3(NXDOMAIN)

after reboot:

mich...@server:~$ ps -A |grep avahi
  872 ?00:00:00 avahi-daemon
  873 ?00:00:00 avahi-daemon
mich...@server:~$ avahi-browse -a
+ eth0 IPv4 server [40:61:86:37:**:**]Workstation  
local
+ eth0 IPv4 Michael-NBApple File Sharing   
local
+ eth0 IPv4 Michael-NBMicrosoft Windows 
Network local

Network discovery from my mac does not work up to this point. Then i
restart the avahi-daemon and all is good with the world.

mich...@server:~$ sudo service avahi-daemon restart
[sudo] password for michael: 
avahi-daemon start/running, process 2051
mich...@server:~$ avahi-browse -a
+ eth0 IPv4 server [40:61:86:37:**:**]Workstation  
local
+ eth0 IPv4 serverApple File Sharing   
local
+ eth0 IPv4 server_device-info._tcp
local
+ eth0 IPv4 Michael-NBApple File Sharing   
local
+ eth0 IPv4 Michael-NBMicrosoft Windows 
Network local

at this point my server appears in OS X's finder and my shares are
accessible.

Here is the output from cat /var/log/syslog | grep avahi for the reboot
and then the restart of the service:

Oct 24 23:05:21 server avahi-daemon[872]: Found user 'avahi' (UID 105) and 
group 'avahi' (GID 111).
Oct 24 23:05:21 server avahi-daemon[872]: Successfully dropped root privileges.
Oct 24 23:05:21 server avahi-daemon[872]: avahi-daemon 0.6.25 starting up.
Oct 24 23:05:21 server avahi-daemon[872]: Successfully called chroot().
Oct 24 23:05:21 server avahi-daemon[872]: Successfully dropped remaining 
capabilities.
Oct 24 23:05:21 server avahi-daemon[872]: Loading service file 
/services/afpd.service.
Oct 24 23:05:21 server avahi-daemon[872]: Network interface enumeration 
completed.
Oct 24 23:05:21 server avahi-daemon[872]: Registering new address record for 
fe80::4261:86ff:fe37:5e63 on eth0.*.
Oct 24 23:05:21 server avahi-daemon[872]: Server startup complete. Host name is 
server.local. Local service cookie is 2268463974.
Oct 24 23:05:21 server avahi-daemon[872]: Service server 
(/services/afpd.service) successfully established.
Oct 24 23:05:21 server avahi-daemon[872]: Registering HINFO record with values 
'I686'/'LINUX'.
Oct 24 23:05:26 server avahi-daemon[872]: Joining mDNS multicast group on 
interface eth0.IPv4 with address 192.168.1.2.
Oct 24 23:05:26 server avahi-daemon[872]: New relevant interface eth0.IPv4 for 
mDNS.
Oct 24 23:05:26 server avahi-daemon[872]: Registering new address record for 
192.168.1.2 on eth0.IPv4.
Oct 24 23:09:27 server avahi-daemon[872]: Got SIGTERM, quitting.
Oct 24 23:09:27 server avahi-daemon[872]: Leaving mDNS multicast group on 
interface eth0.IPv4 with address 192.168.1.2.
Oct 24 23:09:27 server init: avahi-daemon main process (872) terminated with 
status 255
Oct 24 23:09:27 server avahi-daemon[2051]: Found user 'avahi' (UID 105) and 
group 'avahi' (GID 111).
Oct 24 23:09:27 server avahi-daemon[2051]: Successfully dropped root privileges.
Oct 24 23:09:27 server avahi-daemon[2051]: avahi-daemon 0.6.25 starting up.
Oct 24 23:09:27 server avahi-daemon[2051]: Successfully called chroot().
Oct 24 23:09:27 server avahi-daemon[2051]: Successfully dropped remaining 
capabilities.
Oct 24 23:09:27 server avahi-daemon[2051]: Loading service file 
/services/afpd.service.
Oct 24 23:09:27 server avahi-daemon[2051]: Joining mDNS multicast group on 
interface eth0.IPv4 with address 192.168.1.2.
Oct 24 23:09:27 server avahi-daemon[2051]: New relevant interface eth0.IPv4 for 
mDNS.
Oct 24 23:09:27 server avahi-daemon[2051]: Network interface enumeration 
completed.
Oct 24 23:09:27 server avahi-daemon[2051]: Registering new address record for 
fe80::4261:86ff:fe37:5e63 on eth0.*.
Oct 24 23:09:27 server avahi-daemon[2051]: Registering new address record for 
192.168.1.2 on eth0.IPv4.
Oct 24 23:09:27 server avahi-daemon[2051]: Registering HINFO record with values 
'I686'/'LINUX'.
Oct 24 23:09:28 server avahi-daemon[2051]: Server startup complete. Host name 
is server.local. Local service cookie is 2482462368.
Oct 24 23:09:29 server avahi-daemon[2051]: Service server 
(/services/afpd.service) successfully established.
mich...@server:~$ 

Please find a solution to this most annoying bug.

-- 
Avahi needs to be restarted after boot to broadcast netatalk services
https://bugs.launchpad.net/bugs/624043
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 624043] Re: Avahi needs to be restarted after boot to broadcast netatalk services

2010-10-25 Thread michael woodruff
Avahi seems to work for ever until a reboot for me as well but here is
the lspci info requested:


00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset 
Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio 
Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 
01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 
01)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller 
#1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller 
#2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller 
#3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller 
#4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller 
(rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface 
Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller 
(rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller 
(rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E 
PCI Express Fast Ethernet controller (rev 02)

Also i think the order may not matter either, as you can see, if i stop
netatalk and start avahi it still advertises the AFP service:

mich...@server:~$ sudo stop avahi-daemon
avahi-daemon stop/waiting
mich...@server:~$ sudo service netatalk stop
Stopping Netatalk Daemons: afpd cnid_metad papd timelord atalkd.
mich...@server:~$ sudo start avahi-daemon
avahi-daemon start/running, process 3409
mich...@server:~$ avahi-browse -a
+ eth0 IPv4 serverApple File Sharing   
local
+ eth0 IPv4 server_device-info._tcp
local
+ eth0 IPv4 serverSFTP File Transfer   
local
+ eth0 IPv4 server [40:61:86:37:5e:63]Workstation  
local
+ eth0 IPv4 Michael-NBApple File Sharing   
local
+ eth0 IPv4 Michael-NBMicrosoft Windows 
Network local
^CGot SIGINT, quitting.

Sorry to shoot down the two main ideas. Oh, and about 20% of the time
avahi works after a reboot. discovered this while troubleshooting with
about 15 reboots in 2hrs checking each time.

-- 
Avahi needs to be restarted after boot to broadcast netatalk services
https://bugs.launchpad.net/bugs/624043
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs