Summary: | various permission denied on files as root (may be emerge related, or reiserfs related) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Hanevold <ph> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | kernel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
du -sh / >/dev/null
lsattr /etc/init.d |
Description
Patrick Hanevold
2004-09-28 06:44:09 UTC
*** Bug 65674 has been marked as a duplicate of this bug. *** I have no idea what this bug is about what so ever and I don't think it's a hardened one. Patrick please reassign to the correct maintainer that owns the init.d file in question. I noticed this bounced from hardened@gentoo.org on the suspicion that the init.d file mentioned had something to do with the bug. This bug is not related to the init.d package mentioned what so ever. The same was experienced on a lot of /var/db files before the same thing happened to the file in /etc/init.d. It seems to be a general issue with file permissions. So far its only experienced with files touched by emerge and sub processes. I can offer more detailed analyzis to someone with ideas on what to look for. patrick, you use selinux or another acl system? No, not as I know of. what does `ls -l /etc/init.d/` look like ? do you get a permission denied on that file too ? It looks like this: inspiron ~ # ls -l /etc/init.d/ ls: /etc/init.d/slpd: Permission denied total 376 -rwxr-xr-x 1 root root 5862 Aug 25 20:51 alsasound -rwxr-xr-x 1 root root 2494 Aug 27 16:30 apache2 -rwxr-xr-x 1 root root 5178 Sep 3 17:46 autofs -rwxr-xr-x 1 root root 2808 Sep 2 16:44 bootmisc ...... "find /etc/init.d" does not complain. "du -sh /etc/init.d" gives the same error output as above. I attached the output of "du -sh / >/dev/null" that reveals all files that has this symptom. Created attachment 40759 [details]
du -sh / >/dev/null
Patrick Please paste the output of lsattr /etc/init.d Created attachment 40762 [details]
lsattr /etc/init.d
from strace:
lstat64("/etc/init.d/slpd", 0xbffff060) = -1 EACCES (Permission denied)
ive seen this before with my reiserfs partitions but it was only when they had a little corruption and needed a full fsck run on them please try that (run a full fsck, not just a quick journaled one) on the filesystem ... if that doesnt fix it, please re-open ... i'd also check `dmesg` to see if the reiserfs kernel code has complained about anything |