From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WOPkDGQHRmRDHwEASxT56A (envelope-from ) for ; Mon, 24 Apr 2023 06:36:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yMvXDGQHRmQrnwAA9RJhRA (envelope-from ) for ; Mon, 24 Apr 2023 06:36:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C29F6ADF7 for ; Mon, 24 Apr 2023 06:36:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqnWw-00077y-JA; Mon, 24 Apr 2023 00:10:22 -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 ) id 1pl1Mp-0000uj-1J for bug-guix@gnu.org; Sat, 08 Apr 2023 01:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pl1Mo-0003V8-He for bug-guix@gnu.org; Sat, 08 Apr 2023 01:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pl1Mo-0005M8-1A for bug-guix@gnu.org; Sat, 08 Apr 2023 01:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62698: bind:utils Resent-From: =?UTF-8?Q?=CE=91=CE=BD=CF=84=CF=8E=CE=BD=CE=B9=CE=BF=CF=82_?= =?UTF-8?Q?=CE=A4=CF=83=CF=8E=CE=BB=CE=B7=CF=82?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 08 Apr 2023 05:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62698 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brian Cully Cc: 62698@debbugs.gnu.org Received: via spool by 62698-submit@debbugs.gnu.org id=B62698.168093260520486 (code B ref 62698); Sat, 08 Apr 2023 05:44:01 +0000 Received: (at 62698) by debbugs.gnu.org; 8 Apr 2023 05:43:25 +0000 Received: from localhost ([127.0.0.1]:57548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl1MC-0005KJ-Bt for submit@debbugs.gnu.org; Sat, 08 Apr 2023 01:43:24 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:39724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl1M9-0005Ju-IV for 62698@debbugs.gnu.org; Sat, 08 Apr 2023 01:43:22 -0400 Received: by mail-wm1-f51.google.com with SMTP id l26-20020a05600c1d1a00b003edd24054e0so1744194wms.4 for <62698@debbugs.gnu.org>; Fri, 07 Apr 2023 22:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680932596; x=1683524596; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mSL3g+ZixvpRqPIA7kCJ/oH6gEI27ZcQqlnk4opvV+Q=; b=QP/NPvxelXIWlOHX5kNeDLdYpxJH2Gl5FH47APpHN4vAHlt7mfdR5iogc1KYzywDIJ TjMkEfJzjB+YzzlcJIoTg9rGr21ko4Vh+CV4u7Jw8CtEaVnqHHThAa83ICszlmZB3U7D N8h8Qp45vj2DItTwIGjzRdjLT19+bZu1G9Vvmth77TqfR4U9lFDH18OIQrSO2mJmV3KC tY5IUHzEYbLrfC5xTZ801ijkitnkTzjSOOqqQDnnWrgU+3IjsanFXUqIG+JLY5n5zhZj pXFeDNLLVniJMaElvR6GdM8B+kf7IyE6lUwgZ2cGpXil3jtu59CdK7kT1gM66wVWPXOp TTkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680932596; x=1683524596; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mSL3g+ZixvpRqPIA7kCJ/oH6gEI27ZcQqlnk4opvV+Q=; b=hqoxLZcVLXFjeyaJ5R/PimKEOeSfEkG6u0YD0byMtUYVDSNSMJTjxzGluSh2Rb5pIS 3NksQ/6ENKRrfEb6Q0ZnCNLWS1MIhacWwfa1vmidaGG13vfNnKB1oMobc+BR/HTsHAVV AWxTbk6eabUPcw3X+lEWgKJdHStCBCDN8zEi4YuRkglw3izMCxokARS4gYifq/+Isvoa XqqMBkOL7sMaA7xN7GASmyYyKR9BsxSJmTExdgI5V/wgGYwqVai0vpxY5u3djpoHcro5 xZgMdJjt/QtA5ln3+ILtQw8yGPuqafdWBAoBfZRvn8pQwsVgsiWdao47hbzPOSXvMy1q Rkuw== X-Gm-Message-State: AAQBX9cl4kwVDugj8KfZDb5XHpp+yb8Yxh3fL37cI5gHPgu5w28HBOIg q6N5s2fUgmgN0rwamqAYhiPb1JtlVZMCsAK7AG2T4qZdO+GM X-Google-Smtp-Source: AKy350YJBrVHXpYsM9uTxALcX1BT9Ig2IVw9353vJKQA80OVAbmOGQ3vlShNOLs70jcal7shI3DC9lrxjzUQgMqmh/k= X-Received: by 2002:a05:600c:46d4:b0:3f0:34c5:7350 with SMTP id q20-20020a05600c46d400b003f034c57350mr1342014wmo.4.1680932595573; Fri, 07 Apr 2023 22:43:15 -0700 (PDT) MIME-Version: 1.0 References: <87a5zkyigh.fsf@psyduck.jhoto.kublai.com> <87cz4f49ee.fsf@psyduck.jhoto.kublai.com> In-Reply-To: <87cz4f49ee.fsf@psyduck.jhoto.kublai.com> From: =?UTF-8?Q?=CE=91=CE=BD=CF=84=CF=8E=CE=BD=CE=B9=CE=BF=CF=82_?= =?UTF-8?Q?=CE=A4=CF=83=CF=8E=CE=BB=CE=B7=CF=82?= Date: Sat, 8 Apr 2023 08:43:03 +0300 Message-ID: Content-Type: multipart/alternative; boundary="0000000000004027fc05f8cc9ee1" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 24 Apr 2023 00:09:23 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682311011; a=rsa-sha256; cv=none; b=YfEV9/LhEhkoNAkmzdbLM6kcX2I4YdyB++9UtcZ8dLadLpdaOp7fkBoV/VT6uT/5c7lGSA 58xdCd7fWqRqu4g8grFuca5r/H2TYAc+eWsIk6RBa8y+cBDeMGx7S9xWvjOvxuTV0EdRQg uhy7Hde1nFjwpHcsJXAJivkWB29Pic1NgQV8EYaWWQfpeQikIumx9HAkZ5j/sPAOsbc11q 9fsJqn4Jyv+hvYetN5FVDOxYjjn7RXhMRe1OJ8uJN/MBdxKg4io9jH4sLbUt6OzhGPpuew 9esnmTZgtFsKKojWuMZzQY/HfXlEPA/CCUwSftb8X3bEeTxMPtSERIOs4FvGRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="QP/NPvxe"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682311011; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=mSL3g+ZixvpRqPIA7kCJ/oH6gEI27ZcQqlnk4opvV+Q=; b=mFQP1shJPCDly5YoC9ItmdqjZiivNMX2u8ChG1CVz/LGj4UT2S9JroM1l1YL0z/gAOdybs WXGtjEkbQ3Nmo+eWH3EUmdQRplDOXxLDqDmOXU5fzx4vKeoi9oBFL6/ByuD4ETK8gi+hoz PZGH0Y058DUrS2DKHHg4zdxEvCt/MhriiNAHFy7QEwVQg3xUzE1lPKT2jEJcxsY4ktqTom m5MZdpzkI3KevlnwwhZzjlogOEltN87LlzedySCsW9WMFyLjjT+h13AcQsDO0FY32AU2vA jQ6ur+ZxaD/8eQ6GdsLCHifBRBS9IsWgOhk87NAtCqAMBsF8my78OGVow6dp5w== X-Migadu-Spam-Score: -2.21 X-Spam-Score: -2.21 X-Migadu-Queue-Id: C29F6ADF7 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="QP/NPvxe"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: OLRScUGzlDaH --0000000000004027fc05f8cc9ee1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Well, I use this: (packages (append (map specification->package+output '("bind:utils" ... )) %base-packages)) But I am new to scheme/guile/guix, so maybe I do something wrong. Anyway, thanks for confirming that it works on your side. It's probably an issue with my configuration. :) On Sat, 8 Apr 2023 at 01:26, Brian Cully wrote: > With the config below, I have =E2=80=98host=E2=80=99, =E2=80=98dig=E2=80= =99, and =E2=80=98nslookup=E2=80=99 in my > path. Note that I'm using the =E2=80=98(compose list > specification->package+output)=E2=80=99 form, though. If you're not using= that, > you may be accidentally loading the =E2=80=98bind=E2=80=99 package with t= he default > =E2=80=98out=E2=80=99 output, instead of the =E2=80=98utils=E2=80=99 one.= If that's the case, then > you're not going to have the utils in your PATH because they haven't > been installed. > > --8<---------------cut here---------------start------------->8--- > ;; Testing whether =E2=80=98bind:utils=E2=80=99 gets installed in the pat= h (see: #62698) > > (use-modules (gnu) > (gnu system setuid)) > (use-package-modules networking) > > (operating-system > (locale "en_US.utf8") > (timezone "America/New_York") > (keyboard-layout (keyboard-layout "us")) > (host-name "wireshark-test") > > (users (cons* (user-account > (name "test") > (group "users") > (password (crypt "test" "$6$test"))) > %base-user-accounts)) > (packages > (cons* > ((compose list specification->package+output) "bind:utils") > %base-packages)) > > (bootloader > (bootloader-configuration > (bootloader grub-efi-bootloader) > (targets '("/boot/efi")) > (keyboard-layout keyboard-layout))) > > (file-systems > (cons* (file-system > (mount-point "/") > (device > (uuid "14f4e958-be9e-41bb-bd25-e90a7330093c" > 'btrfs)) > (type "btrfs")) > (file-system > (mount-point "/boot/efi") > (device (uuid "6866-56B1" 'fat32)) > (type "vfat")) > %base-file-systems))) > --8<---------------cut here---------------end--------------->8--- > > Running with =E2=80=98sh -c $(guix system vm --no-graphic > bind-utils-config.scm)=E2=80=99: > > --8<---------------cut here---------------start------------->8--- > GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main > thread > GC Warning: Couldn't read /proc/stat > Welcome, this is GNU's early boot Guile. > Use 'gnu.repl' for an initrd REPL. > > loading kernel modules... > loading '/gnu/store/z0w00ijl944lzc263gzaw17wmlg7k08f-system/boot'... > making '/gnu/store/z0w00ijl944lzc263gzaw17wmlg7k08f-system' the current > system... > setting up setuid programs in '/run/setuid-programs'... > populating /etc from /gnu/store/rs296i8fpqx2gvy8w0za9wyd1spgmy2k-etc... > Please wait while gathering entropy to generate the key pair; > this may take time... > [ 2.966863] udevd[75]: no sender credentials received, message ignored > [ 3.306595] Error: Driver 'pcspkr' is already registered, aborting... > nscd: 99 monitoring file `/etc/hosts` (1) > nscd: 99 monitoring directory `/etc` (2) > nscd: 99 monitoring file `/etc/resolv.conf` (3) > nscd: 99 monitoring directory `/etc` (2) > nscd: 99 monitoring file `/etc/services` (4) > nscd: 99 monitoring directory `/etc` (2) > nscd: 99 monitoring file `/etc/nsswitch.conf` (5) > nscd: 99 monitoring directory `/etc` (2) > nscd: 99 monitoring file `/etc/nsswitch.conf` (5) > nscd: 99 monitoring directory `/etc` (2) > > > This is the GNU system. Welcome. > wireshark-test login: test > Password: > This is the GNU operating system, welcome! > > test@wireshark-test ~$ which host > /run/current-system/profile/bin/host > test@wireshark-test ~$ which dig > /run/current-system/profile/bin/dig > test@wireshark-test ~$ which nslookup > /run/current-system/profile/bin/nslookup > --8<---------------cut here---------------end--------------->8--- > --0000000000004027fc05f8cc9ee1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Well, I use this:

