View Issue Details

IDProjectCategoryView StatusLast Update
0005775unrealinstallingpublic2020-10-12 18:31
ReporterLe_Coyote Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version5.0.7 
Summary0005775: ./Config will copy modules from previous install even if a newer one exists with the same name
DescriptionAs the title implies, while it is quite useful that ./Config can import settings/modules from a previous install, it does not check for existing modules, and will overwrite even a newer version of the same module without warning or confirmation.
Steps To Reproduce- download older unrealircd version, e.g 5.0.4
- place custom 3rd party module in src/modules/third/
- configure and build 5.0.4
- download 5.0.7
- place newer version of 3rd party module in src/modules/third/, with the same name as used in 5.0.4
- configure
=> the newer version of the module is overwritten with the older version taken from the 5.0.4 source directory
TagsNo tags attached.
3rd party modules

Activities

syzop

2020-10-12 18:28

administrator   ~0021812

The current module manager works like this: if the sha256sum of the .c file on disk does not match the one that is advertised in the repository (so the online version), then it will fetch and compile the online version.
Indeed, it is quite dumb, it does not do anything smart like comparing versions or dates or whatever.
Some people mentioned but nobody bothered to report it yet, thanks :D

Le_Coyote

2020-10-12 18:31

reporter   ~0021813

Is there no such provision for manually installed 3rd party modules? Because a simple "if exists, warn" kind of check would be enough :)

Issue History

Date Modified Username Field Change
2020-10-12 18:10 Le_Coyote New Issue
2020-10-12 18:28 syzop Note Added: 0021812
2020-10-12 18:29 syzop Status new => acknowledged
2020-10-12 18:31 Le_Coyote Note Added: 0021813