Skip to content
Commit 792434de authored by Martin Pitt's avatar Martin Pitt
Browse files

libnss-resolve: Don't duplicate "dns" query

debian/libnss-resolve.postinst: Replace "dns" entry with "resolve", as
libnss-resolve already falls back to dns if resolved is not available. This
avoids querying failing DNS twice. Conversely, replace "resolv" with "dns" in
postrm.

Also fix the unsafe substitution in postrm: We want to match on full words,
thus use \b to match word boundaries. \Q and \E have no effect as none of the
characters in "resolve" are special regex characters.
parent 09b5bcb0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment