[Pkg-nginx-maintainers] Bug#898896: nginx-common: systemd nginx.service is missing After=remote-fs.target

Jeremy Davis jeremy at turnkeylinux.org
Fri Jun 15 08:12:54 BST 2018


Hi,

Apologies if I'm highjacking this issue, but it seemed appropriate to
post here rather than opening a new bug seeing as my issue seems so
closely related.

Please correct me if I'm wrong.

On 17/05/18 18:27, Alexandre Derumier wrote:
> but systemd unit have only
> After=network.target
> 
> 
> we should have both in unit
> After=network.target
> After=remote-fs.target 
>
According to upstream[1] it should be:

  After=syslog.target network.target remote-fs.target nss-lookup.target

A TurnKey GNU/Linux (Debian derivative headless server library)
community member (using LXC) has reported a related issue because
nss-lookup.target is missing[2].

As a work around, we've added a
/etc/systemd/system/nginx.service.d/override.conf file overlay[3].

Perhaps the maintainers should consider adjusting the [Unit] section to
match upstream?

[1] https://www.nginx.com/resources/wiki/start/topics/examples/systemd/
[2] https://github.com/turnkeylinux/tracker/issues/1110
[3]
https://github.com/turnkeylinux/common/commit/17976cf63ae5facc73c2332efbc19813975b691e

Regards,
Jeremy Davis
TurnKey GNU/Linux



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-nginx-maintainers/attachments/20180615/5e0dd4ed/attachment.sig>


More information about the Pkg-nginx-maintainers mailing list