From nobody@FreeBSD.org  Tue May  8 05:17:25 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AFDA8106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 May 2012 05:17:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8135A8FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 May 2012 05:17:25 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q485HPPR029515
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 8 May 2012 05:17:25 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q485HPQr029514;
	Tue, 8 May 2012 05:17:25 GMT
	(envelope-from nobody)
Message-Id: <201205080517.q485HPQr029514@red.freebsd.org>
Date: Tue, 8 May 2012 05:17:25 GMT
From: Mike Kelly <pioto@pioto.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: zpool: Use www.illumos.org/msg instead of www.sun.com/msg.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167701
>Category:       bin
>Synopsis:       [patch] zpool(8): Use www.illumos.org/msg instead of www.sun.com/msg.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 08 05:20:08 UTC 2012
>Closed-Date:    Wed Jun 13 03:58:04 UTC 2012
>Last-Modified:  Wed Jun 13 03:58:04 UTC 2012
>Originator:     Mike Kelly
>Release:        9.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD nas.home.pioto.org 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #6: Mon May  7 11:10:48 EDT 2012     root@nas.home.pioto.org:/usr/obj/usr/src/sys/NAS  i386

>Description:
The zpool command currently outputs links to various pages under http://www.sun.com/msg/. However, those are all dead links now.

The illumos project is still hosting valid links for these messages, though, under https://www.illumos.org/msg/.

The attached patch makes this correction.
>How-To-Repeat:
Check the `zpool status` output when various error conditions are occurring.
>Fix:
Author: Mike Kelly <pioto@pioto.org>
Date:   Fri Mar 9 10:22:11 2012 -0500

    Use www.illumos.org/msg instead of www.sun.com/msg.

    The latter is no longer a working URL for any of these ZFS messages.

diff --git a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
index fe76250..75ab167 100644
--- a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
+++ b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
@@ -1616,7 +1616,7 @@ show_import(nvlist_t *config)
        }

        if (msgid != NULL)
-               (void) printf(gettext("   see: http://www.sun.com/msg/%s\n"),
+               (void) printf(gettext("   see: https://www.illumos.org/msg/%s\n"),
                    msgid);

        (void) printf(gettext(" config:\n\n"));
@@ -3683,7 +3683,7 @@ print_dedup_stats(nvlist_t *config)
  *        pool: tank
  *     status: DEGRADED
  *     reason: One or more devices ...
- *         see: http://www.sun.com/msg/ZFS-xxxx-01
+ *         see: https://www.illumos.org/msg/ZFS-xxxx-01
  *     config:
  *             mirror          DEGRADED
  *                c1t0d0       OK
@@ -3891,7 +3891,7 @@ status_callback(zpool_handle_t *zhp, void *data)
        }

        if (msgid != NULL)
-               (void) printf(gettext("   see: http://www.sun.com/msg/%s\n"),
+               (void) printf(gettext("   see: https://www.illumos.org/msg/%s\n"),
                    msgid);

        if (config != NULL) {


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun May 13 22:24:23 UTC 2012 
Responsible-Changed-Why:  
this is a contributed file but I'll see what I could do 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167701 
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Wed Jun 13 03:58:02 UTC 2012 
State-Changed-Why:  
seems to have already been committed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167701 
>Unformatted:
