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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Nov 2012 08:09:50 +0000 (09:09 +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

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' : {