Hi, all,

For some time I've been getting messages like:

cannot properly execute
/var/lib/layman/science/virtual/lapack/lapack-3.6-r100.ebuild

for *every* package in the science overlay.  This happened on 2 of 3
very similar gentoo
systems I maintain, but not the third.  As far as I could tell, the
permissions and
ownership of all /etc/portage and /usr/portage and /var/lib/layman
files and directories
are identical.  All the machines have the same /etc/passwd and /etc/group files,
the same /var/lib/portage/world files, and so on.  I've gone to some
effort to make these
machines as identical as possible.  I have done layman -d science then layman -a
science to see if wiping out the overlay then reinstalling it would
help, but that makes no
difference.

Googling the error produces just a few hits that recommend permissions
and ownerships
that helped solve this problem for others, but don't help me.

It appears that this error message comes from /usr/bin/eix.  I've
looked through the
source code a bit, but it's been long enough since I've messed with C
that this didn't
yield any answers.

strace indicates that eix does an lstat on every element of
/var/lib/layman/science/virtual/lapack/lapack-3.6-r100.ebuild before
deciding to print the
error message.  It also indicates that eix does a setuid and setgid to
portage:portage
early in its execution.  As far as I can tell, portage:portage ought
to be able to both read
and execute this ebuild (and all the other ones eix complains about).

And now, out of the blue apparently, the third system has started
spitting out this error
message as well.

Any ideas on how to debug this?

John Blinka

Reply via email to