Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Is this cruft in my /tmp?
Date: Sat, 22 Jul 2006 22:56:54
Message-Id: 200607222350.42913.michaelkintzios@gmail.com
1 Hi All,
2
3 I was checking my /tmp and noticed a rather large number of two different
4 types of files. By far the largest number (some hundreds of files) are of
5 the type:
6
7 prw------- 1 root root 0 Jun 29 23:13 sh-np-1151622697
8 prw------- 1 root root 0 Jun 29 17:44 sh-np-1151623392
9 prw------- 1 root root 0 Jun 29 17:44 sh-np-1151623817
10 prw------- 1 root root 0 Jun 29 23:13 sh-np-1151630251
11 prw------- 1 root root 0 Jun 29 19:41 sh-np-1151630339
12 prw------- 1 root root 0 Jul 1 01:14 sh-np-1151697722
13 prw------- 1 root root 0 Jun 30 21:28 sh-np-1151698413
14
15 Are these some process calls that were cought in the /tmp when perhaps the
16 machine crashed some time in the past, or when I might have shutdown with
17 screen session(s) running in the background - I occasionally forget the odd
18 screen session and since I don't get some system alert I invariably shutdown.
19 8-/ However, there's far too many of them and their atimes seem rather
20 regular. Can/should I delete them?
21
22 Second largest occurrence I noticed (around 130 dir) is like this:
23
24 drwx------ 2 michael users 80 Jul 19 08:51 gpg-pYdYc1
25 drwx------ 2 michael users 80 Jul 19 06:59 gpg-pgQnty
26 drwx------ 2 michael users 80 Apr 24 07:51 gpg-qHHiXP
27 drwx------ 2 michael users 80 Jul 15 00:34 gpg-qT7BVZ
28 drwx------ 2 michael users 80 Jul 10 21:36 gpg-qcGu33
29 drwx------ 2 michael users 80 May 1 12:18 gpg-rqoxKq
30 drwx------ 2 michael users 80 Jul 10 20:28 gpg-sefR85
31
32 Not sure why there are so many of these there. I assume these are created
33 when gpg-agent is launched and sets the ENV variable? Each one of them has a
34 file like this in it:
35
36 # ls -la /tmp/gpg-VLQYJv
37 total 159
38 drwx------ 2 michael users 80 Jul 8 12:31 .
39 drwxrwxrwt 156 root root 162528 Jul 22 23:12 ..
40 srwxr-xr-x 1 michael users 0 Jul 8 12:31 S.gpg-agent
41
42 Are these beign created by some error in my set up? Shouldn't they be deleted
43 when the gpg-agent exits, when I exit X? Can/should I remove them? If
44 either of these are because of some system configuration error could you
45 please make some suggestions for troubleshooting or fixing it? Let me know
46 if you need more info.
47 --
48 Regards,
49 Mick

Replies

Subject Author
Re: [gentoo-user] Is this cruft in my /tmp? Philip Webb <purslow@×××××××××.ca>