Comment 2 for bug 2023146

Revision history for this message
Robie Basak (racb) wrote :

"DNS subsystem" might mean different things for different people, so I don't think we can introduce a dependency. Otherwise, users who simply use a static DNS configuration would block or break on a DNS subsystem that doesn't exist or is not configured.

Instead, if you configure nginx to your local requirements to add a dependency on a DNS subsystem, I think you currently need to also adjust the nginx service configuration to wait for that subsystem. How to do that depends on your specific setup, but:

> /etc/systemd/system/multi-user.target.wants/nginx.service

Shouldn't this be /etc/systemd/system/nginx.service.wants/something that provides a symlink to whatever "DNS subsystem" means for you? See systemd.unit(5).