Your message dated Sat, 12 Mar 2011 20:00:18 +0000
with message-id <e1pyuz4-0006na...@franck.debian.org>
and subject line Bug#613648: fixed in ganeti 2.1.6-1+squeeze1
has caused the Debian Bug report #613648,
regarding ganeti2: Wrong permissions for /var/lock after "gnt-node add"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
613648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613648
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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 with logcheck, which did not work after adding a
ganeti node.

The fix is really simple: there are 3 occurences of 1777 in
/usr/sbin/ganeti-confd and /usr/sbin/ganeti-noded . They must be changed to
01777 .

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ganeti2 depends on:
ii  bridge-utils            1.4-5            Utilities for configuring the Linu
ii  iproute                 20100519-3       networking and traffic control too
ii  iputils-arping          3:20100418-3     Tool to send ICMP echo requests to
ii  libjs-jquery            1.4.2-2          JavaScript library for dynamic web
ii  lvm2                    2.02.66-5        The Linux Logical Volume Manager
ii  openssh-client          1:5.5p1-6        secure shell (SSH) client, for sec
ii  openssh-server          1:5.5p1-6        secure shell (SSH) server, for sec
ii  openssl                 0.9.8o-4         Secure Socket Layer (SSL) binary a
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-openssl          0.10-1           Python wrapper around the OpenSSL 
ii  python-pyinotify        0.8.9-1          simple Linux inotify Python bindin
ii  python-pyparsing        1.5.2-2          Python parsing module
ii  python-simplejson       2.1.1-1          simple, fast, extensible JSON enco
ii  python-support          1.0.10           automated rebuilding support for P
ii  socat                   1.7.1.3-1        multipurpose relay for bidirection

Versions of packages ganeti2 recommends:
ii  drbd8-utils                2:8.3.7-2.1   RAID 1 over tcp/ip for Linux utili
ii  ganeti-instance-debootstra 0.9-3         debootstrap-based instance OS defi
ii  qemu-kvm                   0.12.5+dfsg-5 Full virtualization on x86 hardwar

Versions of packages ganeti2 suggests:
pn  drbd8-module-source           <none>     (no description available)

-- no debconf information
diff -u /usr/sbin/ganeti-confd /usr/sbin/ganeti-confd.new
--- /usr/sbin/ganeti-confd	2011-02-16 13:18:03.000000000 +0100
+++ /usr/sbin/ganeti-confd.new	2011-02-16 13:17:50.000000000 +0100
@@ -288,7 +288,7 @@
                         constants.RELEASE_VERSION)
 
   dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
-  dirs.append((constants.LOCK_DIR, 1777))
+  dirs.append((constants.LOCK_DIR, 01777))
   daemon.GenericMain(constants.CONFD, parser, dirs, CheckConfd, ExecConfd)
 
 
diff -u /usr/sbin/ganeti-noded /usr/sbin/ganeti-noded.new
--- /usr/sbin/ganeti-noded	2011-02-16 13:17:58.000000000 +0100
+++ /usr/sbin/ganeti-noded.new	2011-02-16 13:17:50.000000000 +0100
@@ -893,7 +893,7 @@
 
   dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
   dirs.append((constants.LOG_OS_DIR, 0750))
-  dirs.append((constants.LOCK_DIR, 1777))
+  dirs.append((constants.LOCK_DIR, 01777))
   daemon.GenericMain(constants.NODED, parser, dirs, CheckNoded, ExecNoded,
                      console_logging=True)
 

--- End Message ---
--- Begin Message ---
Source: ganeti
Source-Version: 2.1.6-1+squeeze1

We believe that the bug you reported is fixed in the latest version of
ganeti, which is due to be installed in the Debian FTP archive:

ganeti2_2.1.6-1+squeeze1_all.deb
  to main/g/ganeti/ganeti2_2.1.6-1+squeeze1_all.deb
ganeti_2.1.6-1+squeeze1.debian.tar.gz
  to main/g/ganeti/ganeti_2.1.6-1+squeeze1.debian.tar.gz
