Change in osmo-gsm-tester[master]: util: adds the feature to force the rpath when patching files.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Jun 4 12:35:06 UTC 2021


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272 )

Change subject: util: adds the feature to force the rpath when patching files.
......................................................................


Patch Set 1:

> I'm going to do a little search of how configure that. Can you provide some support with that feature in OGT? OGT it's still too big to me to know how can it be achieved.

Hi,

have a look for instance at [1]. In there you chroot automatically to a given directory based on ssh user credentials. So, you could use this in your BBU:
* Create a new "ogt" user
* Configure /etc/ssh/sshd_config to automatically chroot "ogt" to /mnt/nfs
* In resources.conf, simply use "ogt" user in the "ssh_user" attribute. OGT will transparently use the chroot when connecting to the BBu through SSH.
* You may need an extra script run at startup to link stuff into the chroot, see [1].

We used to have this kind of setup in some of our servers some time ago, as a quick-container solution (non OGT related).
So, as you can see, AFAIU there's nothing specific OGT needs to support here to have this setup :)


[1] https://www.tecmint.com/restrict-ssh-user-to-directory-using-chrooted-jail/


-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I2d4a105d4843c0d31d6b5d8f8d4195247b290aec
Gerrit-Change-Number: 24272
Gerrit-PatchSet: 1
Gerrit-Owner: alealcon <alejandro.leal at srs.io>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Fri, 04 Jun 2021 12:35:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210604/64d1644e/attachment.htm>


More information about the gerrit-log mailing list