about summary refs log tree commit diff
path: root/doc/HowToRelease.txt
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-04-13 19:43:54 +0200
committerAlexander Barton <alex@barton.de>2024-04-13 20:48:54 +0200
commit90fb3cf0a2b980acc1958bff315838a50fa4ccbe (patch)
treef7b0127f9e9fb98a1ec564bd03f42dab0a7d8f90 /doc/HowToRelease.txt
parentb77b9432c45d6f38c0ad6d9021afb4dd91f163e4 (diff)
downloadngircd-90fb3cf0a2b980acc1958bff315838a50fa4ccbe.tar.gz
ngircd-90fb3cf0a2b980acc1958bff315838a50fa4ccbe.zip
Don't abort startup when setgid/setuid() fails with EINVAL
Both setgid(2) as well as setuid(2) can fail with EINVAL in addition to
EPERM, their manual pages state "EINVAL: The user/group ID specified in
uid/gid is not valid in this user namespace ".

So not only treat EPERM as an "acceptable error" and continue with
logging the error, but do the same for EINVAL.

This was triggered by the Void Linux xbps-uunshare(1) tool used for
building "XBPS source packages" and reported by luca in #ngircd. Thanks!
Diffstat (limited to 'doc/HowToRelease.txt')
0 files changed, 0 insertions, 0 deletions