ganeti_2.1.6-1+squeeze1.dsc
  to main/g/ganeti/ganeti_2.1.6-1+squeeze1.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 613...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Iustin Pop <ius...@debian.org> (supplier of updated ganeti package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 12 Mar 2011 14:24:52 +0100
Source: ganeti
Binary: ganeti2
Architecture: source all
Version: 2.1.6-1+squeeze1
Distribution: stable
Urgency: low
Maintainer: Debian Ganeti Team <pkg-ganeti-de...@lists.alioth.debian.org>
Changed-By: Iustin Pop <ius...@debian.org>
Description: 
 ganeti2    - Cluster-based virtualization management software
Closes: 613648
Changes: 
 ganeti (2.1.6-1+squeeze1) stable; urgency=low
 .
   * Fix "Wrong permissions for /var/lock after 'gnt-node add'" (applied
     patch fixing octal mode usage) (Closes: #613648)
Checksums-Sha1: 
 78c17d6e0f0d012dd8f8b38539d7c20f7725839c 2026 ganeti_2.1.6-1+squeeze1.dsc
 990870170612d23aad2b9e9725b38a6e315fde0d 8883 
ganeti_2.1.6-1+squeeze1.debian.tar.gz
 f1b40a1117d6e066cc910b6b74d1058add34c2f7 923650 
ganeti2_2.1.6-1+squeeze1_all.deb
Checksums-Sha256: 
 aafb844068d0e5891eda6859db0258b91aec73d9cd86c3f3afcdce0866fa6912 2026 
ganeti_2.1.6-1+squeeze1.dsc
 85e6534b8e1c2bf57583a130aaf257ef53bff87afc1883bb9bc7ac73c80cac6a 8883 
ganeti_2.1.6-1+squeeze1.debian.tar.gz
 88a4b79dd89e2447d365822aed4f569f55ceac00b9ace1a2242f713f5ef1ff02 923650 
ganeti2_2.1.6-1+squeeze1_all.deb
Files: 
 d8623a2d8679424d79e4c0c386fd9fea 2026 admin extra ganeti_2.1.6-1+squeeze1.dsc
 fee185fcff4446685743dc1a79c8bcb7 8883 admin extra 
ganeti_2.1.6-1+squeeze1.debian.tar.gz
 cd78d65825d8fe7062c1722d6e40981f 923650 admin extra 
ganeti2_2.1.6-1+squeeze1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCgAGBQJNe6AKAAoJEPZuPkGfhPTeRt4P/j19bxZUR8PO1MxYgaQcVbNV
UOd7TqZ3PTr1Y8xELEHQ48/9IYoefC/3D6rH6b1lKkpNaPP8RYo/qHb3Kbg3SIKp
AN1QcjIWZzGrR9LZzLdvrTWGMgdXlmhjGjS0+9R19p4CkjHwrf8cSAwcVCsIPNz7
6HvNg+4VPpuNUEracHN1sv7jflHIueOgOfvN5jO1w0IHnFFp6hfFhPpLH0z6Kcp4
syTxO2KYVoksCGHNaOutOxPXI7YBFlSiMdBNnmPIAz5vwUwJ9L0g+KA+pIlzZ8sz
kNfo7iAsa507Dg4NHybiezBescmHd2qSu+IdiUjTYmRTP5QxMtm+CN7uJknFypOX
pSbrnVQu2gdu7C3fCyLgeMYUgWd0WDhX+PIAJYap0+/0FY60CjOXA4sUkvS0JlYF
eosre9jJ4NWcU9AD3KKzPI6LiLXC+9W5yKXoQ1U/ogpcwGxWdGxMyLpWamKqtPK/
fS7WiOo5GFJfVQ8VsZbC/ItJwPCdoy433Ek1N2w/k9sLodBTXKCFlst6t5KfmCku
jOwMHNwwYFlanqdWZ5kluDk8JhwNUzVR5ODY3ESdQxQtG+xHJIZdUL1gJaIcslHg
EKJDLzJZTYNK6Umh8gL0uY4tqXTHMWRw72ywmZ2ECExAP5zAMXpEaVIS8TmXeBLE
cs8rurzb4vOgRdiIjNNB
=8QGe
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to