Apparently remctl scripts run without a PATH
authorEvan Broder <broder@mit.edu>
Sun, 2 Nov 2008 22:09:14 +0000 (17:09 -0500)
committerEvan Broder <broder@mit.edu>
Sun, 2 Nov 2008 22:09:14 +0000 (17:09 -0500)
svn path=/trunk/packages/invirt-console-server/; revision=1512

debian/changelog
files/usr/sbin/invirt-console-update

index 310d845..c974244 100644 (file)
@@ -1,3 +1,9 @@
+invirt-console-server (0.0.7) unstable; urgency=low
+
+  * Apparently remctl scripts run without a PATH
+
+ -- Evan Broder <broder@mit.edu>  Sun, 02 Nov 2008 17:08:35 -0500
+
 invirt-console-server (0.0.6) unstable; urgency=low
 
   * Use invoke-rc.d instead of calling init scripts directly
index a6716d7..e24a3ce 100755 (executable)
@@ -9,7 +9,7 @@ def main(args):
   f = file('/etc/conserver/conf.d/'+hostname, 'w')
   f.write(contents)
   f.close()
-  p = subprocess.Popen(['invoke-rc.d', 'conserver-server', 'reload'],
+  p = subprocess.Popen(['/usr/sbin/invoke-rc.d', 'conserver-server', 'reload'],
                        stdout=subprocess.PIPE)
   p.wait()
   return 0