netatalk fails to start on boot when "roaming mode" enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit |
Invalid
|
Undecided
|
Unassigned | ||
netatalk (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
upstart (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: netatalk
I've been running Netatalk on a system since it was running Dapper 6.06 or Edgy 6.10. Now I'm running Gutsy 7.10 and noticed Netatalk doesn't start at boot, though it starts readily when invoked manually using
sudo /etc/init.
There are no messages logged anywhere regarding the failed start so it's hard to know where to look for the problem. I honestly don't remember if it started correctly under Ubuntu Feisty 7.06. There are no error messages when it's started manually -- just a "normal" entry in /var/log/messages saying papd CUPS support is enabled.
I found a forum discussion about it -- http://
Based on this discussion I looked at the system-V and upstart scripts, and the scripts seem to be where they should be. I also tried removing the bootsplash and netatalk still does not start on boot. I have not tried any changes to my /etc/hosts or network configuration.
I see several bugs where people had trouble installing netatalk, such as Bug #109917, Bug #158076, Bug #157685 and Bug #159202 -- all of these seem to be difficulties with the network interface. That may be the problem here -- maybe the interface is not ready when Netatalk starts, HOWEVER why does it not log anything at all -- not even the attempt to start?
Could there be something odd about the netatalk code that doesn't play well with upstart?
P.S.: I AM using netatalk "insecurely" on my LAN since I have not recompiled the package to use ssh as reported in Bug #26452 -- my file sharing clients connect using cleartext passwords.
Changed in upstart: | |
status: | New → Invalid |
Changed in sysvinit: | |
status: | Incomplete → Invalid |
I had a few minutes today to tinker with this ... I added an echo message to the second line of /etc/init. d/netatalk so I could look for any sign that the netatalk script is being invoked but dying early. I never saw it, nor is it logged anywhere. (and yes, there is a link from /etc/rc2. d/S50netatalk to the netatalk script in init.d)
Then I read /usr/share/ doc/upstart/ README. Debian. gz and added --debug to my kernel parameters in /boot/grub/menu.lst
I saw lots of additional messages on the console about the various rc scripts being invoked but never saw anything about netatalk, nor was ANY of this logged anywhere.
AFTER lots of reading it looks like the messages should be in /var/log/boot, but that file contains
"(Nothing has been logged yet.)" and the date stamp is from last April.
$ ls -la /var/log/boot
-rw-r----- 1 root adm 31 2007-04-15 06:49 /var/log/boot
are the permissions wrong???