[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#233775: kdm stores/uses config files in /usr/share/config/kdm



On Thursday 19 February 2004 23:53, Chris Cheney wrote:
> On Thu, Feb 19, 2004 at 11:08:50PM +0100, Achim Bohnet wrote:
> > Package: kdm
> > Version: 4:3.2.0-0pre1v1
> > Severity: normal
> > 
> > 
> > kdm 3.2.0 from people repo installs config files in /usr/share/config/kdm.
> > The files in this this have additional hardcoded path to the same dir.
> > Unfortunately /usr/share/config is _not_ a link to /etc/kde3 but a real
> > dir.
> > 
> > Strange is that kdm ignores the /etc/kde3/kdm/kdmrc despite the fact
> > that kde-config --path config lists:
> > /root/.kde/share/config/:/etc/kde3/:/usr/share/config/
> > 
> > Proposed solution:  Continue to not install /etc/kderc and make /usr/share/config
> > a link to /etc/kde3.   Additionally the patch in kdm/* should be
> > adjusted to use /etc/kde3/... paths and not /usr/share/config.
> 
> Installing directly into /etc/kde3 is not a good solution for the
> upstream "config" files since dpkg at various times decides not to
> install the config files at all, which completely breaks KDE. This has
> been the source of problems with KDE in Debian for a long time. However,
> I will bug upstream about the problem with respect to it not looking in
> kde-config --path config.

Unfortunately that's no solution (IMHO). First time KDE users would have
an empty /etc/kde3 and therefore even installing, e.g., and Xservers
file in /etc/kde3/kdm does not help because kdmrc explicitely
refers to Xservers in /usr/share/config/kdm.   Second: to customize
things one would have to do a cp /usr/share/config/<whatever> /etc/kde3/
and the edit it.  Aren't we here in trouble with policy?!

AFAIU only reason for dpkg not to install a config file is when
the old and new pkg had the config file but the config file does
not exist when a pkg was updated.  But then the apps did also
not work before the update.

So either dpkg has a not yet reported RC bug or KDE upgrade
is broken.   Anyone recall another reason dpkg does not install
a config file beside the one I described above?

Achim
> 
> Chris
> 

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy@lion.austin.ibm.com



Reply to: