Mailinglist Archive: opensuse-factory (188 mails)

< Previous Next >
Re: [opensuse-factory] puzzling issue with modem device locking
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Thu, 13 Dec 2018 13:58:38 +0100
  • Message-id: <2622531.JW2gLExppH@xrated>
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >