Package: ircd-hybrid
Version: 1:8.2.38+dfsg.1-2
Severity: normal
X-Debbugs-Cc: sillys...@gmail.com

Dear Maintainer,

The config block "shared" in debian/irdc.conf differs from doc/reference.conf.
It has two extra options port and timeout. Both cause errors to be logged in
/var/log/ircd/ircd-hybrid.log

Also suggesting some other changes to unclutter the diff.

diff --git a/debian/ircd.conf b/debian/ircd.conf
index b9f3181..d741048 100644
--- a/debian/ircd.conf
+++ b/debian/ircd.conf
@@ -1,9 +1,9 @@
 /*
  * This is an example configuration file for ircd-hybrid
- *
+ *
  * Copyright (c) 1997-2021 ircd-hybrid development team
  *
- * $Id: reference.conf 2021-01-17 06:18:18Z michael $
+ * $Id: reference.conf 9897 2021-01-17 06:18:18Z michael $
  *
  * This version has been customized for Debian.
  */
@@ -102,9 +102,9 @@ serverinfo {
         *
         *    chown <ircd-user>.<ircd.group> rsa.key
         *    chmod 0600 rsa.key
-     *
-     * Note to Debian users: the postinst script created this
-     * for you.
+        *
+        * Note to Debian users: the postinst script created this
+        * for you.
         */
        rsa_private_key_file = "/etc/ircd-hybrid/key/ircd.key";

@@ -130,7 +130,7 @@ serverinfo {
         * TLS library choose the optimal settings.
         *
         * This directive currently doesn't do anything with GnuTLS support.
-        */
+        */
 #      tls_supported_groups = "X25519:P-256";

        /*
@@ -144,7 +144,7 @@ serverinfo {
         * from left to right.
         *
         * It is recommended to leave this directive commented out and have the
-        * TLS library choose the optimal settings.
+        * TLS library choose the optimal settings.
         */
 #      tls_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-
SHA384:DHE-RSA-AES256-SHA:AES256-SHA";

@@ -677,15 +677,6 @@ shared {
         */
        name = "hybrid8.debian.local";

-       /* port: the port to connect to this server on. */
-       port = 6666;
-
-       /*
-        * timeout: defines how long to wait until a connection is established.
-        * Default is 30 seconds if this option is not specified.
-        */
-       timeout = 10 seconds;
-
        /*
         * user: the user@host mask that is allowed to set klines. If this is
         * not specified, all users on the server above will be allowed to set
@@ -1191,7 +1182,7 @@ general {
        /* stats_m_oper_only: make /stats m/M (messages) oper only. */
        stats_m_oper_only = yes;

-       /* stats_o_oper only: make stats o (opers) oper only. */
+       /* stats_o_oper_only: make stats o (opers) oper only. */
        stats_o_oper_only = yes;

        /* stats_P_oper_only: make stats P (ports) oper only. */
@@ -1264,7 +1255,7 @@ general {
         * +f - flood        - See flood/spam notices
         * +G - softcallerid - Server Side Ignore for users not on your
channels
         * +g - callerid     - Server Side Ignore (for privmsgs etc)
-        * +H - hidden       - Hides operator status to other users
+        * +H - hidden       - Hides IRC operator status to other users
         * +i - invisible    - Not shown in NAMES or WHO unless you share a
channel
         * +j - rej          - See rejected client notices
         * +k - skill        - See server generated KILL messages
@@ -1276,7 +1267,6 @@ general {
         * +s - servnotice   - See general server notices
         * +w - wallop       - See server generated WALLOPS
         * +X - expiration   - See *LINE expiration notices
-        * +X - expiration   - See *LINE expiration notices
         * +y - spy          - See LINKS, STATS, TRACE notices etc.
         */

@@ -1291,7 +1281,7 @@ general {
         * throttle_count: the maximum number of connections from the same
         * IP address allowed in throttle_time duration.
         */
-        throttle_count = 1;
+       throttle_count = 1;

        /*
         * throttle_time: the minimum amount of time required between


-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.bpo.3-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ircd-hybrid depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  libc6                  2.31-13+deb11u2
ii  libcrypt1              1:4.4.18-4
ii  libgnutls30            3.7.1-5
ii  libltdl7               2.4.6-15
ii  lsb-base               11.1.0
ii  openssl                1.1.1k-1+deb11u1

Versions of packages ircd-hybrid recommends:
ii  whois  5.5.10

Versions of packages ircd-hybrid suggests:
ii  anope  2.0.9-1

-- Configuration Files:
/etc/ircd-hybrid/cert.cnf [Errno 13] Permission denied: '/etc/ircd-
hybrid/cert.cnf'
/etc/ircd-hybrid/ircd.conf [Errno 13] Permission denied: '/etc/ircd-
hybrid/ircd.conf'
/etc/ircd-hybrid/ircd.motd [Errno 13] Permission denied: '/etc/ircd-
hybrid/ircd.motd'

Reply via email to