Package: ntpsec
Version: 1.2.3+dfsg1-8
Severity: normal

Hey.

ntpsec-systemd-netif.service has:
  ExecStart=/bin/sh -c '. /etc/dhcp/dhclient-exit-hooks.d/ntpsec'

First, why not simply /bin/sh /etc/dhcp/dhclient-exit-hooks.d/ntpsec?

But more important, /etc/dhcp/dhclient-exit-hooks.d/ntpsec is a config file
so a user may simply delete it because he doesn't want it executed
for dhcp client.
In that case it would also fail for ntpsec-systemd-netif.service.


IMO, either it should check whether the file is present and only
if so execute it... or rather, if the service isn’t really related to
/etc/dhcp/, which I guess, is should execute the file from somewhere in
/usr/...

Cheers,
Chris.

Reply via email to