rcs build failure
Terry Chan
tpchan at attbi.com
Wed Feb 12 10:12:38 GMT 2003
Ben,
Not a lot of RCS users in lunar as all the devs have to use CVS.
The problem you are having is from a fix by our "security" dev. User
bin used to have a shell in /etc/passwd, but the security dev claims
that this is a really bad idea so we changed /etc/passwd to not give
a shell to bin and that broke the RCS build as you have discovered.
This will have to be resolved before RCS will work again. We probably
do not want to add a depends on the module shadow for RCS to work
correctly.
If it turns out your solutions is the easiest way, then it'll be fixed
accordingly. Thanks for the help.
Terry Chan
------------------------------------------------------------------
On Tue, Feb 11, 2003 at 06:44:29PM -0700, Shern, Benjamin J wrote:
> Not sure if anyone else has run into this or if it's
> just me, but this is what I had to do to get rcs to build.
> The problem I ran into seems to be that the user "bin" has no shell.
> This is the tweaked BUILD that seemed to solve the problems.
>
>
> # Quick note:
> # RCS doesn't like to be compiled as root, as the make is
> # doing several of the tests, and these tests need to be executed
> # as a non-root user :(
> # that's the reason for the chown & su to user bin!!!!
>
> (
>
> bins_shell=`cat /etc/passwd | grep '^bin:' | cut -f7 -d':'`
> usermod -s /bin/bash bin
> chown -R bin:bin . &&
> su bin -pc "PATH=$PATH; ./configure --prefix=/usr && make" &&
> prepare_install &&
> make install
> usermod -s "$bins_shell" bin
>
> ) > $C_FIFO 2>&11
>
>
> rcs then has depends on module shadow after this fix...
> regards,
> Ben
More information about the Lunar
mailing list