newcastleuniversity / puppet_module_microsoft_defender_atp_agent

Adapted from https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/linux-install-with-puppet
0 stars 0 forks source link

Should Microsoft be inserting a repo that is lexically ahead of the distro one? #4

Closed ChrisRitson closed 1 year ago

ChrisRitson commented 2 years ago

If this module generates a list file in sources.d called "microsoft.list" this allows them to override manufacturer's dirstor. Is this desirable?

Sources_d.txt

threepistons commented 1 year ago

What is a dirstor?

threepistons commented 1 year ago

@ChrisRitson I suspect that you are thinking of the various packages that have 10-highpriority.stub, 20-notashigh.stub, 99-dothislast.stub in their foo.conf.d directories to make things happen in a particular order. Apt uses pinning, not sort order of the files in sources.list.d, to prioritise package sources. Please have a look at the pinning docs linked and let me if I've guessed correctly.

ChrisRitson commented 1 year ago

I was thinking purely in lexicographic order of files in sources.list.d. If Microsoft have not abused the priority/pinning mechanism then this can be closed. If they are abusing this mechanism because "Microsoft Knows Best" then this could raise issues.