Bug 226175 - app-arch/bzip: bzgrep (and the like) should be in /usr/bin
Bug#: 226175 Product:  Gentoo Linux Version: 2008.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: askwar@digitalprojects.com
Component: Core system
URL: 
Summary: app-arch/bzip: bzgrep (and the like) should be in /usr/bin
Keywords:  
Status Whiteboard: 
Opened: 2008-06-13 07:38 0000
Description:   Opened: 2008-06-13 07:38 0000
In /bin, there's:

--($ /bin)-- ls -la /bin/bz*
lrwxrwxrwx 1 root root      5 25. Mar 15:30 /bin/bzcat -> bzip2
lrwxrwxrwx 1 root root      6 25. Mar 15:30 /bin/bzcmp -> bzdiff
-rwxr-xr-x 1 root root   2128 25. Mar 15:30 /bin/bzdiff
lrwxrwxrwx 1 root root      6 25. Mar 15:30 /bin/bzegrep -> bzgrep
lrwxrwxrwx 1 root root      6 25. Mar 15:30 /bin/bzfgrep -> bzgrep
-rwxr-xr-x 1 root root   1830 25. Mar 15:30 /bin/bzgrep
-rwxr-xr-x 1 root root 616404 25. Mar 15:30 /bin/bzip2
-rwxr-xr-x 1 root root 539540 25. Mar 15:30 /bin/bzip2recover
lrwxrwxrwx 1 root root      6 25. Mar 15:30 /bin/bzless -> bzmore
-rwxr-xr-x 1 root root   1259 25. Mar 15:30 /bin/bzmore

IMO, the following should be moved to /usr/bin, because the gzip and lzo
counterparts (eg. bzgrep vs. zgrep vs. lzgrep) are stored there as well.

Please move:

- bzegrep
- bzfgrep
- bzcmp
- bzdiff
- bzgrep
- bzless
- bzmore

------- Comment #1 From Jeroen Roovers 2008-06-13 10:37:49 0000 -------
(In reply to comment #0)
> IMO, the following should be moved to /usr/bin, because the gzip and lzo
> counterparts (eg. bzgrep vs. zgrep vs. lzgrep) are stored there as well.

I would counter that logic by saying app-arch/gzip is at fault - all these
should be in /bin so that they are available in single user mode, when /usr may
not be available.

------- Comment #2 From Alexander Skwar 2008-06-13 15:43:31 0000 -------
Whatever :) My point is, that the apps should "behave" consistently. Ie. I
don't care much if all the stuff is in /bin or in /usr/bin. I care only about
the fact, that some stuff from gzip+lzop is in /usr/bin and in /bin, while all
the stuff from bzip2 is in /bin.

If you decide to move all the stuff from gzip+lzop to /bin as well, then I'm
happy as well ;)

------- Comment #3 From SpanKY 2008-06-21 06:04:50 0000 -------
fixed with bzip2-1.0.5-r1