unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Mauritz Stenek <mstenek@disroot.org>
To: help-guix@gnu.org
Subject: uid 0 error
Date: Mon, 19 Feb 2024 20:21:25 -0600	[thread overview]
Message-ID: <87cysryhja.fsf@disroot.org> (raw)

Hello,

I installed a barebones guix -- i.e. no desktop environment -- 
with the graphical installer.

Then, I tried defining user services as per the Guix blog and the 
Shepherd documentation. Strarting shepherd was giving me this 
error:

      No such file or directory: "/run/user/1000/shepherd"

So, I followed Marius Bakke advice in this posting:

    https://lists.gnu.org/archive/html/bug-guix/2018-11/msg00119.html

and it fixed it: basically I added the elogind service.

Now, however, running a program with sudo ... throws this error

     sudo: /run/current-system/profile/bin/sudo must be owned by 
     uid 0 and have the setuid bit set

If at the login screen, I pick an older config -- one that worked 
before -- it sill gives the setuid error.

How can I fix this?

I also wonder, this goes against the premise of "rollback and 
works", is this a bug/security issue?

-- 
Mauritz Stenek <mstenek@disroot.org>


             reply	other threads:[~2024-02-20  2:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20  2:21 Mauritz Stenek [this message]
2024-02-20  3:40 ` uid 0 error Carlo Zancanaro
2024-02-20  3:45   ` Mauritz Stenek

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87cysryhja.fsf@disroot.org \
    --to=mstenek@disroot.org \
    --cc=help-guix@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).