pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/59867: gnats: install message missing /etc/services+services_mkdb setup
>Number: 59867
>Category: pkg
>Synopsis: gnats: install message missing /etc/services+services_mkdb setup
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 28 09:10:00 +0000 2025
>Originator: Henryk Paluch
>Release: 11_BETA, repo: https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/11.0/All on 2025-12-28
>Organization:
N/A
>Environment:
NetBSD nbsd11-gnats.example.com 11.0_BETA NetBSD 11.0_BETA (GENERIC) #0: Tue Dec 23 18:48:38 UTC 2025 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Current install message is missing step to add "support" service and rebuild service database with services_mkdb (this took me some time to find out).
Without such setup inetd(8) will fail to server GNAT's service 'support' on 1529/tcp port.
>How-To-Repeat:
On fresh system install pkgin (if not already installed):
which pkgin || \
PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All" pkg_add pkgin
Install gnats and watch message:
pkgin install gnats
==== Message
$NetBSD: MESSAGE,v 1.7 2005/08/27 22:24:02 recht Exp $
See http://www.gnu.org/software/gnats/ for the official web page
and don't forget to run /usr/pkg/libexec/gnats/mkdb default
as user gnats to create the default database.
Add the following line to /etc/inetd.conf to activate GNATS:
support stream tcp nowait gnats /usr/pkg/libexec/gnats/gnatsd gnatsd
Add something like this into the crontab to process incoming bug reports:
*/5 * * * * /usr/pkg/libexec/gnats/queue-pr -r
To accept PRs by mail you'll need some new mail aliases too, e.g.
gnats-admin: postmaster
bugs: "| /usr/pkg/libexec/gnats/queue-pr -q"
query-pr: "| /usr/pkg/libexec/gnats/mail-query"
====
Follow message and add to /etc/inetd.conf:
# gnats
support stream tcp nowait gnats /usr/pkg/libexec/gnats/gnatsd gnatsd
Restart inetd with:
/etc/rc.d/inetd restart
/var/log/messages will contain error:
inetd[10072]: support/tcp: unknown service
>Fix:
I suggest to add to MESSAGE:
===
Add to /etc/services:
support 1529/tcp # GNATS
Run services_mkdb to rebuild services database.
===
Home |
Main Index |
Thread Index |
Old Index