GNU logs - #28260, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#28260: tcsh/csh needs separate /etc/profile - like file
Resent-From: ng0 <ng0@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 28 Aug 2017 08:16:01 +0000
Resent-Message-ID: <handler.28260.B.15039081417368 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 28260
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 28260 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15039081417368
          (code B ref -1); Mon, 28 Aug 2017 08:16:01 +0000
Received: (at submit) by debbugs.gnu.org; 28 Aug 2017 08:15:41 +0000
Received: from localhost ([127.0.0.1]:58603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dmFCv-0001ul-DG
	for submit <at> debbugs.gnu.org; Mon, 28 Aug 2017 04:15:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39619)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ng0@HIDDEN>) id 1dmFCt-0001uZ-FE
 for submit <at> debbugs.gnu.org; Mon, 28 Aug 2017 04:15:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1dmFCm-0005Kd-JL
 for submit <at> debbugs.gnu.org; Mon, 28 Aug 2017 04:15:34 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39784)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ng0@HIDDEN>)
 id 1dmFCm-0005KY-GJ
 for submit <at> debbugs.gnu.org; Mon, 28 Aug 2017 04:15:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58810)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1dmFCl-0005Ad-5X
 for bug-guix@HIDDEN; Mon, 28 Aug 2017 04:15:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1dmFCh-0005Gw-W2
 for bug-guix@HIDDEN; Mon, 28 Aug 2017 04:15:31 -0400
Received: from aibo.runbox.com ([91.220.196.211]:52320)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <ng0@HIDDEN>)
 id 1dmFCh-0005Ek-O2
 for bug-guix@HIDDEN; Mon, 28 Aug 2017 04:15:27 -0400
Received: from [10.9.9.211] (helo=mailfront11.runbox.com)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <ng0@HIDDEN>) id 1dmFCd-0002Ds-W4
 for bug-guix@HIDDEN; Mon, 28 Aug 2017 10:15:24 +0200
Received: from [156.67.106.32] (helo=localhost)
 by mailfront11.runbox.com with esmtpsa (uid:892961 )
 (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dmFCK-0007Md-AN
 for bug-guix@HIDDEN; Mon, 28 Aug 2017 10:15:05 +0200
Date: Mon, 28 Aug 2017 08:14:38 +0000
From: ng0 <ng0@HIDDEN>
Message-ID: <20170828081438.quadbcci5nv6zdbe@abyayala>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="h7obyjidnrkhqtrt"
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


--h7obyjidnrkhqtrt
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I am looking into making usage of different shells easier on GuixSD.
I already noticed that our SLIM-service needs a change
to work for tcsh, but it seems as if we should also create
a file in the %base-services or a small service:

quote man tcsh(1):

> Startup and shutdown
>   A login shell begins by executing commands from the system files /etc/c=
sh.cshrc and /etc/csh.login.  It then executes commands from files in the u=
ser's home directory: first ~/.tcshrc (+) or, if  ~/.tcshrc  is  not
>   found,  ~/.cshrc,  then the contents of ~/.history (or the value of the=
 histfile shell variable) are loaded into memory, then ~/.login, and finall=
y ~/.cshdirs (or the value of the dirsfile shell variable) (+).  The
>   shell may read /etc/csh.login before instead of after /etc/csh.cshrc, a=
nd ~/.login before instead of after ~/.tcshrc or ~/.cshrc and ~/.history, i=
f so compiled; see the version shell variable. (+)
>
>   Non-login shells read only /etc/csh.cshrc and ~/.tcshrc or ~/.cshrc on =
startup.

It might take a while for me to find time for this and to test it,
but I will try and add such a file (/etc/csh.login) via a service.

However this _seems_ to be only a problem with SLIM as far as I could test,
as I am able to log in using tcsh (in a profile which never used bash and
uses tcsh as its user shell) at the tty. SLIM fails for login_command
reasons. Nevertheless it should be safer to add this for tcsh users
who are new to Guix and who did not add basic stuff to their .tcshrc
such as

> setenv PATH $HOME/.guix-profile/bin:$HOME/.guix-profile/sbin:/run/setuid-=
programs:/run/current-system/profile/bin:/run/current-system/profile/sbin
> setenv INFOPATH $HOME/.guix-profile/share/info:/run/current-system/profil=
e/share/info:$HOME/.guix-profile/share/info:/run/current-system/profile/sha=
re/info
> setenv GUILE_LOAD_COMPILED_PATH $HOME.guix-profile/lib/guile/2.2/site-cca=
che:$HOME.guix-profile/share/guile/site/2.2:/run/current-system/profile/lib=
/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2
> setenv GUILE_LOAD_PATH $HOME/.guix-profile/share/guile/site/2.2:/run/curr=
ent-system/profile/share/guile/site/2.2
> setenv GIT_EXEC_PATH $HOME/.guix-profile/libexec/git-core

I will also look at the ~/.guix-profile/etc/profile variant
and see that we can generate a similar file for tcsh.

> export INFOPATH=3D"${GUIX_PROFILE:-/gnu/store/1n2ay00nvsybwszvjdm7acc39pm=
0k851-profile}/share/info${INFOPATH:+:}$INFOPATH"

