[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#401458: marked as done (update-cluster: update-cluster-remove --notes)

Your message dated Sat, 25 Jul 2009 19:36:27 +0100
with message-id <1248546987.981203.22820.nullmailer@kmos.homeip.net>
and subject line update-cluster has been removed from Debian, closing #401458
has caused the Debian Bug report #401458,
regarding update-cluster: update-cluster-remove --notes
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 owner@bugs.debian.org

401458: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401458
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: update-cluster
Version: 0.41.5-4
Severity: wishlist

It would be useful to match on more then just the "master" notes strings.
We have for instance the situation that we'd like to keep ipmi management
interfaces in the cluster.xml database, but it would not make sense to
write them into a mpich machines.LINUX file for instance.  So some
more flexible filtering would be needed.  I propose to implement (patch
appended) a --notes argument for update-cluster-remove.

Attachment: pgpU4TfF8Lx0t.pgp
Description: PGP signature

--- update-cluster-0.41.5.orig/update-cluster-remove.c
+++ update-cluster-0.41.5/update-cluster-remove.c
@@ -71,6 +71,7 @@
   static struct option long_options[]=
     {"ip", required_argument, 0, 'i'},
+    {"notes", required_argument, 0, 'o'},
     {"master", no_argument, 0, 'm'},
     {"mac", required_argument, 0, 'c'},
     {"not", no_argument, 0, 'n'},
@@ -87,6 +88,9 @@
 	case 'i':
 	  remove_parameter_list = add_to_list (remove_parameter_list, "ip", optarg);
+	case 'o':
+	  remove_parameter_list = add_to_list (remove_parameter_list, "notes", optarg);
+	  break;
 	case 'm':
 	  remove_parameter_list = add_to_list (remove_parameter_list, "notes", "master");
@@ -104,8 +108,8 @@
 	case 'h':
 	  fprintf(stderr, _("update-cluster-remove by Junichi Uekawa 2001-2003\n\n"
-		  "update-cluster-remove [--ip ipaddr] [--not] [--master] [--bootmaster xx]...\n"
+		  "update-cluster-remove [--ip ipaddr] [--notes notes] [--not] [--master] [--bootmaster xx]...\n"
 		  "  parses an XML content, and outputs well-formatted XML output\n"
--- update-cluster-0.41.5.orig/update-cluster-remove.1.in
+++ update-cluster-0.41.5/update-cluster-remove.1.in
@@ -20,6 +20,9 @@
 .BI "--mac [" "MAC-address" "]"
 Specify the MAC address of the system to be removed from the list.
+.BI "--notes [" "STRING" "]"
+Specify the content of notes of the system to be removed from the list.
 .B "--master"
 Specify the nodes which have a 
 .B "notes"

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages update-cluster depends on:
ii  debconf [debconf-2.0]        1.5.9       Debian configuration management sy
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libdancer-xml0        simplistic and non-comformant xml 

update-cluster recommends no packages.

-- debconf information:
* update-cluster/read_nodes_number: 0

  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang@db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>

--- End Message ---
--- Begin Message ---
Version: 0.41.5-5+rm

The update-cluster package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/435897 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
Marco Rodrigues

--- End Message ---

Reply to: