View Issue Details

IDProjectCategoryView StatusLast Update
0006256unrealircdpublic2023-04-06 19:24
Reportersyzop Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version6.0.7 
Summary0006256: Throw missing snomasks.default.conf error before wrong snomasks letter error
DescriptionReported by pegasus:

[error] /home/syzop/unrealircd/conf/pegasus.conf:303: set::snomask-on-oper contains unknown snomask letter(s) 'bBcCdfjkqsSoOv'
[error] /home/syzop/unrealircd/conf/pegasus.conf:127: oper::snomask contains unknown snomask letter(s) 'bBcCdfjkqsSoOv'
[error] 2 errors encountered
[error] It seems your set::snomask-on-oper and/or oper::snomask needs to be updated. Are you perhaps upgrading from an older version to UnrealIRCd 6?
[error] See https://www.unrealircd.org/docs/Upgrading_from_5.x#Update_your_snomasks
[error] IRCd configuration failed to pass testing
[error] IRCd configuration failed to load

But snomasks.default.conf was not included, so it would be better if it raised that other error:
int log_tests(void)
{
        if (snomask_num_destinations == 0)
        {
                unreal_log(ULOG_ERROR, "config", "LOG_SNOMASK_BLOCK_MISSING", NULL,
                           "Missing snomask logging configuration:\n"
                           "Please add the following line to your unrealircd.conf: "
                           "include \"snomasks.default.conf\";");
                return 0;
        }
        return 1;
}

TagsNo tags attached.
3rd party modules

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-04-06 19:22 syzop New Issue
2023-04-06 19:24 syzop Description Updated