avahi: Don't remove users/groups in postrm

There's no way to ensure that files owned by the users aren't left
on the system at postrm time: Removing the user would mean those
files are now owned by a non-existing user, and later may be owned
by a completely unrelated new user.

[YOCTO #10442]

(From OE-Core rev: c1be2196e7ffb23b7b243ecd8aca1827cbdfa443)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jussi Kukkonen 2016-10-31 15:40:17 +02:00 committed by Richard Purdie
parent 5d11f02fb7
commit b1e1c12a3f
1 changed files with 0 additions and 10 deletions

View File

@ -153,13 +153,3 @@ if [ -z "$D" ]; then
killall -q -HUP dbus-daemon || true
fi
}
pkg_postrm_avahi-daemon () {
deluser avahi || true
delgroup avahi || true
}
pkg_postrm_avahi-autoipd () {
deluser avahi-autoipd || true
delgroup avahi-autoipd || true
}