software dependencies under chroot
My host system is Ubuntu 18.04
$ uname -a 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I am running a commercial software for microwave circuit design, Keysight ADS version 2017-1, but this ADS version I have requires
RedHat 7 as a Keysight (the vendor) qualified choice. I've heard from Keysight, that it should also run on CentOS7.
While the best solution would be to run RedHat7 on a dedicated machine, I did set up CentOS7 on another machine, named bellatrix for ADS. However, my Ubuntu machine, sibyl, is much faster and therefore, I'd like to run ADS there. I didn't want to have to switch
Rather, I am attempting to run ADS on sibyl under Ubuntu, but it seems buggy under Ubuntu.
So far, I've tried the following:
Ubuntu 18.04 (sibyl):
Install working CentOS7 OS files into a chroot then installed ADS into a directory of the chroot.
then bind:
# mount -B /dev /VM_pool/
# mount -B /dev/pts /VM_pool/
# mount -B /sys /VM_pool/
# mount -B /proc /VM_pool/
where /VM_pool/
I also set up the chroot to allow internet access via:
cp -rp /etc/resolv.conf /VM_pool/
and shared sibyl's x-server via:
# xhost +localhost
Then, I mounted the chroot from sibyl
# chroot /VM_pool/
I had to CD to the home directory I set up in the chroot because, for some reason, this was required to prevent ADS from crashing when running in the chroot.
So ADS appears to run under the chroot, but still shows some bugs e.g. the ADS widgets don't always open required menus when clicked. I've found out that ADS was written using the Qt framework.
My chroot, contains all the required dependencies as per the dependency checker application which shipped with ADS.
My question is:
Why doesn't ADS run quite right under the above chroot whereas I don't see these problems when ADS runs native on CentOS7 installed on bare metal as on the bellatrix machine?
My next question is:
Do you think this is down to kernel dependencies or am I capturing incorrect dependencies via my above directory bindings for my chroot? Do you see anything obvious I could or should do to rectify ADS issues running under the chroot?
Thanks!
Phil
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: