From: "Αντώνιος Τσώλης" <tsolis.antonios@gmail.com>
To: Brian Cully <bjc@spork.org>
Cc: 62698@debbugs.gnu.org
Subject: bug#62698: bind:utils
Date: Sat, 8 Apr 2023 08:43:03 +0300 [thread overview]
Message-ID: <CAERAX=aeWnnQ2eJG_3_fQ7Qdg8nLmaMzFDPVBkim2D2djH51WQ@mail.gmail.com> (raw)
In-Reply-To: <87cz4f49ee.fsf@psyduck.jhoto.kublai.com>
[-- Attachment #1: Type: text/plain, Size: 4080 bytes --]
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 <bjc@spork.org> wrote:
> With the config below, I have ‘host’, ‘dig’, and ‘nslookup’ in my
> path. Note that I'm using the ‘(compose list
> specification->package+output)’ form, though. If you're not using that,
> you may be accidentally loading the ‘bind’ package with the default
> ‘out’ output, instead of the ‘utils’ 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 ‘bind:utils’ gets installed in the path (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 ‘sh -c $(guix system vm --no-graphic
> bind-utils-config.scm)’:
>
> --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---
>
[-- Attachment #2: Type: text/html, Size: 5061 bytes --]
next prev parent reply other threads:[~2023-04-24 4:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-06 11:43 bug#62698: bind:utils Αντώνιος Τσώλης
2023-04-06 18:27 ` Brian Cully via Bug reports for GNU Guix
2023-04-06 20:03 ` Αντώνιος Τσώλης
2023-04-07 22:25 ` Brian Cully via Bug reports for GNU Guix
2023-04-08 5:43 ` Αντώνιος Τσώλης [this message]
2023-04-08 15:12 ` Brian Cully via Bug reports for GNU Guix
2023-05-03 13:01 ` Maxim Cournoyer
2023-05-03 16:58 ` Brian Cully via Bug reports for GNU Guix
2023-05-04 12:43 ` Maxim Cournoyer
2023-04-07 13:26 ` Jonathan Brielmaier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAERAX=aeWnnQ2eJG_3_fQ7Qdg8nLmaMzFDPVBkim2D2djH51WQ@mail.gmail.com' \
--to=tsolis.antonios@gmail.com \
--cc=62698@debbugs.gnu.org \
--cc=bjc@spork.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.