Bug#776889: sg3-utils: /usr/bin/rescan-scsi-bus.sh violates policy 10.4 should directive (includes .sh extension)

2015-02-02 Thread Andreas Rottmann
Source: sg3-utils
Version: 1.39-1
Severity: normal

Debian Policy 10.4 (Files/Scripts) notes that:

  When scripts are installed into a directory in the system PATH, the
  script name should not include an extension such as .sh or .pl that
  denotes the scripting language currently used to implement it.

sg3-utils includes /usr/bin/rescan-scsi-bus.sh, which violates that
recommendation in the policy.

Note however, that the package scsitools already includes a command
named rescan-scsi-bus under /sbin/rescan-scsi-bus, which would
conflict with sg3-utils if rescan-scsi-bus.sh would be renamed to
rescan-scsi-bus.  Besides being quite confusing, should one happen to
install both packages, it turns out that both of these scripts seem to
be derived from a common ancestor.  Maybe a solution can be found
between the package maintainers such that Debian ends up with only one
version of that script.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (850, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#776889: sg3-utils: /usr/bin/rescan-scsi-bus.sh violates policy 10.4 should directive (includes .sh extension)

2015-02-02 Thread Ritesh Raj Sarraf
On 02/03/2015 03:17 AM, Andreas Rottmann wrote:
 Debian Policy 10.4 (Files/Scripts) notes that:

   When scripts are installed into a directory in the system PATH, the
   script name should not include an extension such as .sh or .pl that
   denotes the scripting language currently used to implement it.

 sg3-utils includes /usr/bin/rescan-scsi-bus.sh, which violates that
 recommendation in the policy.

Yes. But rescan-scsi-bug is a very widely known tool. And on every
distribution, it is known as, along with the .sh extension.


 Note however, that the package scsitools already includes a command
 named rescan-scsi-bus under /sbin/rescan-scsi-bus, which would
 conflict with sg3-utils if rescan-scsi-bus.sh would be renamed to
 rescan-scsi-bus.  Besides being quite confusing, should one happen to
 install both packages, it turns out that both of these scripts seem to
 be derived from a common ancestor.  Maybe a solution can be found
 between the package maintainers such that Debian ends up with only one
 version of that script.

From what I've checked so far, that is not from the same upstream as
sg3-utils.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System



signature.asc
Description: OpenPGP digital signature