--- Begin Message ---
Subject: |
slock: unable to disable OOM killer. Make sure to suid or sgid slock. |
Date: |
Sat, 23 Feb 2019 02:10:14 -0600 |
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."
When downloading the source and doing the standard "make && sudo make install",
slock does not error, and will properly lock the screen.
The version of slock installed is:
"slock 1.4 out /gnu/store/0v8kkhpk4qvmyab0wmg9wa7w8xynig01-slock-1.4"
The version of Guix is:
"guix (GNU Guix) 2a1ec7bcf4d754fb8a3cb7037e74fbf9cae88bf5"
which should be from today.
Just in case anyone goes and tests this that is unfamiliar with slock, there is
no UI to it, to unlock it just type in your password and hit enter.
A red screen means incorrect password, you've backspaced all the way, or you've
stopped typing.
Blue is you're currently typing.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#34630: slock: unable to disable OOM killer. Make sure to suid or sgid slock. |
Date: |
Sun, 24 Feb 2019 16:53:07 -0500 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
On Sun, Feb 24, 2019 at 04:28:35PM +1100, Carlo Zancanaro wrote:
> 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.
On a foreign distro I recommend using the host distro's package manager
for things like this. Guix doesn't support setuid programs on other
distros. Please see the manual section Setuid Programs for more info:
https://www.gnu.org/software/guix/manual/en/html_node/Setuid-Programs.html
signature.asc
Description: PGP signature
--- End Message ---