View Issue Details

IDProjectCategoryView StatusLast Update
0005219unrealircdpublic2019-04-22 20:54
ReportersyzopAssigned To 
Status confirmedResolutionopen 
Product Version4.2.2 
Target Version4.2.4Fixed in Version 
Summary0005219: ./unrealircd configtest
DescriptionIt would be nice if UnrealIRCd could do something similar to apache, like "./unrealircd configtest".
With that, we can also reject an "./unrealircd restart" if configtest fails (preventing a restart that is going to fail anyway).
Also document this and incorporate it in some kind of recommended upgrade procedure.

Coding-wise this would require several changes. In particular temp file cleaning and modules come to mind... calling TEST and POSTCONFTEST should be good. However, we should not call LOAD nor UNLOAD since modules may write some kind of state file which would be inappropriate at this point.
Additional InformationWhen upgrading I've always been doing "./unrealircd start" before I kill the old running ircd, but... the bind errors are a bit confusing to users, and... well... this way would be nicer :)
TagsNo tags attached.
3rd party modules



2019-04-22 20:54

administrator   ~0020593

New target: 4.2.4

Issue History

Date Modified Username Field Change
2019-03-03 11:50 syzop New Issue
2019-03-03 11:50 syzop Status new => confirmed
2019-03-03 11:51 syzop Additional Information Updated View Revisions
2019-04-22 20:54 syzop Target Version 4.2.3-rc1 => 4.2.4
2019-04-22 20:54 syzop Note Added: 0020593