[oe-commits] [openembedded-core] 02/03: avahi: Don't remove users/groups in postrm

git at git.openembedded.org git at git.openembedded.org
Tue Nov 1 10:10:44 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit c1be2196e7ffb23b7b243ecd8aca1827cbdfa443
Author: Jussi Kukkonen <jussi.kukkonen at intel.com>
AuthorDate: Mon Oct 31 15:40:17 2016 +0200

    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]
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-connectivity/avahi/avahi.inc | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index cb36802..faa8741 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
-}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list