From unknown Thu Jun 19 14:05:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22514 <22514@debbugs.gnu.org> To: bug#22514 <22514@debbugs.gnu.org> Subject: Status: Missing environment variables when logging in via SSH Reply-To: bug#22514 <22514@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:05:06 +0000 retitle 22514 Missing environment variables when logging in via SSH reassign 22514 guix submitter 22514 myglc2 severity 22514 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 31 23:43:22 2016 Received: (at submit) by debbugs.gnu.org; 1 Feb 2016 04:43:22 +0000 Received: from localhost ([127.0.0.1]:43790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQ6Kf-0001dl-Li for submit@debbugs.gnu.org; Sun, 31 Jan 2016 23:43:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38265) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQ5By-0008MW-NQ for submit@debbugs.gnu.org; Sun, 31 Jan 2016 22:30:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQ5Bs-0002xR-ER for submit@debbugs.gnu.org; Sun, 31 Jan 2016 22:30:13 -0500 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,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ5Bs-0002xN-Bc for submit@debbugs.gnu.org; Sun, 31 Jan 2016 22:30:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ5Bq-0001O1-RY for bug-guix@gnu.org; Sun, 31 Jan 2016 22:30:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQ5Bn-0002wn-Ih for bug-guix@gnu.org; Sun, 31 Jan 2016 22:30:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:55720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ5Bn-0002wh-B1 for bug-guix@gnu.org; Sun, 31 Jan 2016 22:30:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQ5Bk-0003j8-4f for bug-guix@gnu.org; Mon, 01 Feb 2016 04:30:04 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2016 04:30:04 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2016 04:30:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: emacs INFO pages have "?"s instead of "'"s Date: Sun, 31 Jan 2016 22:21:48 -0500 Lines: 119 Message-ID: <87d1shxghf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:ohqKu7ns5v/3XqKqKtdoJl96/qk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 31 Jan 2016 23:43:20 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) In emacs INFO pages, single quotes "'" appear as question marks "?" and 'echo $LANG' returns a blank line. I am running guixSD on a headless server & logging in via the iTerm2 terminal emulator running on Max OS X... e.g. 'ssh' & 'emacs -nw' When I log into an identical server running Debian 8, emacs INFO "'" quotes are normal and 'echo $LANG' returns "en_US.UTF-8". ITerm is set to UTF-8 and xterm-256color. I am running the configuration shown below built earlier today as shown further below. Note: I also tried the alternate form, '(locale "en_US.utf8")', which is commented out in the config, and observed the same behavior. Many Thanks - George config.9.scm: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ;; This is an operating system configuration template ;; for a "bare bones" setup, with no X11 display server. (use-modules (gnu)) (use-service-modules networking ssh) (use-package-modules admin) (use-package-modules disk ssh rsync wget screen) (use-package-modules emacs) (use-package-modules guile) (use-package-modules version-control) (use-package-modules graphviz) (operating-system (host-name "g1") (timezone "America/New_York") (locale "en_US.UTF-8") ;; (locale "en_US.utf8") ;; Assuming /dev/sdX is the target hard disk, and "root" is ;; the label of the target root file system. (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (cons (file-system (device "g1sd") (title 'label) (mount-point "/") (type "ext4")) %base-file-systems)) ;; This is where user accounts are specified. The "root" ;; account is implicit, and is initially created with the ;; empty password. (users (cons (user-account (name "glc") (comment "g l c") (group "users") ;; Adding the account to the "wheel" group ;; makes it a sudoer. Adding it to "audio" ;; and "video" allows the user to play sound ;; and access the webcam. (supplementary-groups '("wheel" "audio" "video")) (home-directory "/home/glc")) %base-user-accounts)) ;; Globally-installed packages. (packages (cons* glibc-utf8-locales parted openssh rsync wget screen emacs ;; emacs-flycheck emacs-w3m geiser git-modes guile-emacs guile-for-guile-emacs magit paredit git git-manpages magit graphviz %base-packages ) ) ;; Add services to the baseline: a DHCP client and ;; an SSH server. (services (cons* (dhcp-client-service) (lsh-service #:port-number 22) %base-services))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ root@g1 ~# guix pull Starting download of /tmp/guix-file.wq8eGI >From http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz... master.tar.gz 1.8MiB/s 00:05 | 9.7MiB transferred unpacking '/gnu/store/z7fyrgm8f03ns5ils40cw0p1480ddh99-guix-latest.tar.gz'... Guix already up to date root@g1 ~# guix system reconfigure config.9.scm substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0% The following derivation will be built: /gnu/store/s70k68pvgnc72vzbqldfns0qinh4563k-grub.cfg.drv /gnu/store/gla18i7ii7krc548j0yskg834i6d8fxv-system /gnu/store/wx2piqvbys781q2k4f2k6gpjp0dpf2xb-grub.cfg /gnu/store/6jdnd5c830qggwdmrkfl6kgz79jxymzy-grub-2.00 activating system... setting up setuid programs in '/run/setuid-programs'... populating /etc from /gnu/store/z9c8lfifwbgcwrlsvhr10s6vjbnkjz43-etc... usermod: no changes usermod: no changes usermod: no changes making '/gnu/store/gla18i7ii7krc548j0yskg834i6d8fxv-system' the current system... Installation finished. No error reported. root@g1 ~# exit exit Process shell finished From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 13:06:12 2016 Received: (at 22514) by debbugs.gnu.org; 1 Feb 2016 18:06:12 +0000 Received: from localhost ([127.0.0.1]:45434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQIrc-0001RT-00 for submit@debbugs.gnu.org; Mon, 01 Feb 2016 13:06:12 -0500 Received: from mail-qg0-f43.google.com ([209.85.192.43]:32793) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQIrW-0001QY-OJ for 22514@debbugs.gnu.org; Mon, 01 Feb 2016 13:06:11 -0500 Received: by mail-qg0-f43.google.com with SMTP id b35so124608570qge.0 for <22514@debbugs.gnu.org>; Mon, 01 Feb 2016 10:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=yk/nn/3p89jhpKX+y8q9wnJ3u8Z/Uk2farYzizxlUNw=; b=GV73Rw0C/Eb/aTTePAS10NXfpUFVPBgDBWZOekl/QHQo8/CPa3fVP7QJVwoIPfBHh/ JvYt5K5jvAwZWRuVbaRAw39jWAvNeEIhne99219xAfnyrkRvNU1k089I9vBj/cJh4UzC OH+9m4QQheHu7srTgQliOxCuwCGBOUzUUA1NmGR6sODcPXEAItneDMuJJERFzO/SQUz8 qCV4/b6TEaHk9mmN9srOW5G+3Xjvu8jjW3i7qggA3MbgM/kgij5yEYlKXA9Bc4rXq7XW TrIyYByZHoquJSk9sGUqx1rSfo1S2sJuEOLuNiDmu+M3cCsgwOk46HnQzZhCL5GXAN29 C5wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=yk/nn/3p89jhpKX+y8q9wnJ3u8Z/Uk2farYzizxlUNw=; b=JQpsEAX03YGrnQYkidUB/EkHRBe232Tq16vMH5vcZDm2UURttO+LdzJnIGtNZs6IJB EoCWyKNBRPkWVahT2/PeYEme6kA1YlZSxBTvKOSRr8i0RuC1Db+8KaPUdygT40PvqfiB kAu2wgZxdrcEWgWCEgdk/YZO28IlgMUdYPa9laiJDUH4S2WUD+iK5F/C2ryS/pxTYEj5 IPyJzxSQQaL5PRF5c9+CLY0BMpfBx9ORCdELxJaux6nUAIA9hLLjyYj2m8PLYpIHjLfo Wew18MgDWXhzgZXxn3CCK4aIfitWMOHVrsz7h6a7EIllFsyaIjvs4/Ct/e8ufb2pBxT+ uGOw== X-Gm-Message-State: AG10YOSVzjooLu9J8rEFupgSg0Q9sKa3A8NuXg+1wzq5gCgIW0bU/G4QlVpTP6lmSj3jMQ== X-Received: by 10.140.150.131 with SMTP id 125mr31532496qhw.91.1454349961369; Mon, 01 Feb 2016 10:06:01 -0800 (PST) Received: from e3a (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id o75sm14300426qgd.12.2016.02.01.10.06.00 for <22514@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Feb 2016 10:06:00 -0800 (PST) From: myglc2 To: 22514@debbugs.gnu.org Subject: Re: bug#22514: emacs INFO pages have "?"s instead of "'"s References: <87d1shxghf.fsf@gmail.com> Date: Mon, 01 Feb 2016 13:03:43 -0500 In-Reply-To: <87d1shxghf.fsf@gmail.com> (myglc2@gmail.com's message of "Sun, 31 Jan 2016 22:21:48 -0500") Message-ID: <877fioxq80.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22514 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) myglc2 writes: > In emacs INFO pages, single quotes "'" appear as question marks "?" and > 'echo $LANG' returns a blank line. Note/clarification: the problem is only with user accounts. root emacs INFO "'" quotes are normal and 'echo $LANG' returns "en_US.UTF-8". > I am running guixSD on a headless server & logging in via the iTerm2 > terminal emulator running on Max OS X... e.g. 'ssh' & 'emacs -nw' > > When I log into an identical server running Debian 8, emacs INFO "'" > quotes are normal and 'echo $LANG' returns "en_US.UTF-8". > > ITerm is set to UTF-8 and xterm-256color. > > I am running the configuration shown below built earlier today as shown > further below. > > Note: I also tried the alternate form, '(locale "en_US.utf8")', which is > commented out in the config, and observed the same behavior. > > Many Thanks - George > > config.9.scm: > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > ;; This is an operating system configuration template > ;; for a "bare bones" setup, with no X11 display server. > > (use-modules (gnu)) > (use-service-modules networking ssh) > (use-package-modules admin) > (use-package-modules disk ssh rsync wget screen) > (use-package-modules emacs) > (use-package-modules guile) > (use-package-modules version-control) > (use-package-modules graphviz) > > (operating-system > (host-name "g1") > (timezone "America/New_York") > (locale "en_US.UTF-8") > ;; (locale "en_US.utf8") > > ;; Assuming /dev/sdX is the target hard disk, and "root" is > ;; the label of the target root file system. > (bootloader (grub-configuration (device "/dev/sda"))) > (file-systems (cons (file-system > (device "g1sd") > (title 'label) > (mount-point "/") > (type "ext4")) > %base-file-systems)) > > ;; This is where user accounts are specified. The "root" > ;; account is implicit, and is initially created with the > ;; empty password. > (users (cons (user-account > (name "glc") > (comment "g l c") > (group "users") > > ;; Adding the account to the "wheel" group > ;; makes it a sudoer. Adding it to "audio" > ;; and "video" allows the user to play sound > ;; and access the webcam. > (supplementary-groups '("wheel" > "audio" "video")) > (home-directory "/home/glc")) > %base-user-accounts)) > > ;; Globally-installed packages. > (packages (cons* > glibc-utf8-locales > parted > openssh > rsync > wget > screen > emacs > ;; emacs-flycheck > emacs-w3m geiser git-modes guile-emacs guile-for-guile-emacs magit paredit > git git-manpages magit > graphviz > %base-packages > ) > ) > > ;; Add services to the baseline: a DHCP client and > ;; an SSH server. > (services (cons* (dhcp-client-service) > (lsh-service #:port-number 22) > %base-services))) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > root@g1 ~# guix pull > > Starting download of /tmp/guix-file.wq8eGI > From http://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz... > master.tar.gz 1.8MiB/s 00:05 | 9.7MiB transferred > unpacking '/gnu/store/z7fyrgm8f03ns5ils40cw0p1480ddh99-guix-latest.tar.gz'... > Guix already up to date > root@g1 ~# guix system reconfigure config.9.scm > substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0% > The following derivation will be built: > /gnu/store/s70k68pvgnc72vzbqldfns0qinh4563k-grub.cfg.drv > /gnu/store/gla18i7ii7krc548j0yskg834i6d8fxv-system > /gnu/store/wx2piqvbys781q2k4f2k6gpjp0dpf2xb-grub.cfg > /gnu/store/6jdnd5c830qggwdmrkfl6kgz79jxymzy-grub-2.00 > activating system... > setting up setuid programs in '/run/setuid-programs'... > populating /etc from /gnu/store/z9c8lfifwbgcwrlsvhr10s6vjbnkjz43-etc... > usermod: no changes > usermod: no changes > usermod: no changes > making '/gnu/store/gla18i7ii7krc548j0yskg834i6d8fxv-system' the current system... > Installation finished. No error reported. > root@g1 ~# exit > exit > > Process shell finished From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 09:24:54 2016 Received: (at request) by debbugs.gnu.org; 2 Feb 2016 14:24:54 +0000 Received: from localhost ([127.0.0.1]:55786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQbsz-0007FG-Ui for submit@debbugs.gnu.org; Tue, 02 Feb 2016 09:24:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33260) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQbsy-0007F3-Uc for request@debbugs.gnu.org; Tue, 02 Feb 2016 09:24:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQbsp-00068Z-RI for request@debbugs.gnu.org; Tue, 02 Feb 2016 09:24:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQbsp-00068R-O1; Tue, 02 Feb 2016 09:24:43 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:58164 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aQbsp-0004WO-4w; Tue, 02 Feb 2016 09:24:43 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: myglc2 Subject: Re: bug#22514: emacs INFO pages have "?"s instead of "'"s References: <87d1shxghf.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 02 Feb 2016 15:24:40 +0100 In-Reply-To: <87d1shxghf.fsf@gmail.com> (myglc2@gmail.com's message of "Sun, 31 Jan 2016 22:21:48 -0500") Message-ID: <87h9hrfavr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: request Cc: 22514@debbugs.gnu.org, request@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable retitle 22514 Missing environment variables when logging in via SSH merge 22513 22175 thanks myglc2 skribis: > In emacs INFO pages, single quotes "'" appear as question marks "?" and > 'echo $LANG' returns a blank line. > > I am running guixSD on a headless server & logging in via the iTerm2 > terminal emulator running on Max OS X... e.g. 'ssh' & 'emacs -nw' This bug is due to , which appears to be fixed by the patch below (I tested it in a VM.) Could you confirm that it works for you? You would need to apply the patch with =E2=80=98patch -p1 bugfix.patch=E2=80=99 in a fresh checkout of = Guix, and to run =E2=80=98./configure && make && ./pre-inst-env guix system reconfigure= =E2=80=99 from there. TIA, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/system.scm b/gnu/system.scm index b4264fe..59fc20c 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -465,6 +465,17 @@ else export PATH=\"$HOME/.guix-profile/bin:$PATH\" fi +# Since 'lshd' does not use pam_env, /etc/environment must be explicitly +# loaded when someone logs in via SSH. See . +# We need 'PATH' to be defined here, for 'cat' and 'cut'. +if [ -f /etc/environment -a -n \"$SSH_CLIENT\" \\ + -a -z \"$LINUX_MODULE_DIRECTORY\" ] +then + . /etc/environment + export `cat /etc/environment | cut -d= -f1` +fi + + # Allow Aspell to find dictionaries installed in the user profile. export ASPELL_CONF=\"dict-dir $HOME/.guix-profile/lib/aspell\" --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 11:37:59 2016 Received: (at request) by debbugs.gnu.org; 2 Feb 2016 16:37:59 +0000 Received: from localhost ([127.0.0.1]:57004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQdxn-0003oH-CQ for submit@debbugs.gnu.org; Tue, 02 Feb 2016 11:37:59 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40395) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQdxm-0003o6-IQ for request@debbugs.gnu.org; Tue, 02 Feb 2016 11:37:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQdxe-0002Ss-5k for request@debbugs.gnu.org; Tue, 02 Feb 2016 11:37:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQdxe-0002So-2P for request@debbugs.gnu.org; Tue, 02 Feb 2016 11:37:50 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:39776 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aQdxd-0002dI-Iy for request@debbugs.gnu.org; Tue, 02 Feb 2016 11:37:49 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: request@debbugs.gnu.org Subject: merge X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 02 Feb 2016 17:37:48 +0100 Message-ID: <871t8vdq5f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: request X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) merge 22175 22514 thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 23:24:49 2016 Received: (at 22514) by debbugs.gnu.org; 3 Feb 2016 04:24:49 +0000 Received: from localhost ([127.0.0.1]:57323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQozp-0006vi-42 for submit@debbugs.gnu.org; Tue, 02 Feb 2016 23:24:49 -0500 Received: from mail-qg0-f54.google.com ([209.85.192.54]:36273) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQozo-0006vO-1w; Tue, 02 Feb 2016 23:24:48 -0500 Received: by mail-qg0-f54.google.com with SMTP id y9so2746810qgd.3; Tue, 02 Feb 2016 20:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=QR09iVcM2UoN6n1pmO250/vzUb3twiOCE2RjgUqvrdg=; b=GD/O7zX7wlV8rEhve4/pNa5/oM4ApKZItbDfDFuTdBpfx5JGbUK2KcI8ShbjMCKasi EG5xAUsaZohd2SLwMGjvlAVWJblXmC23B8O2dYRy5DZiPk/I/fvZaKcc9ifRjfOb6eSn 03wIINa9SvZB8M9Opb0iJv7/kvF6sqEZLn+tDP3fgNnl/7RyLhBicBXGoCMKMxyMhmlI P18DE2Z3ol6PRC+4Ivn5orl+V5OhD88CzYicn9/I3+9ISe6y1gMe2jNgQyNkLl9iyKhM yy+wSX/2l8IK7yQ7AXVOwuNydDXUuIpRfjI6C88jCTyHdhFEqpZGxVOiaQPxq3wWb00U R8Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=QR09iVcM2UoN6n1pmO250/vzUb3twiOCE2RjgUqvrdg=; b=PlNrfavOrY7OTLGeCMhYVjK7z0sEDoMnnKdiz7BGSmaSgAxPpO1wNmCnR2dXM8TaTr aW8+rqIOwS4k8Se8lwfoJuhmd9bIwwS4/G9fJvT3eusrdhfjGd48pIXCCQbokZJhagOT kL/ifcOlJROldXot4D3Nr1AIyZ66cFLlRzIJQbTR0dut14VDzookAFDHbq4mIMVlMkOo MLkIA3EdCfEnsfQJelQzKlw86Sm30sVqj5C5/O+pEThjnWhejK2bfrkpkHSuMEu0oHkg K/xLJW1VuFEUV008SfCgVPNwsbYljHUqyr8Oemv/YZTEJilpyvdLaSrFlU3N11Y1tOZB 8LOw== X-Gm-Message-State: AG10YORW68wO4WT2jKjrQYMysU/7kg7G/VAn8y1O4t2Uyq3fqGGVFD8yc10vgMScuazQjw== X-Received: by 10.140.172.213 with SMTP id s204mr23123521qhs.97.1454473482543; Tue, 02 Feb 2016 20:24:42 -0800 (PST) Received: from e3a (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id a130sm2145800qhd.9.2016.02.02.20.24.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Feb 2016 20:24:41 -0800 (PST) From: myglc2 To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#22514: emacs INFO pages have "?"s instead of "'"s References: <87d1shxghf.fsf@gmail.com> <87h9hrfavr.fsf@gnu.org> Date: Tue, 02 Feb 2016 23:22:22 -0500 In-Reply-To: <87h9hrfavr.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 02 Feb 2016 15:24:40 +0100") Message-ID: <87wpqmwhhd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22514 Cc: 22514@debbugs.gnu.org, request@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) ludo@gnu.org (Ludovic Court=C3=A8s) writes: > retitle 22514 Missing environment variables when logging in via SSH > merge 22513 22175 > thanks > > myglc2 skribis: > >> In emacs INFO pages, single quotes "'" appear as question marks "?" and >> 'echo $LANG' returns a blank line. >> >> I am running guixSD on a headless server & logging in via the iTerm2 >> terminal emulator running on Max OS X... e.g. 'ssh' & 'emacs -nw' > > This bug is due to , which appears to be > fixed by the patch below (I tested it in a VM.) > > Could you confirm that it works for you? Yes, that fixes it here. Thank you. > You would need to apply the > patch with =E2=80=98patch -p1 bugfix.patch=E2=80=99 in a fresh checkout o= f Guix, and to > run =E2=80=98./configure && make && ./pre-inst-env guix system reconfigur= e=E2=80=99 from > there. > > TIA, > Ludo=E2=80=99. > > diff --git a/gnu/system.scm b/gnu/system.scm > index b4264fe..59fc20c 100644 > --- a/gnu/system.scm > +++ b/gnu/system.scm > @@ -465,6 +465,17 @@ else > export PATH=3D\"$HOME/.guix-profile/bin:$PATH\" > fi >=20=20 > +# Since 'lshd' does not use pam_env, /etc/environment must be explicitly > +# loaded when someone logs in via SSH. See . > +# We need 'PATH' to be defined here, for 'cat' and 'cut'. > +if [ -f /etc/environment -a -n \"$SSH_CLIENT\" \\ > + -a -z \"$LINUX_MODULE_DIRECTORY\" ] > +then > + . /etc/environment > + export `cat /etc/environment | cut -d=3D -f1` > +fi > + > + > # Allow Aspell to find dictionaries installed in the user profile. > export ASPELL_CONF=3D\"dict-dir $HOME/.guix-profile/lib/aspell\" From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 05:25:01 2016 Received: (at 22514-done) by debbugs.gnu.org; 3 Feb 2016 10:25:01 +0000 Received: from localhost ([127.0.0.1]:57481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQucP-0001qH-1f for submit@debbugs.gnu.org; Wed, 03 Feb 2016 05:25:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57441) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQucN-0001q4-EE for 22514-done@debbugs.gnu.org; Wed, 03 Feb 2016 05:24:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQucF-0005cT-59 for 22514-done@debbugs.gnu.org; Wed, 03 Feb 2016 05:24:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQucF-0005cN-27; Wed, 03 Feb 2016 05:24:51 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:56096 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aQucE-0002NG-8T; Wed, 03 Feb 2016 05:24:50 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: myglc2 Subject: Re: bug#22514: emacs INFO pages have "?"s instead of "'"s References: <87d1shxghf.fsf@gmail.com> <87h9hrfavr.fsf@gnu.org> <87wpqmwhhd.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 03 Feb 2016 11:24:48 +0100 In-Reply-To: <87wpqmwhhd.fsf@gmail.com> (myglc2@gmail.com's message of "Tue, 02 Feb 2016 23:22:22 -0500") Message-ID: <87lh72um4v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 22514-done Cc: 22514-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) myglc2 skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> retitle 22514 Missing environment variables when logging in via SSH >> merge 22513 22175 >> thanks >> >> myglc2 skribis: >> >>> In emacs INFO pages, single quotes "'" appear as question marks "?" and >>> 'echo $LANG' returns a blank line. >>> >>> I am running guixSD on a headless server & logging in via the iTerm2 >>> terminal emulator running on Max OS X... e.g. 'ssh' & 'emacs -nw' >> >> This bug is due to , which appears to be >> fixed by the patch below (I tested it in a VM.) >> >> Could you confirm that it works for you? > > Yes, that fixes it here. Thank you. Great, thanks for testing! Pushed as 2a5f0db, closing the bug now. Ludo=E2=80=99. From unknown Thu Jun 19 14:05:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 02 Mar 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator