all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: Matthew Brooks <matthewfbrooks@mailbox.org>
Cc: 34630@debbugs.gnu.org
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	[thread overview]
Message-ID: <87ftsdsqkc.fsf@zancanaro.id.au> (raw)
In-Reply-To: <20190223021014.5f9dfa19@mailbox.org>

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	other threads:[~2019-02-24  5:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-23  8:10 bug#34630: slock: unable to disable OOM killer. Make sure to suid or sgid slock Matthew Brooks
2019-02-24  5:28 ` Carlo Zancanaro [this message]
2019-02-24 21:53   ` Leo Famulari
2019-02-25  6:20     ` Matthew Brooks
2019-02-25 15:46       ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftsdsqkc.fsf@zancanaro.id.au \
    --to=carlo@zancanaro.id.au \
    --cc=34630@debbugs.gnu.org \
    --cc=matthewfbrooks@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.