[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-13 Thread Trent Lloyd
*** This bug is a duplicate of bug 56426 *** Ah yes I forgot dbus starts it not rc?.d.. oops.. What would you propose is the best solution? Given dbus starts it.. im thinking perhaps we could move the default start behavior to ONLY affect the dbus script and leave /etc/inti.d /avahi-daemon to

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-13 Thread Fergal Daly
*** This bug is a duplicate of bug 56426 *** I'd argue that /etc/inti.d/avahi-daemon start should start it unconditionally and then the toggling on and off should be done with the addition or removal of symlinks. That's how rcX.d works and it looks like that's how dbus works too. rcX.d comes

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-13 Thread Russell Cloran
*** This bug is a duplicate of bug 56426 *** I am very very +1 on what Fergal has to say. -- /etc/init.d/avahi-daemon start doesn't start anything https://launchpad.net/bugs/65587 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-12 Thread Fergal Daly
I have avahi daemon installed but it's isn't mentioned in /etc/rc?.d and I can't find anything in /etc that wants to invoke it. I presume this is all related to upstart but I don't really know what's going on. By all means have a script for controlling the daemon however you like but you

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-12 Thread Trent Lloyd
Fergal: you can run the script with /etc/init.d/avahi-daemon (dont forgot to also fix the /etc/default/avahi file) Please note that with the change to upstart in ubuntu I beleive the /etc/rc?.d stuff has changed but I'm not really familiar with the changes there (they are backwards compatible,

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-12 Thread Fergal Daly
My point is that this is the only initscript in the world which has a don't forget to tweak the obscure ACTUALLY_DO_WHAT_I_SAY setting warning to it. Worse still, it doesn't even have the warning _attached_ to it, you have to find out by debugging the initscript. I doubt I'm the only person who's

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-12 Thread Trent Lloyd
Actually it's not the only package, I know among other things bittorrent and rsync have this option, and it's there so that avahi can be installed by default but not enabled on an ubuntu system. Yes it is a little confusing, that is unfortunate. As for upstart/rc?.d links, thats the price of

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-12 Thread Fergal Daly
Surprisingly there are others too - bootlogd and tomcat for example but that doesn't make it right. I found the following [EMAIL PROTECTED] /etc/dbus-1/event.d ls -l total 8 -rwxr-xr-x 1 root root 1901 2006-09-20 14:15 20hal lrwxrwxrwx 1 root root 25 2006-09-28 17:52 25avahi-daemon -

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-12 Thread Fergal Daly
One other thing, in relation to the other bug you mention. Initscripts should _need_ to print things out or test for interactivity. They should just do what they've always done and start/stop services. If it's correct to add this code to avahi's initscript then it should really be added to every

[Bug 65587] Re: /etc/init.d/avahi-daemon start doesn't start anything

2006-10-11 Thread Trent Lloyd
The purpose this serves is that avahi-daemon will now be installed by default, but we do not want it to start by default, this is an option provided by the network preferences. This is somewhat slightly confusing, but it's been determined the 'best' way to do this ** Changed in: avahi (Ubuntu)