GNU bug report logs - #64112
greetd-wlgreet-session doesn't source .bash_profile

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "ytc" <yusufcikisir@HIDDEN>; dated Fri, 16 Jun 2023 16:53:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 64112) by debbugs.gnu.org; 17 Jun 2023 15:55:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 11:55:26 2023
Received: from localhost ([127.0.0.1]:52459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qAYGr-0003xY-Lc
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 11:55:25 -0400
Received: from jpoiret.xyz ([206.189.101.64]:50724)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1qAYGp-0003xQ-Eo
 for 64112 <at> debbugs.gnu.org; Sat, 17 Jun 2023 11:55:24 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id F280D18519E;
 Sat, 17 Jun 2023 15:55:21 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1687017322;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=i50Fy9wis+mhvqfOUFI/T2NiUSm5a5LoOuKInUVmlwc=;
 b=LctxJkVoniZa6rHrnIzw/0TOIFDTQ1+mjLsfa1/mNgLhAPGKhh1vLthtJbpzyo9OQXbNOs
 XU5X96adlXN8kf8FeIzXoL+W7OkFZMur4CUPulhJZehOXoBzDE9Mh/H+Ez21DWRz0QKDIU
 6AWjGqvY+wV1i4RU4jzPiO3Y1UIziNAPbk55MgItoz40KZpoyPF5O9gQr43UL5VVzoQhDe
 PxocCGJWCd+FzxhPKQXelFzZ7Qxk5GsFFRWE4Bq4P6fhDVTOI4v9G8WwQBIjIuqBrXSvCL
 6veJF9JTxbPuqeYrDvGspz5DkWWQDs0MwUOfGGpqeyXGMX4F6rxMemLXPeIa1A==
From: Josselin Poiret <dev@HIDDEN>
To: ytc <yusufcikisir@HIDDEN>, 64112 <at> debbugs.gnu.org
Subject: Re: bug#64112: greetd-wlgreet-session doesn't source .bash_profile
In-Reply-To: <87bkhfwdsg.fsf@HIDDEN>
References: <87bkhfwdsg.fsf@HIDDEN>
Date: Sat, 17 Jun 2023 17:55:19 +0200
Message-ID: <875y7m5biw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spamd-Bar: /
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 64112
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: 0.0 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

"ytc" via Bug reports for GNU Guix <bug-guix@HIDDEN> writes:

> Hello everyone.
>
> I've noticed that when I started a Wayland session with a
> greetd-terminal whose default-session-command is
> greetd-wlgreet-sway-session or greetd-wlgreet-session, enviromental
> variables set in .bash_profile doesn't seem to be set.
>
> I don't know if this is a bug or feature but it doesn't seem right to
> me.  I would be glad if you handle it.

greetd sources ~/.profile and /etc/profile [1], even though it is not
documented.  You should probably use that instead of the bash-specific
.bash_profile which is *only* meant for bash login shells.

[1] https://git.sr.ht/~kennylevinsen/greetd/tree/3608fc9494e3b98c673292f9e2=
a7589cc6686d38/item/greetd/src/session/worker.rs#L202

Best,
=2D-=20
Josselin Poiret

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

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

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmSN12cQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5Fhcaij+CDACkHjWFxgQx0ZaHPYLh7tnYUzhk7Z0CuQ7T
8jvEOoczxWoitspgvm/zgUOoksX78qnkUtqC+hAr01bOuwrVitBXXLGFzY6dZgP9
jI/pi6Ayx1pKyDH0EFCrkczfOVTp9ja8Kau7YmGhHt0QfAGqfDSyROqIgq5SftYH
VxxXjCvtDjT3IY3+hQIYD3P/ja7rsW0szIl4eYnvk56O59WAD0d8p8HM0SHBZPlO
3oWQMu1CjasgqgEPzj5vaDsQTW2TapQIEGjR68MjTxh3/Qq+9WVgS5QuljOV+uzV
lqTkVKHjw5IoEvz9HUgCZP8UH2Ain5r1x6esdomTOynFPCHEv2LLAQjKj3nFSBDS
1Ogph6ieonXCD6l5EKDUcmo6umI7ZwCKdhyXOslT7de6Y+hgEodiQ6aZlGsYku0b
8aZYq/ui6FhIuFFHk89+PSt/cU/NfIOMOkD65lY4ugAsq+/SQRTgD1EToaZKgcRm
QDj3e6Ny5CzxB6b7Fzsp24hTyPyLrw8=
=p05l
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#64112; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 16 Jun 2023 16:52:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 16 12:52:17 2023
Received: from localhost ([127.0.0.1]:50259 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qACgL-0006Zu-38
	for submit <at> debbugs.gnu.org; Fri, 16 Jun 2023 12:52:17 -0400
Received: from lists.gnu.org ([209.51.188.17]:53148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yusufcikisir@HIDDEN>) id 1qACgJ-0006Zm-6Q
 for submit <at> debbugs.gnu.org; Fri, 16 Jun 2023 12:52:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yusufcikisir@HIDDEN>)
 id 1qACgI-00047W-TR
 for bug-guix@HIDDEN; Fri, 16 Jun 2023 12:52:14 -0400
Received: from spam-gw3.iyte.edu.tr ([193.140.248.213])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yusufcikisir@HIDDEN>)
 id 1qACgG-0006fl-On
 for bug-guix@HIDDEN; Fri, 16 Jun 2023 12:52:14 -0400
