On Mittwoch, 12. Dezember 2018 17:18:50 Ludwig Nussel wrote:
Hans-Peter Jansen schrieb:
[...] Of course, accessing /var/lock (effectively /run/lock) requires the process to be a member of the lock group, that the package enforces that:
$ id asterisk uid=489(asterisk) gid=487(asterisk) groups=54(lock),487(asterisk)
Please make the program use the lockdev library instead. The library already implements multiple legacy locking methods. It's not needed nor desired to have any account be member of the lock group.
Thanks, Ludwig, for your advise. Do you know an C application, that is using liblockdev1 (properly)? BTW, Debian tries to get rid of lockdev: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734086 Thanks, Pete -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org