It happens so that I had files under /etc/portage/package.accept_keywords with permissions of -rw------- root root. While it wasn't problem for emerging stuff, eix appears to switch to the portage user before reading them. As a result I got tons of confusing complains when, for example, running eix-test-obsolete.
What I expect the tool to give me in such a situation would be a error message in output, something like:
eix-text-obsolete: cannot open /etc/portage/package.accept_keywords/default: Permission denied
so I would easily spot the issue and fix the permissions.
A quick glance into the code shows that this might originate from methods like PortageUserConfig::readKeywords, which call pushback_lines to read the portage config files, but instead of providing errtext to pushback_lines just silently return.
It happens so that I had files under
/etc/portage/package.accept_keywordswith permissions of-rw------- root root. While it wasn't problem for emerging stuff, eix appears to switch to theportageuser before reading them. As a result I got tons of confusing complains when, for example, runningeix-test-obsolete.What I expect the tool to give me in such a situation would be a error message in output, something like:
so I would easily spot the issue and fix the permissions.
A quick glance into the code shows that this might originate from methods like
PortageUserConfig::readKeywords, which callpushback_linesto read the portage config files, but instead of providingerrtexttopushback_linesjust silently return.