1 |
On Saturday 07 January 2006 18:54, Holly Bostick wrote: |
2 |
> /usr/lib/X11/xkb/symbols/ |
3 |
|
4 |
> What might that be.....? Does something need to be re-initialized? |
5 |
> Some cache updated? I'm getting a bit confused here. |
6 |
|
7 |
Look at the following command sequence (as my user): |
8 |
|
9 |
[23:13] [sko@aemaeth:~]$ echo $CONFIG_PROTECT |
10 |
/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config |
11 |
[23:13] [sko@aemaeth:~]$ mkdir temp |
12 |
[23:13] [sko@aemaeth:~]$ cd temp |
13 |
[23:13] [sko@aemaeth:~/temp]$ touch pippo |
14 |
[23:13] [sko@aemaeth:~/temp]$ touch ._cfg0000_pippo |
15 |
[23:13] [sko@aemaeth:~/temp]$ export CONFIG_PROTECT="$CONFIG_PROTECT |
16 |
`pwd`" |
17 |
[23:13] [sko@aemaeth:~/temp]$ /usr/sbin/etc-update |
18 |
Scanning Configuration files... |
19 |
find: /etc/cups/certs: Permission denied |
20 |
find: /etc/lvm/archive: Permission denied |
21 |
find: /etc/lvm/backup: Permission denied |
22 |
find: /etc/tomcat-5: Permission denied |
23 |
Automerging trivial changes in: pippo |
24 |
Exiting: Nothing left to do; exiting. :) |
25 |
|
26 |
As you can see, any directory can be added to CONFIG_PROTECT, and |
27 |
scanned with etc-update (see: "automerging trivial changes in: |
28 |
pippo"?). |
29 |
And now: |
30 |
|
31 |
[23:13] [sko@aemaeth:~/temp]$ ll -a |
32 |
total 16 |
33 |
drwxr-xr-x 2 sko sko 4096 Jan 7 23:14 . |
34 |
drwxr-xr-x 168 sko sko 12288 Jan 7 23:13 .. |
35 |
-rw-r--r-- 1 sko sko 0 Jan 7 23:13 pippo |
36 |
[23:13] [sko@aemaeth:~/temp]$ touch ._cfg0000_pippo |
37 |
[23:13] [sko@aemaeth:~/temp]$ export |
38 |
CONFIG_PROTECT_MASK="$CONFIG_PROTECT_MASK `pwd`" |
39 |
[23:13] [sko@aemaeth:~/temp]$ /usr/sbin/etc-update |
40 |
Scanning Configuration files... |
41 |
find: /etc/cups/certs: Permission denied |
42 |
find: /etc/lvm/archive: Permission denied |
43 |
find: /etc/lvm/backup: Permission denied |
44 |
find: /etc/tomcat-5: Permission denied |
45 |
Exiting: Nothing left to do; exiting. :) |
46 |
[23:13] [sko@aemaeth:~/temp]$ |
47 |
|
48 |
The directory ~/temp is listed both in CONFIG_PROTECT and |
49 |
CONFIG_PROTECT_MASK, so nothing is done... |
50 |
|
51 |
Is perhaps "/usr/lib/X11/xkb/symbols/" listed in CONFIG_PROTECT_MASK? |
52 |
|
53 |
Ciao |
54 |
Francesco |
55 |
-- |
56 |
Linux Version 2.6.15-gentoo, Compiled #1 PREEMPT Wed Jan 4 20:40:52 CET |
57 |
2006 |
58 |
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2007.24 Bogomips Total |
59 |
aemaeth |
60 |
-- |
61 |
gentoo-user@g.o mailing list |