Revision 24910,
110 bytes
checked in by geofft, 13 years ago
(diff) |
In zephyr-config:
* In the if-up.d script, restart instead of start, as the zhm
initscript passes -N (don't send an HM_BOOT flushing subscriptions)
on the restart command. This works around losing subscriptions if
you manage to start multiple zhms (which is possible due to a Zephyr
3 bug involving SO_REUSEADDR) by the initscript and if-up.d script
racing; see discussion around Trac #133. Upstream will fix the
actual bug allowing multiple zhms to run.
We should possibly actually do as Trac #133 says and kill off the
initscript entirely in this package, possibly by replacing it with
an Upstart job that starts on runlevel or network, or alternatively
let upstream do so eventually, but this fixes the immediate issue.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | case "$ADDRFAM" in |
---|
4 | inet|NetworkManager) |
---|
5 | /etc/init.d/zhm restart >/dev/null 2>&1 || : |
---|
6 | ;; |
---|
7 | esac |
---|
Note: See
TracBrowser
for help on using the repository browser.