CVs doesn't work anymore after upgrade to RedHat 7.0 ?

Derek R. Price derek.price en openavenue.com
Lun Oct 23 09:46:34 CDT 2000


"Bras, Ed" wrote:

> Thanks for your feedback.
> I just got it working after a reaction from someonelese from the newsgroup:
> I had to correct the permissions of the ~root dir, such that everyone is
> able to read his contents. Aparently RH7 changed that.

Changing the permissions on ~root is not required and presents other security
hazards.  I am running RedHat 7.0 with the original permissions on ~root, the
default xinetd with the configuration I sent last time, and CVS 1.11 and
everything works fine.

It's possible that something happened between CVS 1.10.7 and 1.11 that makes
CVS work on my system and not yours, but I don't think so.  Regardless, there
are other bug fixes and it might be worth the upgrade.

You might try unsetting $HOME in your xinetd call too.  From the xinetd.conf
2.1.8.9-pre11 man page:

env     The value of this attribute is a list of strings of the form
'name=value'.
        These strings will  be added to the environment before starting a
server
        (therefore the server's environment will include xinetd's environment
plus
        the specified strings).

passenv The value of this attribute is a list of environment variables from
        xinetd's  environment that  will  be  passed  to  the  server.  An
empty
        list implies passing no variables to the server except for those
        explicitly defined using the env attribute.  (notice that  you can use

        this attribute in conjuction with the env attribute to specify exactly

        what argument will be passed to the server).

        log_type
        log_on_success    (cumulative effect)
        log_on_failure    (cumulative effect)
        only_from         (cumulative effect)
        no_access         (cumulative effect)
        passenv           (cumulative effect)
        instances
        disabled          (cumulative effect)
        enabled           (cumulative effect)

        Attributes with a cumulative effect can be specified multiple times
with
        the values specified each time accumulating (i.e. '=' does the same
thing
        as '+=').  With the exception of disabled they all have the same
meaning
        as if they were specified in a service entry.  disabled determines
services
        that are disabled even if they have entries in the configuration file.
This
        allows for quick reconfiguration by specifying disabled services with
the
        disabled attribute instead of commenting them out.  The value of this
        attribute is a list of  space  separated  service  ids.  enabled has
the
        same properties as disabled.  The difference being that enabled is a
list
        of which services are to be enabled.  If enabled is specified, only
the
        services specified are available.  If enabled is not specified, all
        services are assumed to be enabled, except those listed in disabled.

Which is a little bit confusing as it sounds like passenv has a cumulative
effect but the first, empty instance should empty the xinetd server's
environment from the list of variables to be passed to the child server.

If playing with passenv and env doesn't work or you don't feel like playing
around with them, you can call cvs using the env command.  Something like:

    /usr/bin/env --unset=HOME cvs pserver ...

or however that translates into xinetd.conf-speak.

Derek
--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org
)
mailto:dprice en openavenue.com     OpenAvenue ( http://OpenAvenue.com )
--
Nor was it uninteresting to the world that an experiment should be fairly and
fully made whether freedom of discussion, unaided by power, is not sufficient
for the propagation and protection of truth: whether a government conducting
itself in the true spirit of its constitution with zeal and purity and doing
no
act which it would be unwilling the whole world should witness can be written
down by falsehood and defamation.  The experiment has been tried; [we] have
witnessed the scene; our fellow citizens have looked on, cool and collected.
They saw the latent source from which these outrages proceeded; they gathered
around their public functionaries, and when the Constitution called them to
the
decision by suffrage, they pronounced their verdict, honorable to those who
had
served them and consolatory to the friend of man who believes he may be
intrusted with his own affairs.

   - Thomas Jefferson; 2nd Inaugural Address, 1805



_______________________________________________
Info-cvs mailing list
Info-cvs en gnu.org
http://mail.gnu.org/mailman/listinfo/info-cvs




Más información sobre la lista de distribución Ayuda