Comment # 1 on bug 1162891 from
According to https://bugzilla.opensuse.org/show_bug.cgi?id=1162666#c13 'getent
services' should be used, eg.

--- /etc/postfix/system/cond_slp.orig
+++ /etc/postfix/system/cond_slp
@@ -25,7 +25,7 @@
     local srv
     local FQHN=$($POSTCONF -h myhostname)
     for srv in $PSERVICES; do
-       sport=$(sed -ne "/^$srv/Is/^$srv[[:space:]]\+\([0-9]\+\)\/tcp.*/\1/gp"
/etc/services)
+       sport=$(getent services | sed -ne
"/^$srv/Is/^$srv[[:space:]]\+\([0-9]\+\)\/tcp.*/\1/gp")
        [ -n "$sport" ] || continue
        $OPENSLP_BIN $cmd service:$srv://$FQHN:$sport > /dev/null 2>&1
     done


You are receiving this mail because: