Comment 7 for bug 1483923

Revision history for this message
Benjamin Bach (benjaoming) wrote :

Regarding the discussion about dpkg-divert: It's inevitable -- I wanna change something in nginx.conf that's not possible to change elsewhere because /etc/nginx/conf.d is only loaded in the http { ... } segment:

2015/11/11 22:29:32 [emerg] 15102#0: "worker_processes" directive is not allowed here in /etc/nginx/conf.d/test.conf:1

I see the point of avoiding it, but it demands changes in the original package to allow other packages to avoid modifying its configuration files.. but it's almost the same problem with user-defined modifications. There should always be room for both these cases.

Agreed, no need to patch this in Ubuntu. Should be done in Debian, which I can see would have the same problem.

But it seems it will be hard to find consensus about whether such things should be addressed or not!