Gentoo Archives: gentoo-user

From: Zhu Sha Zang <zhushazang@×××××××××.br>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [SOLVED]Problem to erase some temp directory
Date: Sat, 23 Aug 2008 20:55:00
Message-Id: 48B07893.5000600@yahoo.com.br
In Reply to: Re: [gentoo-user] Problem to erase some temp directory by Andrey Falko
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Andrey Falko escreveu:
5 | On Wed, Jul 30, 2008 at 12:34 AM, Zhu Sha Zang
6 <zhushazang@×××××××××.br> wrote:
7 | Andrey Falko escreveu:
8 | | On Tue, Jul 29, 2008 at 11:49 PM, Zhu Sha Zang <zhushazang@×××××××××.br>
9 | wrote:
10 | | Hi everybody,
11 | |
12 | | I have some disaster in my desktop system because i'm erased my /lib.
13 | | Well, i've solved this problem unpacking stage-3 over my system, and
14 | emerge
15 | | -e world.
16 | | My system working very well now, but a weak problem appear.
17 | |
18 | | In boot, when tmpdir tried to be cleaned, some messages appear that the
19 | some
20 | | directories don't be erased., this:
21 | |
22 | | drwxrwxrwx 2 root 1003 4.0K Jul 13 08:24 ashura
23 | | drwxrwxrwx 2 505 101 4.0K Jul 15 11:41 dasusr1
24 | | drwxrwxrwx 2 507 102 4.0K Jul 15 11:41 db2inst1
25 | | drwxrwx--T 7 root rodolfo 4.0K Jul 30 03:34 rodolfo
26 | | drwx-----T 2 root root 4.0K Jul 30 00:06 root
27 | |
28 | | I've tried to remove this directories usimg root after boot, and receive
29 | | this message:
30 | |
31 | | sakurazukamori .private # rm -rf *
32 | | rm: cannot remove directory `ashura': Operation not permitted
33 | | rm: cannot remove directory `dasusr1': Operation not permitted
34 | | rm: cannot remove directory `db2inst1': Operation not permitted
35 | | rm: cannot remove directory `rodolfo': Operation not permitted
36 | | rm: cannot remove directory `root': Operation not permitted
37 | |
38 | | Thinking in some service using this directories, i've tried boot a
39 gentoo
40 | | livecd and erase archies but the same problem appear.
41 | | I used too fsck on this ext3 file system, none errors on fylesystem are
42 | | detected.
43 | |
44 | | Some tricks?
45 | | thnks for now
46 | |>
47 | |>
48 | |>
49 | |>
50 | |>
51 | |>
52 | _______________________________________________________ Yahoo! Mail -
53 Sempre
54 | a melhor opção para você! Experimente já e veja as novidades.
55 | http://br.yahoo.com/mailbeta/tudonovo/
56 | |>
57 | |>
58 |
59 | | You might have extended attributes enabled. What happens when you run
60 | | lsattr on that directory? If you don't have lsattr, emerge e2fsprogs.
61 |
62 | Using lsattr -Ra in /tmp:
63 |
64 | sakurazukamori tmp # lsattr -Ra
65 | ----------I--- ./.
66 | -------------- ./..
67 | -------------- ./.X0-lock
68 | -------------- ./.ICE-unix
69 |
70 | ./.ICE-unix:
71 | lsattr: Operation not supported While reading flags on
72 | ./.ICE-unix/dcop4790-1217369151
73 | ----------I--- ./.ICE-unix/..
74 | -------------- ./.ICE-unix/.
75 |
76 | -----a-------- ./.private
77 |
78 | ./.private:
79 | -------------- ./.private/ashura
80 |
81 | ./.private/ashura:
82 | -----a-------- ./.private/ashura/..
83 | -------------- ./.private/ashura/.
84 |
85 | -------------- ./.private/db2inst1
86 |
87 | ./.private/db2inst1:
88 | -----a-------- ./.private/db2inst1/..
89 | -------------- ./.private/db2inst1/.
90 |
91 | -------------- ./.private/rodolfo
92 |
93 | ./.private/rodolfo:
94 | -----a-------- ./.private/rodolfo/..
95 | -------------- ./.private/rodolfo/.
96 |
97 | ----------I--- ./.private/..
98 | -------------- ./.private/dasusr1
99 |
100 | ./.private/dasusr1:
101 | -----a-------- ./.private/dasusr1/..
102 | -------------- ./.private/dasusr1/.
103 |
104 | -----a-------- ./.private/.
105 | -------------- ./.private/root
106 |
107 | ./.private/root:
108 | -----a-------- ./.private/root/..
109 | -------------- ./.private/root/.
110 |
111 |
112 | -------------- ./gpg-j3M7SQ
113 |
114 | ./gpg-j3M7SQ:
115 | lsattr: Operation not supported While reading flags on
116 | ./gpg-j3M7SQ/S.gpg-agent
117 | ----------I--- ./gpg-j3M7SQ/..
118 | -------------- ./gpg-j3M7SQ/.
119 |
120 | -------------- ./.X11-unix
121 |
122 | ./.X11-unix:
123 | lsattr: Operation not supported While reading flags on ./.X11-unix/X0
124 | ----------I--- ./.X11-unix/..
125 | -------------- ./.X11-unix/.
126 |
127 |>
128 |>
129
130 | As I suspected, you have some extended attributes set. Do you know how
131 | this could have happen? You willl have to unset them. How I don't
132 | know. When this happen to me with JFS, I trashed the filesystem and
133 | never looked back. This however is happening to ext3!, so I am very
134 | surprised.
135
136 I've used chattr to change de attributes and erased like any arch.
137
138 Tanks for help!
139 -----BEGIN PGP SIGNATURE-----
140 Version: GnuPG v2.0.9 (GNU/Linux)
141 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
142
143 iEYEARECAAYFAkiweJEACgkQbLyL8mxGP9Q9iQCg0M+H1kknXYb4Syawa7GcvFmT
144 pM8AoKQFBcQpsXLxNpZ5PWrnxiDMfqBF
145 =wpaz
146 -----END PGP SIGNATURE-----
147
148 __________________________________________________
149 Faça ligações para outros computadores com o novo Yahoo! Messenger
150 http://br.beta.messenger.yahoo.com/