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: memberOtherwise the
-
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 0:09 am on July 21, 2021:utACK 3c4d2c418e62d421a8bd7640ef5384251c892406
0if ! getent services http https ftp &>/dev/null; then
LarryRuane 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 thistheStack approvedtheStack commented at 1:04 pm on July 21, 2021: memberACK 3c4d2c418e62d421a8bd7640ef5384251c892406
Didn’t run the script but verified the behaviour in the shell:
0$ getent services http https ftp; echo $? 1http 80/tcp www 2https 443/tcp 3ftp 21/tcp 40 5$ getent services http https ftp unknown-service; echo $? 6http 80/tcp www 7https 443/tcp 8ftp 21/tcp 92
PR branch:
0$ getent services http https ftp > /dev/null 2>&1; echo $? 10 2$ getent services http https ftp unknown-service > /dev/null 2>&1; echo $? 32
LarryRuane 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 a884a1edcd1b795799f1be65df17462041741dc3fanquake merged this on Jul 23, 2021fanquake closed this on Jul 23, 2021
fanquake 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 #22534MarcoFalke 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, 2022
dongcarl LarryRuane laanwj theStack fanquake jonatack sipa MarcoFalkeLabels
Build systemMilestone
22.0
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: 2024-12-19 03:12 UTC
More mirrored repositories can be found on mirror.b10c.me