From b1e1c12a3f4d6a06aaf2ed18b1f2a9a7de5f0198 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Mon, 31 Oct 2016 15:40:17 +0200 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-connectivity/avahi/avahi.inc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'meta/recipes-connectivity/avahi') diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc index cb3680272e..faa8741dc5 100644 --- a/meta/recipes-connectivity/avahi/avahi.inc +++ b/meta/recipes-connectivity/avahi/avahi.inc @@ -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 -} -- cgit v1.2.3-54-g00ecf