all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Claes Wallin (韋嘉誠)" <gnu@clacke.user.lysator.liu.se>
To: Eric Bavier <ericbavier@openmailbox.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)
Date: Mon, 17 Aug 2015 15:42:09 +0200	[thread overview]
Message-ID: <CAGv_=BrrLL1L982OeTdH_Xj2YhpNU59EcyHBGPVTD_9fu-8Bfg@mail.gmail.com> (raw)
In-Reply-To: <20150817033358.580a0cdc@openmailbox.org>

On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier
<ericbavier@openmailbox.org> wrote:
> On Mon, 17 Aug 2015 14:45:28 +0200
> Claes Wallin (韋嘉誠) <gnu@clacke.user.lysator.liu.se> wrote:
>> On Sun, Aug 16, 2015 at 4:01 PM, Claes Wallin (韋嘉誠)
>> <gnu@clacke.user.lysator.liu.se> wrote:
>> > [Reposting with correct sender. Sorry, David.]
>> >
>> > Great! I ran into this when trying to compile and run guix on a
>> > machine at work, where I'm not root.
>> >
>> > I was planning to run guix as a stow of steroids. But I'm still
>> > wondering whether what I'm attempting is even intended to be
>> > possible? Of course, I would lose the benefits of user separation,
>> > chroot, hydra (because I can't write to /gnu) etc, but is guix even
>> > made to be able to downgrade to this situation?
>>
>> Answering myself: It is there in the Fine Manual. So it's intended to
>> work. I will try this and see how far I come.
>>
>> https://www.gnu.org/software/guix/manual/guix.html#Build-Environment-Setup
>>
>> "If you are installing Guix as an unprivileged user, it is still
>> possible to run guix-daemon provided you pass --disable-chroot."
>>
>
> I have experimented with this a bit lately.  It works to some extent,
> but I have had to apply a few patches to some package recipes.  Some
> packages have failing tests (where presumably they would pass or be
> skipped in the chroot), which I have disabled for the time being just
> to move along.
>
> I can post a few of the patches to the ML later.

I'm doing this from git now, as opposed to doing it from the tarball
earlier, because I want that setns patch.

I have compiled gettext, m4, autoconf, automake and guile and its
deps, installed in /home/myuser/.local.

Rather than run ./bootstrap, I've had to run gettextize, aclocal,
autoreconf -vi (no -f!) with CPATH, LIBRARY_PATH and maybe AC_MACRODIR
(probably not necessary), and I managed to get a ./configure, but it
now tells me:

./configure: line 6782: syntax error near unexpected token `GUILE,'
./configure: line 6782: `PKG_CHECK_MODULES(GUILE, guile-2.0 >= 2.0.7)'

guile.m4 is there in my .../aclocal/guile.m4. I had to run aclocal
manually, because otherwise it would say something about
PKG_CHECK_MODULES being undefined.


Seems like this little endeavor is hitting a lot of special cases.

  reply	other threads:[~2015-08-17 13:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGv_=BpttjfOoLxnox7UsU+gDoZo8+vKDhiXuCyxZLhat0Jcjw@mail.gmail.com>
2015-08-16 13:57 ` Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.) Claes Wallin (韋嘉誠)
2015-08-16 14:01   ` Claes Wallin (韋嘉誠)
2015-08-17 12:45     ` Claes Wallin (韋嘉誠)
2015-08-17  8:33       ` Eric Bavier
2015-08-17 13:42         ` Claes Wallin (韋嘉誠) [this message]
2015-08-17 14:27           ` Claes Wallin (韋嘉誠)
2015-08-17 14:31             ` Claes Wallin (韋嘉誠)
2015-08-17 15:23               ` Claes Wallin (韋嘉誠)
2015-08-17 14:34         ` Thompson, David
2015-08-17 15:16           ` Claes Wallin (韋嘉誠)
2015-08-17 15:25             ` Thompson, David
2015-08-17 15:35               ` Claes Wallin (韋嘉誠)
2015-08-23 17:28               ` Running guix-daemon as an unprivileged user Ludovic Courtès
2015-08-17 20:46         ` Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.) Claes Wallin (韋嘉誠)
2015-08-17 20:57           ` Eric Bavier
2015-08-17 23:07             ` Claes Wallin (韋嘉誠)
2015-08-18 11:14             ` Claes Wallin (韋嘉誠)
2015-08-23 17:31             ` Running guix-daemon as an unprivileged user Ludovic Courtès

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='CAGv_=BrrLL1L982OeTdH_Xj2YhpNU59EcyHBGPVTD_9fu-8Bfg@mail.gmail.com' \
    --to=gnu@clacke.user.lysator.liu.se \
    --cc=ericbavier@openmailbox.org \
    --cc=guix-devel@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.
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.