unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Alexander Asteroth <alexander.asteroth@h-brs.de>
To: Csepp <raingloom@riseup.net>
Cc: help-guix@gnu.org
Subject: Re: guix shell set user groups to access security token
Date: Sun, 15 Jan 2023 16:20:04 +0100	[thread overview]
Message-ID: <87bkmzlt2q.fsf@h-brs.de> (raw)
In-Reply-To: <86lem43pro.fsf@riseup.net>

Thank's for the simple workaround. It helped to find out that the error
is not caused by the user's group ids. In fact it's related to missing
network access. I solved it by providing --network to the shell but
unfortunately this only worked exactly one single time. Now as soon as I
enable the network, the usb-connection to the token vis /dev/sg0 is not
estblished at all. Very strange (in particular, that it worked one
time).

On Sun, Jan 15 2023, 14:11:45, Csepp <raingloom@riseup.net> wrote:

> Alexander Asteroth <alexander.asteroth@h-brs.de> writes:
>
>> Dear all,
>>
>> I'm trying to get my security token software (sealone) to work under
>> guix SD. The software is unfortunately not available in source and seems
>> to expect a FSH filesystem. I therefore tried to run it in guix shell. A
>> first trial was:
>>
>> guix shell -CFD ungoogled-chromium gcc:lib --expose=/dev
>>
>> in this environment I can execute the software and the tokes get's
>> connected but reports some error condition and is not usable. It might
>> have to do with the user not beeing in group cdrom which usually is
>> necessary to access /dev/sg0.
>>
>> Any idea how to set the groups the user is member of in guix shell?
>> Or any other idea how I could get such software to work under guix?
>>
>> Cheers,
>> Alex
>
> Bit of an ugly hack but what I usually do is chown devices I'm working
> with to myself.
> Haven't tried that in a guix container but in theory it should work.



      reply	other threads:[~2023-01-15 15:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 11:08 guix shell set user groups to access security token Alexander Asteroth
2023-01-15 13:11 ` Csepp
2023-01-15 15:20   ` Alexander Asteroth [this message]

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=87bkmzlt2q.fsf@h-brs.de \
    --to=alexander.asteroth@h-brs.de \
    --cc=help-guix@gnu.org \
    --cc=raingloom@riseup.net \
    /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).