a very simple solution could be
setenv INFOPATH $GUIX_PROFILE/share/info

which of course does not include the

> export INFOPATH=3D$HOME/.guix-profile/share/info:/run/current-system/prof=
ile/share/info

which can be set in /etc/profile so I assume it
could be (untested):

setenv INFOPATH $GUIX_PROFILE/share/info:INFOPATH

We can also test very easily for tcsh if that helps
solving any future problems:

> [abyayala] 8:08am ~ > echo $shell
> /gnu/store/kfv79p5di3bz3jl4j1vn91v69ga6sqk3-tcsh-6.20.00/bin/tcsh
> [abyayala] 8:08am ~ > exit
> # now we are back in bash again (no tcsh-only environment here)
> user@abyayala ~$ echo $shell
>
> # as you can see bash returns empty here
> # and so does zsh aswell.
--=20
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

--h7obyjidnrkhqtrt
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmj0O4ACgkQ4i+bv+40
hYgj9BAAtkAF8nL+e63aLhxzQ6bkseI/+eFR0EQxxeEutiFNPWVwzgpgGG+ojrg2
1xXd18Q6EDkUQhDsRTBvHyk2CuhPorCah5FBY4H8qi/dWfNxq17m+70kyhwhNdxp
l3FeAbzE6i7rRuCjhcN1h4NMYABqNuVcmQP70rGWA/8ea5rAaaRZFLi1ekIFAmVW
Nr59ZcsIcCbbGCTZSu+Hj2NAOM1nVcCAqkBFcUQEgetDp0inNhM+i6S7yFn5GfoN
1Of//IQOrp9uyRzE3BluJ63Csyv19GyMPZ9rJDwgatPTVCeodPJVr1LstR4aGjyW
uUAh0H4MMU39K/unt7giiU8gHVNyzPTp+heeQTq2r/QLfFSkeLWHCvrVdA7DlOPa
U3Q+g3uHvjQ0BS2oA4xncbFwy+ZkZ4TecN2DUhPzancswpnVatryrxraHnAADMHo
z9MyXA3c6ibfBrcL4pJxF2tXTQ+LHjiUH1/Qfe4oQKsOgyWnXeWMZdZN2ZmGvWBl
F4ve5LL4fWHcrgk8C7FVfzKFvphk1xmHGrEVZHoHkJu3m+FhREaykGNg7L18oZZr
ClrlMjg/L55wuEn3wTKyiUNfvUXCd0Ohnzdrg/i1Zo5QbDg3x9d4ArPacUT3ompx
HkuD7nr8qfGNUI9LyilTVXvg7VQwV1REkDLSAtdlkUVaBZVXXtU=
=wUj3
-----END PGP SIGNATURE-----

--h7obyjidnrkhqtrt--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: ng0 <ng0@HIDDEN>
Subject: bug#28260: Acknowledgement (tcsh/csh needs separate /etc/profile
 - like file)
Message-ID: <handler.28260.B.15039081417368.ack <at> debbugs.gnu.org>
References: <20170828081438.quadbcci5nv6zdbe@abyayala>
X-Gnu-PR-Message: ack 28260
X-Gnu-PR-Package: guix
Reply-To: 28260 <at> debbugs.gnu.org
Date: Mon, 28 Aug 2017 08:16:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 28260 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
28260: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28260
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 26 Nov 2017 14:18:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 26 09:18:56 2017
Received: from localhost ([127.0.0.1]:58698 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eIxlo-0001ES-0u
	for submit <at> debbugs.gnu.org; Sun, 26 Nov 2017 09:18:56 -0500
Received: from hera.aquilenet.fr ([141.255.128.1]:46414)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1eIxll-0001EJ-Rs
 for control <at> debbugs.gnu.org; Sun, 26 Nov 2017 09:18:54 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 4C84FF4F2
 for <control <at> debbugs.gnu.org>; Sun, 26 Nov 2017 15:18:54 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ruH-bkh5WjrU for <control <at> debbugs.gnu.org>;
 Sun, 26 Nov 2017 15:18:53 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 85D10F354
 for <control <at> debbugs.gnu.org>; Sun, 26 Nov 2017 15:18:53 +0100 (CET)
Date: Sun, 26 Nov 2017 15:18:50 +0100
Message-Id: <87wp2dw2b9.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
Subject: control message for bug #28260
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

severity 28260 wishlist





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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