GNU bug report logs - #58303
[PATCH] system: Source .profile in skeleton bash_profile.

Previous Next

Package: guix-patches;

Reported by: Andrew Tropin <andrew <at> trop.in>

Date: Wed, 5 Oct 2022 11:15:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58303 in the body.
You can then email your comments to 58303 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58303; Package guix-patches. (Wed, 05 Oct 2022 11:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Tropin <andrew <at> trop.in>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 05 Oct 2022 11:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: guix-patches <at> gnu.org
Subject: [PATCH] system: Source .profile in skeleton bash_profile.
Date: Fri, 14 Jan 2022 09:16:49 +0300
[Message part 1 (text/plain, inline)]
* gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
skeleton bash_profile.
---
 gnu/system/shadow.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index 59f0a02c8b..f30ac79932 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -123,6 +123,9 @@ (define (default-skeletons)
 'useradd' in the home directory of newly created user accounts."
 
   (let ((profile (plain-file "bash_profile" "\
+# Set up Guix Home profile
+if [ -f ~/.profile ]; then . ~/.profile; fi
+
 # Honor per-interactive-shell startup file
 if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\n"))
         (bashrc  (plain-file "bashrc" "\
-- 
2.37.3

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#58303; Package guix-patches. (Thu, 03 Nov 2022 15:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 58303 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Andrew Tropin <andrew <at> trop.in>
Cc: 58303 <at> debbugs.gnu.org
Subject: Re: [bug#58303] [PATCH] system: Source .profile in skeleton
 bash_profile.
Date: Thu, 03 Nov 2022 16:49:05 +0100
[Message part 1 (text/plain, inline)]
Andrew Tropin <andrew <at> trop.in> writes:

> [[PGP Signed Part:Undecided]]
>
> * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
> skeleton bash_profile.
> ---
>  gnu/system/shadow.scm | 3 +++
>  1 file changed, 3 insertions(+)

Hey!

This issue has been open for a while, is the patch still relevant?

It seems OK to me, but then I don't know much about this shell stuff or
guix home.

Chris
[signature.asc (application/pgp-signature, inline)]

Added tag(s) moreinfo. Request was from Christopher Baines <mail <at> cbaines.net> to control <at> debbugs.gnu.org. (Sat, 05 Nov 2022 10:25:01 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#58303; Package guix-patches. (Mon, 28 Nov 2022 06:03:01 GMT) Full text and rfc822 format available.

Message #13 received at 58303 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 58303 <at> debbugs.gnu.org
Subject: Re: [bug#58303] [PATCH] system: Source .profile in skeleton
 bash_profile.
Date: Mon, 28 Nov 2022 10:02:01 +0400
[Message part 1 (text/plain, inline)]
On 2022-11-03 16:49, Christopher Baines wrote:

> Andrew Tropin <andrew <at> trop.in> writes:
>
>> [[PGP Signed Part:Undecided]]
>>
>> * gnu/system/shadow.scm (default-skeletons)[bash_profile]: Source .profile in
>> skeleton bash_profile.
>> ---
>>  gnu/system/shadow.scm | 3 +++
>>  1 file changed, 3 insertions(+)
>
> Hey!
>
> This issue has been open for a while, is the patch still relevant?
>
> It seems OK to me, but then I don't know much about this shell stuff or
> guix home.
>
> Chris

Yep, still relevant.

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 58303 <at> debbugs.gnu.org and Andrew Tropin <andrew <at> trop.in> Request was from Andrew Tropin <andrew <at> trop.in> to control <at> debbugs.gnu.org. (Wed, 08 Feb 2023 14:43:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Mar 2023 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.