Merge pull request #8377 from heitbaum/gid

Fix uidgid journalctl errors at boot and sanitize uidgid
This commit is contained in:
Christian Hewitt 2023-11-29 15:29:26 +04:00 committed by GitHub
commit 0894b82d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 12 deletions

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

View File

@ -273,20 +273,26 @@ post_install() {
add_group systemd-network 193
add_user systemd-network x 193 193 "systemd-network" "/" "/bin/sh"
add_group audio 63 pipewire
add_group systemd-oom 194
add_user systemd-oom x 194 194 "systemd Userspace OOM Killer" "/" "/bin/false"
add_group adm 4
add_group tty 5
add_group disk 6
add_group lp 7
add_group kmem 9
add_group wheel 10
add_group cdrom 11
add_group dialout 18
add_group disk 6
add_group floppy 19
add_group kmem 9
add_group kvm 10
add_group lp 7
add_group render 12
add_group tape 33
add_group tty 5
add_group video 39 pipewire
add_group utmp 22
add_group input 199
add_group tape 33
add_group kvm 36
add_group video 39 pipewire
add_group audio 63 pipewire
add_group input 104
add_group render 105
add_group sgx 106
enable_service machine-id.service
enable_service debugconfig.service