From: Evan Broder Date: Sun, 2 Nov 2008 22:09:14 +0000 (-0500) Subject: Apparently remctl scripts run without a PATH X-Git-Tag: invirt-console-server/0.0.8~1 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/commitdiff_plain/5be442f9fa4174265ccfb5b3bd67ffb4e71afc12?hp=e73df4f67a075bd8f2fbbf70786200ee548bad56 Apparently remctl scripts run without a PATH svn path=/trunk/packages/invirt-console-server/; revision=1512 --- diff --git a/debian/changelog b/debian/changelog index 310d845..c974244 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-console-server (0.0.7) unstable; urgency=low + + * Apparently remctl scripts run without a PATH + + -- Evan Broder 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 diff --git a/files/usr/sbin/invirt-console-update b/files/usr/sbin/invirt-console-update index a6716d7..e24a3ce 100755 --- a/files/usr/sbin/invirt-console-update +++ b/files/usr/sbin/invirt-console-update @@ -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