Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Harry Putnam <reader@×××××××.com>
Subject: Re: [gentoo-user] Re: When ls command fails but only on $HOME
Date: Mon, 01 Nov 2010 11:07:26
Message-Id: 201011011307.34534.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Re: When ls command fails but only on $HOME by Harry Putnam
1 Apparently, though unproven, at 12:56 on Monday 01 November 2010, Harry Putnam
2 did opine thusly:
3
4 > Alan McKinnon <alan.mckinnon@×××××.com> writes:
5 > > Apparently, though unproven, at 12:28 on Monday 01 November 2010, Harry
6 > > Putnam
7 > >
8 > > did opine thusly:
9 > >> Something I have not run into before.
10 > >>
11 > >> Following a major update still in progress I find the ls command will
12 > >> not run on $HOME.
13 > >>
14 > >> I can view the directory with emacs in dired mode but `ls' simply will
15 > >> not complete... never shows anything and stays hung indefinitely.
16 > >>
17 > >> Top shows 94% idle so its not from heavy system usage.
18 > >>
19 > >> The ls command seems to work anywhere else, and I see nothing peculiar
20 > >> when viewing $HOME with emacs.
21 > >>
22 > >> Running `ls' from a root shell against my user $HOME, is the same story,
23 > >> indefinite hang, nothing listed.
24 > >>
25 > >> I've let it run from both user and root shell for upwards of 1/2 hr.
26 > >> Still just sets there.
27 > >>
28 > >> I've killed the terminal and restarted both user and root shells. But
29 > >> still the same result... a `ls' against my user $HOME will just hang.
30 > >>
31 > >> In both root shell and user shell, once `ls' is run against my user
32 > >> $HOME, the command hangs but also cannot by interrupted. Ctrl-c will
33 > >> not stop it.
34 > >>
35 > >> It only seem to happen on $HOME.... how very odd.
36 > >> Anyone else seen that or have an idea what might be the cause?
37 > >
38 > > By the time the command hits ls itself, the shell has already expanded
39 > > the HOME variable. So it's unlikely to be the command and more something
40 > > dodgy with your shell.
41 > >
42 > > What shell are you using?
43 > > What is the output of "echo $HOME"?
44 >
45 > My shell is xterm... and was just updated to:
46 > Wed Oct 27 10:15:06 2010 >>> x11-terms/xterm-262
47
48 That's the terminal.
49
50 What shell do you use/
51
52
53 >
54 > echo $HOME
55 > /home/reader
56 >
57 > That recent update may be the problem. I'll back that out later to
58 > see, but right now have a bigger and more urgent problem getting mail
59 > back in order following a major update.
60
61 --
62 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Re: When ls command fails but only on $HOME Willie Wong <wwong@××××××××××××××.EDU>
[gentoo-user] Re: When ls command fails but only on $HOME Harry Putnam <reader@×××××××.com>