mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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:
committed by
Richard Purdie
parent
5d11f02fb7
commit
b1e1c12a3f
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user