Otherwise the getent(1) checks will print out the default http, https, and ftp ports, making it seem like something is being spawned that is listening on those ports, which is not the case.
guix: Silence `getent(1)` invocation, doc fixups #22511
pull dongcarl wants to merge 2 commits into bitcoin:master from dongcarl:2021-07-guix-silence-getent changing 2 files +8 −20-
dongcarl commented at 11:49 PM on July 20, 2021: member
-
guix: Silence getent(1) invocation 3c4d2c418e
-
in contrib/guix/guix-build:193 in 3c4d2c418e outdated
189 | @@ -190,7 +190,7 @@ fi 190 | # Services database must have basic entries 191 | ################ 192 | 193 | -if ! getent services http https ftp; then 194 | +if ! getent services http https ftp > /dev/null 2>&1; then
LarryRuane commented at 12:09 AM on July 21, 2021:utACK 3c4d2c418e62d421a8bd7640ef5384251c892406
if ! getent services http https ftp &>/dev/null; thenLarryRuane approvedfanquake added the label Build system on Jul 21, 2021fanquake added the label Needs backport (0.22) on Jul 21, 2021laanwj commented at 9:35 AM on July 21, 2021: memberACK 3c4d2c418e62d421a8bd7640ef5384251c892406 thanks for addressing this
theStack approvedtheStack commented at 1:04 PM on July 21, 2021: memberACK 3c4d2c418e62d421a8bd7640ef5384251c892406
Didn't run the script but verified the behaviour in the shell:
$ getent services http https ftp; echo $? http 80/tcp www https 443/tcp ftp 21/tcp 0 $ getent services http https ftp unknown-service; echo $? http 80/tcp www https 443/tcp ftp 21/tcp 2PR branch:
$ getent services http https ftp > /dev/null 2>&1; echo $? 0 $ getent services http https ftp unknown-service > /dev/null 2>&1; echo $? 2LarryRuane commented at 4:11 AM on July 22, 2021: contributorutACK f0e00d0173087b29e0a1045a4073a292c55bd954 As long as you're changing
INSTALL.md, if you retouch (I'll reack right away), there are a couple other typos:- s/has a known problems/has known problems/
- s/erratas/errata/
MarcoFalke added this to the milestone 22.0 on Jul 22, 2021sipa commented at 5:54 PM on July 22, 2021: memberutACK f0e00d0173087b29e0a1045a4073a292c55bd954. The current output is rather confusing.
guix/INSTALL: Misc fixups a884a1edcddongcarl force-pushed on Jul 22, 2021dongcarl renamed this:guix: Silence `getent(1)` invocation
guix: Silence `getent(1)` invocation, doc fixups
on Jul 23, 2021fanquake approvedfanquake commented at 1:07 AM on July 23, 2021: memberACK a884a1edcd1b795799f1be65df17462041741dc3
fanquake merged this on Jul 23, 2021fanquake closed this on Jul 23, 2021fanquake referenced this in commit 45e0f3d608 on Jul 23, 2021fanquake referenced this in commit 9e52a30ebd on Jul 23, 2021MarcoFalke commented at 6:02 AM on July 23, 2021: memberBackported in #22534
MarcoFalke removed the label Needs backport (22.x) on Jul 23, 2021sidhujag referenced this in commit 0c84e5618d on Jul 23, 2021laanwj referenced this in commit 04222235a4 on Aug 2, 2021DrahtBot locked this on Aug 18, 2022LabelsMilestone
22.0
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 03:14 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 03:14 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me