2012/6/15 Marco d'Itri <[email protected]>:
> On Jan 31, Praveen A <[email protected]> wrote:
>
>> Please add following lines to /etc/service, without this entry
>> conserver client fails to start (there is probably a bug in conserver
>> client too). It is already provided in RHEL.
>>
>> console         782/tcp         CONSERVER_PORT  # Conserver
> Please clarify how this is "already provided in RHEL", since there is no
> trace of port 782 in any of my RHEL systems.

on a RHEL 6 machine I see,

-bash-4.1$ console -V
console: conserver.com version 8.1.17
console: default initial master server `console'
console: default port referenced as `conserver'
console: default escape sequence `^Ec'
console: default site-wide configuration in `/etc/console.cf'
console: default per-user configuration in `$HOME/.consolerc'
console: options: openssl, pam
console: openssl version: OpenSSL 1.0.0-fips 29 Mar 2010
console: built with `./configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-libwrap --with-openssl --with-gssapi
--with-striprealm --with-pam'

-bash-4.1$ grep conserver /etc/services
console         782/tcp         conserver


Now on debian sid I see

pravi@savannah:~$ console -V
console: conserver.com version 8.1.18
console: default initial master server `console'
console: default port referenced as `782'
console: default escape sequence `^Ec'
console: default site-wide configuration in `/etc/conserver/console.cf'
console: default per-user configuration in `$HOME/.consolerc'
console: options: libwrap, openssl, pam
console: openssl version: OpenSSL 1.0.1c 10 May 2012
console: built with `./configure --verbose --sysconfdir=/etc/conserver
--with-openssl --with-pam --with-regex --with-port=782 --prefix=/usr
--mandir=${prefix}/share/man --infodir=${prefix}/share/info
--with-logfile=/var/log/conserver/server.log
--with-pidfile=/var/run/conserver.pid --with-libwrap --with-64bit'

When I mentioned "It is already provided in RHEL" I meant the entry in
/etc/services. But I think after adding it in /etc/services the
failure is a bug in conserver-client as it should be referencing
'conserver' or just taking '782' as provided by a compile time option.
I think CONSERVER_PORT may be an internal variable which never got set
in conserver-client. Adding 'CONSERVER_PORT' in /etc/services worked
for me, but I think it is a work around and real fix should be in
conserver-client.

> --
> ciao,
> Marco



-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to