Bug#613648: ganeti2: Wrong permissions for /var/lock after gnt-node add

2011-02-16 Thread Ronny Lindner
Package: ganeti2 Version: 2.1.6-1 Severity: critical Tags: patch upstream Justification: breaks unrelated software The command gnt-node add changes the permissions of /var/lock to d-wxrwS--t (3661 octal, 1777 decimal!). Other programs are not able to create a lockfile anymore. That was tested

Bug#613648: ganeti2: Wrong permissions for /var/lock after gnt-node add

2011-02-16 Thread Ronny Lindner
I attached another patch against the source package of ganeti. Cu, Ronny --- daemons/ensure-dirs.in 2011-02-16 14:27:07.0 +0100 +++ daemons/ensure-dirs.in.new 2011-02-16 14:42:37.0 +0100 @@ -138,7 +138,7 @@ } _ensure_lockdir() { - _ensure_dir ${LOCKDIR} 1777 + _ensure_dir