bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34630: slock: unable to disable OOM killer. Make sure to suid or sgi


From: Carlo Zancanaro
Subject: bug#34630: slock: unable to disable OOM killer. Make sure to suid or sgid slock.
Date: Sun, 24 Feb 2019 16:28:35 +1100
User-agent: mu4e 1.0; emacs 26.1

Hey Matthew,

I have successfully used slock on a Guix system, but I haven't tried using the Guix slock on a foreign distribution. I would expect it to not work, and the error message gives us an idea why:

When using the guix installed slock, it doesn't lock the screen, and errors with the following error: "slock: unable to disable OOM killer. Make sure to suid or sgid slock."

None of the programs in the Guix store (ie. /gnu/store) will have setuid or setgid set. On a Guix system you can install a slock screen-locker-service, which will provide a setuid binary for slock (via the setuid-program-service). This is done automatically as part of the default %desktop-services. I don't know of a way to do this on a foreign distribution.

Carlo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]