Description of problem: $ cat /etc/mock/cucos.cfg | grep RUBYOPT config_opts['environment']['RUBYOPT'] = '-I/builddir/gem-cucos/lib/' $ mock -r cucos shell --old-chroot <mock-chroot>sh-4.3# env | grep RUBYOPT RUBYOPT=-I/builddir/gem-cucos/lib/ $ mock -r cucos shell --new-chroot sh-4.3# env | grep RUBYOPT Version-Release number of selected component (if applicable): $ rpm -q mock mock-1.2.14-1.fc24.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: $ mock -r cucos shell --new-chroot sh-4.3# env | grep RUBYOPT Expected results: $ mock -r cucos shell --new-chroot sh-4.3# env | grep RUBYOPT RUBYOPT=-I/builddir/gem-cucos/lib/ Additional info:
Please note that --unpriv should be reflected as well.
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
This has been fixed in bug 1311796 *** This bug has been marked as a duplicate of bug 1311796 ***