avahi: sanitize uidgid

align to https://pagure.io/setup/blob/master/f/uidgid which is
the standard used in the base-os
This commit is contained in:
Rudi Heitbaum 2023-11-29 09:03:50 +00:00
parent 505b95f9aa
commit c5d5bc2bfb

View File

@ -93,8 +93,8 @@ post_makeinstall_target() {
}
post_install() {
add_user avahi x 495 495 "avahi-daemon" "/var/run/avahi-daemon" "/bin/sh"
add_group avahi 495
add_user avahi x 70 70 "avahi-daemon" "/var/run/avahi-daemon" "/bin/sh"
add_group avahi 70
enable_service avahi-defaults.service
enable_service avahi-daemon.service