From: Christopher Lemmer Webber <cwebber@dustycloud.org>
To: help-guix@gnu.org
Subject: Curious issue about guile-ssh, guix deploy, etc
Date: Sun, 22 Nov 2020 17:57:08 -0500 [thread overview]
Message-ID: <875z5x57az.fsf@dustycloud.org> (raw)
I'm setting up a "guix deploy" setup across my machines. A pretty good
experience overall! However I encountered a weird issue. I'm uncertain
if it prompts trying to fix anything or not so I'm sending to help-guix
instead... but at the least maybe it'll help others who are bumping into
the same issue.
After getting it to work under "cwebber", I thought I'd make an "admin"
user and figured, this is the user I'll make to ssh into all my machines
and run the system upgrade, because I plan on doing the sudoers NOPASSWD
thing specifically for that user. Reasonable enough of a plan, except...
For whatever reason, it wouldn't work once I switched it over to the new
"admin" user! I kept getting errors like:
guix deploy: error: failed to deploy neodusty: Guile modules not found on remote host 'my-server-here'
Hm, what's going on? So I log in as admin@my-server-here. Hm, I
immediately notice one thing is different from cwebber@my-server-here...
my bash prompt looks different:
-bash-5.0$
So unflavored! Maybe this is because I initially set up admin as
(system? #t) or etc... So then I found this old thread:
https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00482.html
Hm okay, so I installed guix in admin's user profile. No luck! Okay
I guess, next I install guile then... okay still no luck. What the
heck?
Then I think about the bash prompt again... it couldn't be... could it?
I copy over the .bashrc and .bash_profile from cwebber's homedir and...
suddenly everything works!
This seems semi surprising but I guess... maybe it makes sense... I kind
of figured that I wouldn't need to have special files in the user's
homedir in order to find the default environment variables and etc on
guixsd. Guess I was wrong.
- Chris
reply other threads:[~2020-11-22 22:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=875z5x57az.fsf@dustycloud.org \
--to=cwebber@dustycloud.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).