Project

General

Profile

Bug #371

pkg:/network/ftp should not contain /usr/sbin/ping

Added by Joshua M. Clulow almost 9 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Low
Category:
cmd - userland programs
Start date:
2010-10-23
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

SUNWbip (Basic IP utilities) has only contained /usr/bin/ftp and /usr/sbin/ping for some time. It was renamed to pkg:/network/ftp which essentially hides the fact that it contains an unrelated utility - ping.

/usr/sbin/traceroute is currently delivered in SUNWcs so I propose moving /usr/sbin/ping from network/ftp to SUNWcs for the time being. If/when SUNWcs is split up in the future both ping and traceroute can hopefully go to the same home (as similar ICMP/network diag utilities) wherever that may be.

The changes would boil down to:

diff -r ef8c14905c5a usr/src/pkg/manifests/SUNWcs.mf
--- a/usr/src/pkg/manifests/SUNWcs.mf   Fri Oct 22 16:59:15 2010 -0700
+++ b/usr/src/pkg/manifests/SUNWcs.mf   Sun Oct 24 08:55:31 2010 -0700
@@ -1402,6 +1402,7 @@
 file path=usr/sbin/nscd mode=0555
 file path=usr/sbin/nwamadm mode=0555
 file path=usr/sbin/nwamcfg mode=0555
+file path=usr/sbin/ping mode=4555
 file path=usr/sbin/pmadm group=sys mode=0555
 file path=usr/sbin/praudit mode=0555
 $(i386_ONLY)file path=usr/sbin/prtdiag group=sys mode=2755
diff -r ef8c14905c5a usr/src/pkg/manifests/network-ftp.mf
--- a/usr/src/pkg/manifests/network-ftp.mf      Fri Oct 22 16:59:15 2010 -0700
+++ b/usr/src/pkg/manifests/network-ftp.mf      Sun Oct 24 08:55:31 2010 -0700
@@ -24,8 +24,8 @@
 #

 set name=pkg.fmri value=pkg:/network/ftp@$(PKGVERS)
-set name=pkg.description value="Basic IP commands (/usr/sbin/ping, /bin/ftp)" 
-set name=pkg.summary value="Basic IP commands" 
+set name=pkg.description value="FTP Client" 
+set name=pkg.summary value="FTP Client" 
 set name=info.classification \
     value="org.opensolaris.category.2008:Applications/System Utilities" 
 set name=variant.arch value=$(ARCH)
@@ -33,11 +33,9 @@
 dir path=etc/default group=sys
 dir path=usr group=sys
 dir path=usr/bin
-dir path=usr/sbin
 file path=etc/default/ftp group=sys original_name=SUNWbip:etc/default/ftp \
     preserve=true
 file path=usr/bin/ftp mode=0555
-file path=usr/sbin/ping mode=4555
 legacy pkg=SUNWbip desc="Basic IP commands (/usr/sbin/ping, /bin/ftp)" \
     name="Basic IP commands (Usr)" 
 legacy pkg=SUNWbipr desc="Basic IP commands (Root)" \

History

#1

Updated by Alexander Eremin almost 8 years ago

  • Difficulty set to Medium
  • Tags set to needs-triage

+1 for creating network/ping package

#2

Updated by Igor Kozhukhov almost 8 years ago

+1 for creating network/ping package

#3

Updated by Alexander Eremin almost 4 years ago

  • Assignee set to Alexander Eremin
#4

Updated by Electric Monk almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 42a9df3bdc231599faf43cf40fe8aaf13bf8d852

commit  42a9df3bdc231599faf43cf40fe8aaf13bf8d852
Author: Alexander Eremin <a.eremin@nexenta.com>
Date:   2015-10-03T21:58:07.000Z

    371 pkg:/network/ftp should not contain /usr/sbin/ping
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF