GNU bug report logs - #70125
`guix home import` doesn't quote aliases properly

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: Attila Lendvai <attila@HIDDEN>; dated Mon, 1 Apr 2024 11:19:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 70125) by debbugs.gnu.org; 28 Sep 2024 18:49:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 28 14:49:12 2024
Received: from localhost ([127.0.0.1]:38669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sucVE-0003Ho-57
	for submit <at> debbugs.gnu.org; Sat, 28 Sep 2024 14:49:12 -0400
Received: from mail-ed1-f45.google.com ([209.85.208.45]:59817)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <attila.lendvai@HIDDEN>) id 1sucVC-0003H2-0G
 for 70125 <at> debbugs.gnu.org; Sat, 28 Sep 2024 14:49:10 -0400
Received: by mail-ed1-f45.google.com with SMTP id
 4fb4d7f45d1cf-5c718bb04a3so4035388a12.3
 for <70125 <at> debbugs.gnu.org>; Sat, 28 Sep 2024 11:48:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1727549254; x=1728154054; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=LF1uN5oK2I5zWWaG40LHRLsd7etMB6dSRsHJ6A5P6vI=;
 b=C+kmsOnJFGBPan4qE1ZfIAGYwWhoeqT1mwzSZ7OzSCjMDtioHFoO23xPZ9r8X1hsdm
 9Fw6jqFBvzJyJta67mxJtd9GjOKjcZ708PG+OMzhsgOctSf0H3qrxxv5V4wukq+J689/
 qf3xYnjIruVZbIqAxYPrrTOc6JdFAcQ2kue9aLAbbcbWUxweP8gAq2DjUhYYmr/q0s4M
 yJCaVLYZ+mjLjiwbqUyLDJVgoz2A3aTs/WvXnTqQlGK50WNiyzsaqqhl0fSJvI40X3JL
 XV1YuLEphOIX2PZhXfPG0VXtaLQKVD3M6JUbBaFvVpVK56zBD/wMHwTayUAg8HzIhHjn
 JGFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1727549254; x=1728154054;
 h=content-transfer-encoding:mime-version:message-id:date:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=LF1uN5oK2I5zWWaG40LHRLsd7etMB6dSRsHJ6A5P6vI=;
 b=R93l4HpDbZQp2oFWpnhqP8CqqR6PZGK1fypTrKHqoDfOMfMZg97QHQ4KUvpr04R+La
 PAcdcgoweBPEwHJd9NmTwvLcvnmotWwHh0RPjEHj8hBxXbpWju8O8SUf4DmCl/VFllZd
 1pBWSGQBGKiVpAfIMy+AnylrOwlJ/F6cTy4OF3d1LblhdtGrHM8eIuipoGyI7nJELX7Z
 In+VQImL7wdSzCVf6FRMR9tAS7eQtU+WVBNT7K6S775A3OPwvpGeZ82vrLtA61jIZ8po
 fT3ojrCVI06Mc5YpoiKf2TplcOxSLW2A0M1uAD55qqR3xRiwknhjMg1onAHxuW+A1Sxt
 ASaA==
X-Gm-Message-State: AOJu0Ywnn9KPNfkZWDNUejxle2a46mZjPQSzNFRV+Wh3YxadhFW2ZzCV
 EKfvDV5YWR9tux0TsNYkOrNB6zq5srdqIvPyDKrjoj5PnlT1fP1hPeXzwA==
X-Google-Smtp-Source: AGHT+IHweFu4exZ1GOehtPJ9SHATX1bGSUcX8mMg36TPnleSygu+tIZIINefgGnIH+cSu4aoqxiUDw==
X-Received: by 2002:a17:907:ea4:b0:a90:c411:24fd with SMTP id
 a640c23a62f3a-a93c48e8c04mr776526966b.10.1727549253588; 
 Sat, 28 Sep 2024 11:47:33 -0700 (PDT)
Received: from lelap (2a00-1f40-b161-3580--477.pool6.panelnet.hu.
 [2a00:1f40:b161:3580::477]) by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a93cd7a3609sm216874966b.211.2024.09.28.11.47.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 28 Sep 2024 11:47:33 -0700 (PDT)
From: Attila Lendvai <attila.lendvai@HIDDEN>
X-Google-Original-From: Attila Lendvai <attila@HIDDEN>
To: 70125 <at> debbugs.gnu.org
Subject: Re: `guix home import` doesn't quote aliases properly
In-reply-to: <-fjyp6sHcs3Atk40lT6VlGjwyMWyNgtXQZ-LiDh04-ZXqAmUmME1Dbf8z215BPKe3SBFRZsLKfIpLofDLqsdrOs2Ru-Ud5kTn78TZR46ltI=@lendvai.name>
Date: Sat, 28 Sep 2024 20:47:23 +0200
Message-ID: <87setj39ac.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 70125
Cc: Attila Lendvai <attila@HIDDEN>
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 (-)


