When the user hasn't permission to write /etc/ld.so.conf the error message is bad Reproducible: Always Steps to Reproduce: 1.env-update as a normal user 2. 3. Actual Results: bash-2.05b$ /usr/sbin/env-update && source /etc/profile PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. Traceback (most recent call last): File "/usr/sbin/env-update", line 11, in ? portage.env_update() File "/usr/lib/portage/pym/portage.py", line 541, in env_update myfd=open(root+"etc/ld.so.conf","w") IOError: [Errno 13] Permission denied: '/etc/ld.so.conf' Expected Results: An error message like the one emerge gives: bash-2.05b$ emerge fslkj PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. emerge: root access required.
Created attachment 68525 [details, diff] env-update.patch This simple patch should fix the problem.
This has been released in 2.1.2-r5.