[gentoo-user] Re: Bizarre etc/cfg-update problem

2006-01-07 Thread Francesco Talamona
On Saturday 07 January 2006 18:54, Holly Bostick wrote:
 /usr/lib/X11/xkb/symbols/

 What might that be.? Does something need to be re-initialized?
 Some cache updated? I'm getting a bit confused here.

Look at the following command sequence (as my user):

[23:13] [EMAIL PROTECTED]:~]$ echo $CONFIG_PROTECT
/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env 
/usr/kde/3.5/shutdown /usr/share/config
[23:13] [EMAIL PROTECTED]:~]$ mkdir temp
[23:13] [EMAIL PROTECTED]:~]$ cd temp
[23:13] [EMAIL PROTECTED]:~/temp]$ touch pippo
[23:13] [EMAIL PROTECTED]:~/temp]$ touch ._cfg_pippo
[23:13] [EMAIL PROTECTED]:~/temp]$ export CONFIG_PROTECT=$CONFIG_PROTECT 
`pwd`
[23:13] [EMAIL PROTECTED]:~/temp]$ /usr/sbin/etc-update
Scanning Configuration files...
find: /etc/cups/certs: Permission denied
find: /etc/lvm/archive: Permission denied
find: /etc/lvm/backup: Permission denied
find: /etc/tomcat-5: Permission denied
Automerging trivial changes in: pippo
Exiting: Nothing left to do; exiting. :)

As you can see, any directory can be added to CONFIG_PROTECT, and 
scanned with etc-update (see: automerging trivial changes in: 
pippo?).
And now:

[23:13] [EMAIL PROTECTED]:~/temp]$ ll -a
total 16
drwxr-xr-x2 sko sko  4096 Jan  7 23:14 .
drwxr-xr-x  168 sko sko 12288 Jan  7 23:13 ..
-rw-r--r--1 sko sko 0 Jan  7 23:13 pippo
[23:13] [EMAIL PROTECTED]:~/temp]$ touch ._cfg_pippo
[23:13] [EMAIL PROTECTED]:~/temp]$ export 
CONFIG_PROTECT_MASK=$CONFIG_PROTECT_MASK `pwd`
[23:13] [EMAIL PROTECTED]:~/temp]$ /usr/sbin/etc-update
Scanning Configuration files...
find: /etc/cups/certs: Permission denied
find: /etc/lvm/archive: Permission denied
find: /etc/lvm/backup: Permission denied
find: /etc/tomcat-5: Permission denied
Exiting: Nothing left to do; exiting. :)
[23:13] [EMAIL PROTECTED]:~/temp]$

The directory ~/temp is listed both in CONFIG_PROTECT and 
CONFIG_PROTECT_MASK, so nothing is done...

Is perhaps /usr/lib/X11/xkb/symbols/ listed in CONFIG_PROTECT_MASK?

Ciao
Francesco
-- 
Linux Version 2.6.15-gentoo, Compiled #1 PREEMPT Wed Jan 4 20:40:52 CET 
2006
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2007.24 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Bizarre etc/cfg-update problem

2006-01-07 Thread Francesco Talamona
On Saturday 07 January 2006 23:24, Francesco Talamona wrote:
 On Saturday 07 January 2006 18:54, Holly Bostick wrote:
  /usr/lib/X11/xkb/symbols/
 
  What might that be.? Does something need to be re-initialized?
  Some cache updated? I'm getting a bit confused here.

[...]
I'm wrong, the second call to /usr/sbin/etc-update did the *same* thing, 
but *silently*, it left no ._cfg_* file behind...

Sorry for the noise :-)

ciao
Francesco
-- 
Linux Version 2.6.15-gentoo, Compiled #1 PREEMPT Wed Jan 4 20:40:52 CET 
2006
One 2GHz AMD Athlon 64 Processor, 2GB RAM, 4014.49 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list