diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-10-31 15:40:17 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-04 12:50:54 +0000 |
commit | b1e1c12a3f4d6a06aaf2ed18b1f2a9a7de5f0198 (patch) | |
tree | 39c425aae528df7d2e44ed4ea9e961aced590bb3 /meta/recipes-connectivity/avahi | |
parent | 5d11f02fb76a512debb004f097fb95139ec3a2a2 (diff) | |
download | poky-b1e1c12a3f4d6a06aaf2ed18b1f2a9a7de5f0198.tar.gz |
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>
Diffstat (limited to 'meta/recipes-connectivity/avahi')
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi.inc | 10 |
1 files changed, 0 insertions, 10 deletions
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 | |||
153 | killall -q -HUP dbus-daemon || true | 153 | killall -q -HUP dbus-daemon || true |
154 | fi | 154 | fi |
155 | } | 155 | } |
156 | |||
157 | pkg_postrm_avahi-daemon () { | ||
158 | deluser avahi || true | ||
159 | delgroup avahi || true | ||
160 | } | ||
161 | |||
162 | pkg_postrm_avahi-autoipd () { | ||
163 | deluser avahi-autoipd || true | ||
164 | delgroup avahi-autoipd || true | ||
165 | } | ||