http://bugzilla.opensuse.org/show_bug.cgi?id=1162891
http://bugzilla.opensuse.org/show_bug.cgi?id=1162891#c1
--- Comment #1 from Paolo Panto ---
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:
You are on the CC list for the bug.