Bug 5669 - rec.1 link in sox-12.16-3 is incorrect.
rec.1 link in sox-12.16-3 is incorrect.
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: sox (Show other bugs)
6.1
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
:
: 5807 6177 6302 6378 6590 6706 6814 6844 7213 7383 7403 8336 8372 10243 15602 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-07 00:03 EDT by dopey
Modified: 2014-03-16 22:10 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-10-07 10:25:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description dopey 1999-10-07 00:03:06 EDT
/usr/man/man1/rec.1 is linked to
/var/tmp/sox-root/usr/man/man1/play.1.
This is an invalid link.
Comment 1 Bill Nottingham 1999-10-07 10:25:59 EDT
Fixed in sox-12.16-4, in Raw Hide.
Comment 2 Bill Nottingham 1999-10-11 10:23:59 EDT
*** Bug 5807 has been marked as a duplicate of this bug. ***

Standard precompiled package sox contains invalid soft link
/usr/man/man1/rec.1 -> /var/tmp/sox-root/usr/man/man1/play.1
Comment 3 Bill Nottingham 1999-10-21 13:37:59 EDT
*** Bug 6177 has been marked as a duplicate of this bug. ***

This is minor, but after upgrading from 6.0 to 6.1 the
symbolic link for the 'rec' man page was broken.

In /usr/man/man1, I had

lrwxrwxrwx   1 root     root           37 Oct 17 21:24
           rec.1 -> /var/tmp/sox-root/usr/man/man1/play.1

(the above should be read as all one line).

----

The interesting thing is that this manifested itself a week
later in mail to root about the failure of run-parts on
cron.weekly.  The entire message was:

  From: root@norden.math.tntech.edu (Cron Daemon)
  To: root@norden.math.tntech.edu
  Subject: Cron <root@norden> run-parts /etc/cron.weekly

  Read file error: ./rec.1 No such file or directory

This also points up a weakness in /usr/sbin/makewhatis, in
that it doesn't do a very good job of error reporting.  It
doesn't even report its own name (so I had to start by
looking in cron.weekly) nor does it report the full path to
the offending file.


Hope this helps.  Let me know if you'd like me to submit a
patch and I'll work one up for you.
Comment 4 Bill Nottingham 1999-10-25 11:30:59 EDT
*** Bug 6302 has been marked as a duplicate of this bug. ***

Contents of sox-12.16-3.i386.rpm:

lrwxrwxrwx     root     root           37 Sep 24 17:13
/usr/man/man1/rec.1 -> /var/tmp/sox-root/usr/man/man1/play.1

This generates an error from makewhatis, running weekly off
cron.
Comment 5 Anonymous 1999-10-25 19:16:59 EDT
: The interesting thing is that this manifested itself a week
: later in mail to root about the failure of run-parts on
: cron.weekly.  The entire message was:

Note that there are potential security considerations here.  An
attacker can easily create the file
/var/tmp/sox-root/usr/man/man1/play.1, then have its contents read by
makewhatis, which is running as root.
Comment 6 Bill Nottingham 1999-10-26 10:49:59 EDT
*** Bug 6378 has been marked as a duplicate of this bug. ***

/usr/man/man1/rec.1 is a link to
 /var/tmp/sox-root/usr/man/man1/play.1
Comment 7 Bill Nottingham 1999-11-01 11:08:59 EST
*** Bug 6590 has been marked as a duplicate of this bug. ***


in the sox package, the following gets installed:

% ls -l /usr/man/man1/rec.1
lrwxrwxrwx   1 root     root           37 Oct 23 00:38
/usr/man/man1/rec.1 -> /var/tmp/sox-root/usr/man/man1/play.1

this obviously isn't quite what was intended ...
Comment 8 Bill Nottingham 1999-11-04 11:39:59 EST
*** Bug 6706 has been marked as a duplicate of this bug. ***

The symlink at /usr/man/man1/rec.1 is incorrectly set to
somewhere in /var/tmp/ it should simply be set to play.1
instead of the strange hard address it was given on whatever
machine built the sox package.
Comment 9 Bill Nottingham 1999-11-08 10:44:59 EST
*** Bug 6814 has been marked as a duplicate of this bug. ***

/usr/man/man1/rec.1 points to
/var/tmp/sox-root/usr/man/man1/play.1

I believe it should point to
/usr/man/man1/play.1
Comment 10 Bill Nottingham 1999-11-09 11:03:59 EST
*** Bug 6844 has been marked as a duplicate of this bug. ***

Bad symlink to file "play.1" causes makewhatis to report an
error.

In /usr/man/man1/:

lrwxrwxrwx  rec.1 -> /var/tmp/sox-root/usr/man/man1/play.1

should be:

lrwxrwxrwx  rec.1 -> play.1
Comment 11 Bill Nottingham 1999-11-22 14:44:59 EST
*** Bug 7213 has been marked as a duplicate of this bug. ***
Comment 12 Bill Nottingham 1999-11-29 11:51:59 EST
*** Bug 7403 has been marked as a duplicate of this bug. ***
Comment 13 Bill Nottingham 1999-11-29 11:52:59 EST
*** Bug 7383 has been marked as a duplicate of this bug. ***
Comment 14 Bill Nottingham 2000-01-11 16:11:59 EST
*** Bug 8336 has been marked as a duplicate of this bug. ***
Comment 15 kenneth_porter 2000-01-11 20:14:59 EST
*** Bug 8372 has been marked as a duplicate of this bug. ***
Comment 16 Bill Nottingham 2000-03-19 18:44:59 EST
*** Bug 10243 has been marked as a duplicate of this bug. ***
Comment 17 Need Real Name 2000-08-07 01:49:25 EDT
*** Bug 15602 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.