You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If zhm is configured to use Hesiod, but Hesiod is not configured correctly, zhm will fail to restart. Which is fine, but the postinst shouldn't fail here, particularly because this situations results from "apt-get install zephyr-clients", which pulls in an (unconfigured) Hesiod.
Adding the usual || : idiom fixes this.
{{
--- zephyr-3.0.1.orig/debian/zephyr-clients.postinst 2011-03-06 13:41:10.000000000 -0500
+++ zephyr-3.0.1/debian/zephyr-clients.postinst 2013-03-08 13:21:58.365700512 -0500
@@ -70,9 +70,9 @@
if [ -x "/etc/init.d/zhm" ]; then
# this script does not necessarily fail if these do
if [ -x "which invoke-rc.d 2>/dev/null" ]; then
invoke-rc.d zhm restart
invoke-rc.d zhm restart || :
else
/etc/init.d/zhm restart
/etc/init.d/zhm restart || :
fi
fi
}}
The text was updated successfully, but these errors were encountered:
If zhm is configured to use Hesiod, but Hesiod is not configured correctly, zhm will fail to restart. Which is fine, but the
postinst
shouldn't fail here, particularly because this situations results from "apt-get install zephyr-clients", which pulls in an (unconfigured) Hesiod.Adding the usual
|| :
idiom fixes this.{{
--- zephyr-3.0.1.orig/debian/zephyr-clients.postinst 2011-03-06 13:41:10.000000000 -0500
+++ zephyr-3.0.1/debian/zephyr-clients.postinst 2013-03-08 13:21:58.365700512 -0500
@@ -70,9 +70,9 @@
if [ -x "/etc/init.d/zhm" ]; then
# this script does not necessarily fail if these do
if [ -x "
which invoke-rc.d 2>/dev/null
" ]; then}}
The text was updated successfully, but these errors were encountered: