SCIENTIFIC-LINUX-USERS Archives

September 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jean-Michel Barbet <[log in to unmask]>
Reply To:
Jean-Michel Barbet <[log in to unmask]>
Date:
Thu, 18 Sep 2008 09:03:49 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (45 lines)
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]
------------------------------------------------------------------------

ATOM RSS1 RSS2