Jon Peatfield wrote:

> Normally config files would be marked %config(noreplace) unless there is 
> a change to the config-syntax, but the package specs sometimes get it 
> wrong, especially ones which perhaps date back to before (noreplace) was 
> an option (or at least a common one!)

Thanks Jon,

I looked into the spec file and here is what's inside :

%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/X11/fs/config

So I believe my config file got replaced because I had not changed
the one delivered with the preceding xorg-x11-xfs package but
there must be a bug somewhere that leads to a config file with
only the lines :

# don't listen on tcp by default
no-listen = tcp

The section of the post-install script that deals with
/etc/X11/fs/config :

if [ -n "$use_unix" ] && ! grep -q "no-listen" /etc/X11/fs/config &> 
/dev/null;then
     echo -e "# don't listen on tcp by default\nno-listen = tcp\n" >> 
/etc/X11/fs/config
fi

It seems the script was applied on an empty config file...
But the config file distributed in the binary RPM is not empty.

So it is mysterious...

JM


-- 
------------------------------------------------------------------------
Jean-michel BARBET                    | Tel: +33 (0)2 51 85 84 86
Laboratoire SUBATECH Nantes France    | Fax: +33 (0)2 51 85 84 79
CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: [log in to unmask]
------------------------------------------------------------------------