=C2=A0= (packages
=C2=A0 =C2=A0 =C2=A0(append
=C2=A0 =C2=A0 =C2=A0 =C2=A0(m= ap specification->package+output
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &= #39;("bind:utils" ... ))
=C2=A0 =C2=A0 =C2=A0%base-packages))<= /div>

But I am new to scheme/guile/guix, so maybe I do s= omething wrong. Anyway, thanks for confirming that it works on your side. I= t's probably an issue with my configuration. :)

On = Sat, 8 Apr 2023 at 01:26, Brian Cully <= bjc@spork.org> wrote:
With the config below, I have =E2=80=98host=E2=80=99, =E2=80= =98dig=E2=80=99, and =E2=80=98nslookup=E2=80=99 in my
path. Note that I'm using the =E2=80=98(compose list
specification->package+output)=E2=80=99 form, though. If you're not = using that,
you may be accidentally loading the =E2=80=98bind=E2=80=99 package with the= default
=E2=80=98out=E2=80=99 output, instead of the =E2=80=98utils=E2=80=99 one. I= f that's the case, then
you're not going to have the utils in your PATH because they haven'= t
been installed.

--8<---------------cut here---------------start------------->8---
;; Testing whether =E2=80=98bind:utils=E2=80=99 gets installed in the path = (see: #62698)

(use-modules (gnu)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(gnu system setuid))
(use-package-modules networking)

(operating-system
=C2=A0 (locale "en_US.utf8")
=C2=A0 (timezone "America/New_York")
=C2=A0 (keyboard-layout (keyboard-layout "us"))
=C2=A0 (host-name "wireshark-test")

=C2=A0 (users (cons* (user-account
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(name "t= est")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(group "= users")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(password (cr= ypt "test" "$6$test")))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %base-user-accounts= ))
=C2=A0 (packages
=C2=A0 =C2=A0(cons*
=C2=A0 =C2=A0 ((compose list specification->package+output) "bind:u= tils")
=C2=A0 =C2=A0 %base-packages))

=C2=A0 (bootloader
=C2=A0 =C2=A0(bootloader-configuration
=C2=A0 =C2=A0 (bootloader grub-efi-bootloader)
=C2=A0 =C2=A0 (targets '("/boot/efi"))
=C2=A0 =C2=A0 (keyboard-layout keyboard-layout)))

=C2=A0 (file-systems
=C2=A0 =C2=A0(cons* (file-system
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (mount-point "/")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (device
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(uuid "14f4e958-be9e-4= 1bb-bd25-e90a7330093c"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'b= trfs))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (type "btrfs"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (file-system
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (mount-point "/boot/efi"= ;)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (device (uuid "6866-56B1&quo= t; 'fat32))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (type "vfat"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %base-file-systems)))
--8<---------------cut here---------------end--------------->8---

Running with =E2=80=98sh -c $(guix system vm --no-graphic
bind-utils-config.scm)=E2=80=99:

--8<---------------cut here---------------start------------->8---
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thr= ead
GC Warning: Couldn't read /proc/stat
Welcome, this is GNU's early boot Guile.
Use 'gnu.repl' for an initrd REPL.

loading kernel modules...
loading '/gnu/store/z0w00ijl944lzc263gzaw17wmlg7k08f-system/boot'..= .
making '/gnu/store/z0w00ijl944lzc263gzaw17wmlg7k08f-system' the cur= rent system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/rs296i8fpqx2gvy8w0za9wyd1spgmy2k-etc...
Please wait while gathering entropy to generate the key pair;
this may take time...
[=C2=A0 =C2=A0 2.966863] udevd[75]: no sender credentials received, message= ignored
[=C2=A0 =C2=A0 3.306595] Error: Driver 'pcspkr' is already register= ed, aborting...
nscd: 99 monitoring file `/etc/hosts` (1)
nscd: 99 monitoring directory `/etc` (2)
nscd: 99 monitoring file `/etc/resolv.conf` (3)
nscd: 99 monitoring directory `/etc` (2)
nscd: 99 monitoring file `/etc/services` (4)
nscd: 99 monitoring directory `/etc` (2)
nscd: 99 monitoring file `/etc/nsswitch.conf` (5)
nscd: 99 monitoring directory `/etc` (2)
nscd: 99 monitoring file `/etc/nsswitch.conf` (5)
nscd: 99 monitoring directory `/etc` (2)


This is the GNU system.=C2=A0 Welcome.
wireshark-test login: test
Password:
This is the GNU operating system, welcome!

test@wireshark-test ~$ which host
/run/current-system/profile/bin/host
test@wireshark-test ~$ which dig
/run/current-system/profile/bin/dig
test@wireshark-test ~$ which nslookup
/run/current-system/profile/bin/nslookup
--8<---------------cut here---------------end--------------->8---
--0000000000004027fc05f8cc9ee1--