> as reported on #guix on 2024-04-01:
>=20
> https://logs.guix.gnu.org/guix/2024-04-01.log#121908

copying for reference from the paste:

(home-bash-configuration
  (aliases '(("alert" . "notify-send --urgency=3Dlow -i \"$([ $? =3D 0 ] &&=
 echo terminal || echo error)\" \"$(history|tail -n1|sed -e '\\''s/^\\s*[0-=
9]\\+\\s*//;s/[;&|]\\s*alert$//'\\'')\"")
             )))

<#secure method=3Dpgpmime mode=3Dsign>
--=20
--=20
=E2=80=A2 attila lendvai
=E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39
--
=E2=80=9CI do not think that it is possible to give any meaningful definiti=
on of anarchy by which it could exist but currently does not. Anarchists ar=
e not those who wish that there be anarchy, but those who reason along anar=
chist lines about what there currently is, what there was and what could th=
ere possibly be.=E2=80=9D
	=E2=80=94 Zsolt Felf=C3=B6ldi




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

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


Received: (at submit) by debbugs.gnu.org; 1 Apr 2024 11:18:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 01 07:18:34 2024
Received: from localhost ([127.0.0.1]:49724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rrFgQ-00076M-6t
	for submit <at> debbugs.gnu.org; Mon, 01 Apr 2024 07:18:34 -0400
Received: from lists.gnu.org ([2001:470:142::17]:56416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <attila@HIDDEN>) id 1rrFgL-000764-6k
 for submit <at> debbugs.gnu.org; Mon, 01 Apr 2024 07:18:33 -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 <attila@HIDDEN>)
 id 1rrFgC-0006QD-OW
 for bug-guix@HIDDEN; Mon, 01 Apr 2024 07:18:20 -0400
Received: from mail-4323.proton.ch ([185.70.43.23])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <attila@HIDDEN>)
 id 1rrFg9-0001C9-Sg
 for bug-guix@HIDDEN; Mon, 01 Apr 2024 07:18:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name;
 s=protonmail; t=1711970287; x=1712229487;
 bh=Ldrk5ladtUS6fGoTc/zyb6h425Wtvpiu0O+PFZgVW6o=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=HQMni8iU1cEBnZ5cdJl2JVZsnaqAGoweLN5SiNkZb5Gnly1I3g1S7vNcu9NxF34zl
 9MtmUMd/UyWet9bOsI1DK9f5Sy7aaur5LXR3tUx4eadnn3SQKAsbAImHydNY5mVX9c
 hDTbOrzyyotNo7PtPeDu2oucjwYbsaQCbv2GNTcMQILW/mx4hAXV9SnHE61HzP2tm0
 azlsCo9vAnWEwcK1AnNOqTcfV5U1aStAxJpifewS5ForLVEPjkXvSOyfYRQDy+DL+9
 ItMg/G3+KjdxlSBm2P8UJpa5PTBeaPRxkGqdS+Uye6SRm8BUMpFFbbxQMZ75PcFGt3
 dpnBORQT4HJNg==
Date: Mon, 01 Apr 2024 11:18:02 +0000
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
From: Attila Lendvai <attila@HIDDEN>
Subject: `guix home import` doesn't quote aliases properly
Message-ID: <-fjyp6sHcs3Atk40lT6VlGjwyMWyNgtXQZ-LiDh04-ZXqAmUmME1Dbf8z215BPKe3SBFRZsLKfIpLofDLqsdrOs2Ru-Ud5kTn78TZR46ltI=@lendvai.name>
Feedback-ID: 28384833:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@HIDDEN;
 helo=mail-4323.proton.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
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: -0.0 (/)

as reported on #guix on 2024-04-01:

https://logs.guix.gnu.org/guix/2024-04-01.log#121908

the following alias (a default in ubuntu) is not quoted properly:

notify-send --urgency=3Dlow -i "$([ $? =3D 0 ] && echo terminal || echo err=
or)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\=
'')"

which leads to an error when opening a new terminal after a `guix home reco=
nfigure`.

a discussion of this alias:

https://askubuntu.com/questions/423646/use-of-default-alias-alert

--=20
=E2=80=A2 attila lendvai
=E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39
--
=E2=80=9CWhat you do speaks so loud I cannot hear what you say.=E2=80=9D
=09=E2=80=94 Ralph Waldo Emerson (1803=E2=80=931882)





Acknowledgement sent to Attila Lendvai <attila@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#70125; 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: Sun, 12 Jan 2025 05:45:02 UTC

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