View previous topic :: View next topic |
Author |
Message |
g.tomassoni n00b
Joined: 13 Aug 2005 Posts: 51
|
Posted: Thu Aug 03, 2006 2:25 pm Post subject: "ls -la" hangs in genkernel-3.4.0 |
|
|
Dears,
I sometime get a problem using genkernel on a system with a reiserfs root fs: during the "module-init-tools: >> Configuring" phase, genkernel hangs.
I found this to happen when genkernel runs the "./configure" script in the "${MODULE_INIT_TOOLS_DIR}". The script hangs in a "ls -T" command.
I then tried to see why, so I unpacked the genkernel copy of the module-init-tools package (/usr/share/genkernel/pkg/module-init-tools-0.9.15-pre4.tar.bz2), cd into it and tried to issue an "ls -la". As expected, the command hang.
Trying to find why, it turned out to be the fact that the module-init-tools-0.9.15-pre4.tar.bz2 tarball contains files with owner uid 1000 and group gid 1000. If i change ownership and groupship to, say, 0 and 0, the "ls -la" command terminates as expected.
Of course, I'm doing a bzipped tarball of the chown'd directory in order to substitute the current usr/share/genkernel/pkg/module-init-tools-0.9.15-pre4.tar.bz2 with it. This should easily fix my genkernel issue.
However, I'm trying to figure out why this happens: is it my sys-apps/coreutils-5.94-r1 package? Is it a reiserfs bug in my gentoo-sources-2.6.16-r13? Is it sys-libs/glibc-2.3.6-r4 problem?
Is there anybody else experiencing the same?
Regards.
PS: The reiserfs module in the running os (a gentoo-sources-2.6.16-r13) is configured this way:
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y |
|
Back to top |
|
|
g.tomassoni n00b
Joined: 13 Aug 2005 Posts: 51
|
Posted: Thu Aug 03, 2006 2:35 pm Post subject: |
|
|
Well, I just found it is the fact that my /etc/passwd and my /etc/group miss respectively the uid 1000 and gid 1000. Adding it to them solved the problem. This probably means that the reiserfs module is not involved in the problem.
Now the trouble is restricted to the following two packages:
- sys-apps/coreutils-5.94-r1
- sys-libs/glibc-2.3.6-r4
Which one?
Please note I'm using nscd from sys-libs/glibc-2.3.6-r4. |
|
Back to top |
|
|
g.tomassoni n00b
Joined: 13 Aug 2005 Posts: 51
|
Posted: Thu Aug 03, 2006 2:56 pm Post subject: |
|
|
Found. Misconfigured /etc/nsswitch.conf...
Bye! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|