[Nix-dev] Multiple instances - detecting resource collisions - nixos module system question

Luca Bruno lethalman88 at gmail.com
Thu Jan 15 09:54:17 CET 2015

On 15/01/2015 01:23, Nicolas Pierron wrote:
> On Wed, Jan 14, 2015 at 11:17 PM, Marc Weber <marco-oweber at gmx.de> wrote:
>> If you use multiple apaches/nginx/mysql/postgresql/whatever instances
>> its likely to miss adjusting the port or whatsoever. Therefore I'd like
>> to implement a simple "resource tracking" module which fails if a
>> resource such as tcp/ip port or socket or such gets used multiple times.
> This is awesome!
This is a mess:
1) A service can bind to multiple ip and ports.
2) There's not only tcp.
3) A service could start listening dynamically on other ports at runtime.

This is enough for saying it's going to be too complicated to check for
conflicts with little gain and many false positives.

More information about the nix-dev mailing list