Received: from spam-gw.iyte.edu.tr (localhost [127.0.0.1])
 by spam-gw.iyte.edu.tr (Postfix) with ESMTP id 8F3FF9A4D5F
 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 19:56:52 +0300 (+03)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=std.iyte.edu.tr;
 s=rsa; t=1686934612;
 bh=+UqIZenJhGWZZUqHKeObXHU5ebCnMf44HVBoqHWPEoc=;
 h=From:To:Subject:Date;
 b=MJO4S1dpndtIfegWdfAP3LEdlZJ1iRMmW4tb0zG/TcVfhhmXHWwBh8/jJd9qTcMcN
 wcQiN9Tch9HENEjjS6sS1K64RjQ0PD1n8Ljxd7OVkoHkGjpD8R+qQ/vkLFTfvyFPXA
 jJ1GmGc7yhA6TU1BSCfyEhqq0dmRS6Op2EJwgdws=
Received: from localhost (localhost [127.0.0.1])
 by spam-gw.iyte.edu.tr (Postfix) with ESMTP id 8A11C9A4D52
 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 19:56:52 +0300 (+03)
X-Virus-Scanned: by SpamTitan at iyte.edu.tr
Received: from spam-gw.iyte.edu.tr (localhost [127.0.0.1])
 by spam-gw.iyte.edu.tr (Postfix) with ESMTP id 3D5C09A4D35
 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 19:56:52 +0300 (+03)
Authentication-Results: spam-gw.iyte.edu.tr;
        x-trusted-ip=pass
Received: from mail.iyte.edu.tr (mail.iyte.edu.tr [193.140.248.4])
 by spam-gw.iyte.edu.tr (Postfix) with ESMTPS id 340B79A4D1A
 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 19:56:52 +0300 (+03)
Received: from localhost (localhost [127.0.0.1])
 by mail.iyte.edu.tr (Postfix) with ESMTP id 2192460239F1
 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 19:52:01 +0300 (+03)
Received: from mail.iyte.edu.tr ([127.0.0.1])
 by localhost (mail.iyte.edu.tr [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 5ZnzSBgZFuxk for <bug-guix@HIDDEN>;
 Fri, 16 Jun 2023 19:52:01 +0300 (+03)
Received: from mail.iyte.edu.tr (localhost [127.0.0.1])
 by mail.iyte.edu.tr (Postfix) with ESMTPS id 0330B6023A0F
 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 19:52:01 +0300 (+03)
Received: from baykus.std.iyte.edu.tr (unknown [78.175.131.114])
 by mail.iyte.edu.tr (Postfix) with ESMTPSA id D8B2A60239F1
 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 19:52:00 +0300 (+03)
From: "ytc" <yusufcikisir@HIDDEN>
To: bug-guix@HIDDEN
Subject: greetd-wlgreet-session doesn't source .bash_profile
Date: Fri, 16 Jun 2023 19:51:59 +0300
Message-ID: <87bkhfwdsg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=193.140.248.213;
 envelope-from=yusufcikisir@HIDDEN; helo=spam-gw3.iyte.edu.tr
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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: -2.4 (--)

Hello everyone.

I've noticed that when I started a Wayland session with a
greetd-terminal whose default-session-command is
greetd-wlgreet-sway-session or greetd-wlgreet-session, enviromental
variables set in .bash_profile doesn't seem to be set.

I don't know if this is a bug or feature but it doesn't seem right to
me.  I would be glad if you handle it.

Thanks in advance.




Acknowledgement sent to "ytc" <yusufcikisir@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#64112; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 17 Jun 2023 16:00:02 UTC

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