Using the SmartServer of v0.15 with xinetd

Aaron Bentley aaron.bentley at utoronto.ca
Thu Apr 12 17:48:07 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Ackermann wrote:
> Aaron Bentley schrieb:
>> So, two alternatives are:
>>
>> 1. invoke su directly:
>> server          = /sbin/su
>> server_args     = - bzruser bzr serve --inet\
>>  --directory=/home/archive/bzr
>>
>
> Need to test that ... quite unsual for an xinted file :)

Actually, it's based on the example given in the FAQ for "How to do
setup a chrooted environment for a service"

>> 2. specify HOME directly, using the env parameter
>>
> I will try to do this, but ~/.bashrc should be sourced anyway ... and
> that did not work!

It looks very much like xinetd does not invoke a shell.  Do you have a
reason to believe that it does?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGHmLH0F+nu1YWqI0RAjFcAJwP0cILZ3ydmm1uMDrNCxrjtg9C7ACeO9C9
WNdWmPgnY79xRs3z0aHTQiE=
=uzVT
-----END PGP SIGNATURE-----



More information about the bazaar mailing list