Package: oar-node
Version: 2.5.4-1~bpo70+1
Severity: normal
Dear Maintainer,
Upgrade to 2.5.4 leaded to a bad filename for the storage of the pid of the
oar-node sshd daemon:
/var/run/.pid
instead of:
/var/run/oar-node.pid
-- System Information:
Debian Release: 7.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages oar-node depends on:
ii oar-common 2.5.4-1~bpo70+1
ii openssh-client 1:6.0p1-4+deb7u2
ii openssh-server 1:6.0p1-4+deb7u2
oar-node recommends no packages.
Versions of packages oar-node suggests:
pn oar-doc <none>
ii xauth 1:1.0.7-1
-- Configuration Files:
/etc/default/oar-node changed:
OARREMOTE="10.0.50.1"
MODSLEEP=8
MINSLEEP=2
MAXRETRY=30
start_oar_node() {
test -n "$OARREMOTE" || exit 0
echo " * Set the ressources of this node to Alive"
local retry=0
local sleep=0
until ssh -t -oStrictHostKeyChecking=no -oPasswordAuthentication=no -i
/var/lib/oar/.ssh/oarnodesetting_alive.key oar@$OARREMOTE -p 6667
do
if [ $((retry+=sleep)) -gt $MAXRETRY ]; then
echo "Failed."
return 1
fi
((sleep = $RANDOM % $MODSLEEP + $MINSLEEP))
echo "Retrying in $sleep seconds..."
sleep $sleep
done
return 0
}
stop_oar_node() {
test -n "$OARREMOTE" || exit 0
echo " * Set the ressources of this node to Absent"
local retry=0
local sleep=0
until ssh -t -oStrictHostKeyChecking=no -oPasswordAuthentication=no -i
/var/lib/oar/.ssh/oarnodesetting_absent.key oar@$OARREMOTE -p 6667
do
if [ $((retry+=sleep)) -gt $MAXRETRY ]; then
echo "Failed."
return 1
fi
((sleep = $RANDOM % $MODSLEEP + $MINSLEEP))
echo "Retrying in $sleep seconds..."
sleep $sleep
done
return 0
}
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]