public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Martin Osvald <mosvald@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/setup] update_services: Add several IANA-registered ports that were missing from /etc/services (rhbz#2460484)
Date: Mon, 22 Jun 2026 15:56:35 GMT	[thread overview]
Message-ID: <178214379542.1.4016640121482400171.rpms-setup-af360040c3a7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/setup
            Branch : update_services
            Commit : af360040c3a77c189281d5877d713023d546acc6
            Author : Martin Osvald <mosvald@redhat.com>
            Date   : 2026-06-22T17:54:08+02:00
            Stats  : +11/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/setup/c/af360040c3a77c189281d5877d713023d546acc6?branch=update_services

            Log:
            Add several IANA-registered ports that were missing from /etc/services (rhbz#2460484)

- tarantool 3301/tcp+udp  - Tarantool in-memory computing platform
- roughtime 5319/tcp+udp  - Roughtime time synchronization (RFC 8915)
- matter 5540/tcp+udp     - Matter smart home protocol
- rms-agent 5994/tcp      - RMS Agent Listening Service
- pgbackrest 8432/tcp     - PostgreSQL Backup
- matrix-fed 8448/tcp     - Matrix Federation Protocol
- ollama 11434/tcp        - Ollama local LLM server

Fix generate-services.py crashing with TypeError when an IANA XML record
has a <name> element with no text content. The None check on the element
itself was not sufficient - name.text also needs to be checked before
passing it to re.match().

---
diff --git a/generate-services.py b/generate-services.py
index 3cf8700..baa1428 100644
--- a/generate-services.py
+++ b/generate-services.py
@@ -19,7 +19,7 @@ print("# service-name  port/protocol  [aliases ...]   [# comment]")
 for record in tree.getroot().findall("iana:record", ns):
 
     name = record.find("iana:name", ns)
-    if name is None or not re.match(r"[A-Za-z0-9-]+$", name.text):
+    if name is None or not name.text or not re.match(r"[A-Za-z0-9-]+$", name.text):
         continue
 
     protocol = record.find("iana:protocol", ns)

diff --git a/services b/services
index 50ad944..bc2ed43 100644
--- a/services
+++ b/services
@@ -6161,6 +6161,8 @@ deskview        3298/tcp                # DeskView
 deskview        3298/udp                # DeskView
 pdrncs          3299/tcp                # pdrncs
 pdrncs          3299/udp                # pdrncs
+tarantool       3301/tcp                # Tarantool in-memory computing platform
+tarantool       3301/udp                # Tarantool in-memory computing platform
 mcs-fastmail    3302/tcp                # MCS Fastmail
 mcs-fastmail    3302/udp                # MCS Fastmail
 opsession-clnt  3303/tcp                # OP Session Client
@@ -8729,6 +8731,8 @@ hacl-poll       5315/udp                # HA Cluster UDP Polling
 hpbladems       5316/tcp                # HPBladeSystem Monitor Service
 hpdevms         5317/tcp                # HP Device Monitor Service
 pkix-cmc        5318/tcp                # PKIX Certificate
+roughtime       5319/tcp                # Roughtime time synchronization
+roughtime       5319/udp                # Roughtime time synchronization
 bsfserver-zn    5320/tcp                # Webservices-based Zn interface of BSF
 bsfsvr-zn-ssl   5321/tcp                # Webservices-based Zn interface of BSF over SSL
 kfserver        5343/tcp                # Sculptor Database Server
@@ -8884,6 +8888,8 @@ checkoutdb      5505/udp                # Checkout Database
 amc             5506/tcp                # Amcom Mobile Connect
 amc             5506/udp                # Amcom Mobile Connect
 psl-management  5507/tcp                # PowerSysLab Electrical
+matter          5540/tcp                # Matter Operational Discovery and Communication Protocol
+matter          5540/udp                # Matter Operational Discovery and Communication Protocol
 sgi-eventmond   5553/tcp                # SGI Eventmond Port
 sgi-eventmond   5553/udp                # SGI Eventmond Port
 sgi-esphttp     5554/tcp                # SGI ESP HTTP
@@ -9133,6 +9139,7 @@ nuxsl           5991/udp                # NUXSL
 consul-insight  5992/tcp                # Consul InSight Security
 consul-insight  5992/udp                # Consul InSight Security
 cim-rs          5993/tcp                # DMTF WBEM CIM REST
+rms-agent       5994/tcp                # RMS Agent Listening Service
 ndl-ahp-svc     6064/tcp                # NDL-AHP-SVC
 ndl-ahp-svc     6064/udp                # NDL-AHP-SVC
 winpharaoh      6065/tcp                # WinPharaoh
@@ -10118,6 +10125,7 @@ espeech         8416/tcp                # eSpeech Session Protocol
 espeech         8416/udp                # eSpeech Session Protocol
 espeech-rtp     8417/tcp                # eSpeech RTP Protocol
 espeech-rtp     8417/udp                # eSpeech RTP Protocol
+pgbackrest      8432/tcp                # PostgreSQL Backup
 cybro-a-bus     8442/tcp                # CyBro A-bus Protocol
 cybro-a-bus     8442/udp                # CyBro A-bus Protocol
 pcsync-https    8443/tcp                # PCsync HTTPS
@@ -10126,6 +10134,7 @@ pcsync-http     8444/tcp                # PCsync HTTP
 pcsync-http     8444/udp                # PCsync HTTP
 copy            8445/tcp                # Port for copy per sync feature
 copy-disc       8445/udp                # Port for copy discovery
+matrix-fed      8448/tcp                # Matrix Federation Protocol
 npmp            8450/tcp                # npmp
 npmp            8450/udp                # npmp
 nexentamv       8457/tcp                # Nexenta Management GUI
@@ -10723,6 +10732,7 @@ arena-server    11321/udp               # Arena Server Listen
 atm-uhas        11367/tcp               # ATM UHAS
 atm-uhas        11367/udp               # ATM UHAS
 lsdp            11430/udp               # Lenbrook Service Discovery Protocol
+ollama          11434/tcp
 tempest-port    11600/tcp               # Tempest Protocol Port
 tempest-port    11600/udp               # Tempest Protocol Port
 emc-xsw-dconfig 11623/tcp               # EMC XtremSW distributed config

                 reply	other threads:[~2026-06-22 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178214379542.1.4016640121482400171.rpms-setup-af360040c3a7@fedoraproject.org \
    --to=mosvald@redhat.com \
    --cc=git-commits@fedoraproject.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox