ntp_signd: move socket directory to var/lib not var/run for permissions change
authorAndrew Bartlett <abartlet@samba.org>
Sun, 11 Nov 2012 21:44:02 +0000 (08:44 +1100)
committerMichael Adam <obnox@samba.org>
Mon, 12 Nov 2012 09:50:03 +0000 (10:50 +0100)
With the next patch, this becomes a socket directory on which we must
maintain administrator-specified permissions we will need to move it
away from directories that wipe at boot.

This means the ntp.conf will need to change from (eg)

ntpsigndsocket /usr/local/samba/var/run/ntp_signd/

to

ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
dynconfig/wscript

index 44e8f19f73278bc653875cfbef8e2dc8b3da4f47..d1c7a00f77a292ce366226c12cee691395daf783 100755 (executable)
@@ -226,8 +226,8 @@ dynconfig = {
          'DELAY':     True,
     },
     'NTP_SIGND_SOCKET_DIR' : {
-         'STD-PATH':  '${SOCKET_DIR}/ntp_signd',
-         'FHS-PATH':  '${SOCKET_DIR}/ntp_signd',
+         'STD-PATH':  '${PRIVILEGED_SOCKET_DIR}/ntp_signd',
+         'FHS-PATH':  '${PRIVILEGED_SOCKET_DIR}/ntp_signd',
          'DELAY':     True,
     },
     'NCALRPCDIR' : {