[WBEL-devel] /bin/su and /usr/bin/su
Pasi Pirhonen
upi@iki.fi
Tue, 9 Dec 2003 07:13:30 +0200
Hi,
On Mon, Dec 08, 2003 at 09:34:18PM -0600, Charles Lacour wrote:
> Since the web page still listed it as a problem, I'm reporting what I've found
> out so far about "su" being in both /bin and /usr/bin.
>
> The problem is in the coreutils-4.5.3-26.i386.rpm file. That is the only file
> on WBEL that references either of those files, and it lists both.
>
> The file list of WB's coreutils rpm and Red Hat AS 3.0 coreutils rpm differ
> only by the addition of /usr/bin/su to WB's. (WB has that one file added.
> Otherwise, they're identical.)
>
> What's odd is that the source rpms are identical. That means it pretty much
> has to be either the environment it was compiled in, or the flags it was
> compiled with.
>
> John, what did you use to compile that package? (I'm assuming rpmbuild, but I
> don't know what parameters you passed it, or if you edited any of the config
> files.)
>
[root@ml370 RPMS]# ls -l /bin/su
-rwsr-xr-x 1 root root 44980 Nov 18 13:04 /bin/su
[root@ml370 RPMS]# ls -l /usr/bin/su
-r-sr-xr-x 1 root root 44980 Nov 18 13:04 /usr/bin/su
[root@ml370 RPMS]# rpm -qf /usr/bin/su
coreutils-4.5.3-26
[root@ml370 RPMS]# rpm -iUvh --force coreutils-4.5.3-26.i386.rpm
Preparing... ###########################################
[100%]
1:coreutils ###########################################
[100%]
[root@ml370 RPMS]# mv coreutils-4.5.3-26.i386.rpm DONE/
[root@ml370 RPMS]# rpm -qf /usr/bin/su
file /usr/bin/su is not owned by any package
[root@ml370 RPMS]# ls -l /usr/bin/su
-r-sr-xr-x 1 root root 44980 Nov 18 13:04 /usr/bin/su
[root@ml370 RPMS]# ls -l /bin/su
-rwsr-xr-x 1 root root 44976 Dec 8 19:06 /bin/su
So there must have been so problems with build process.
this one is WBEL RC2 clean install where i have been rebuilding all the
SRPMS once again. The package i am installing, is the one i have
rebuilt myself.
--
o
___o </\_ upi@iki.fi
/\o_ _ \<,_ __/\ <URL: http://iki.fi/upi/ >
^^^^^^^^^^ (*)/ (*) /