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

2004-02-19 Thread Chris Cheney
In kdm's case I think I will look into what it would take to make it
have a seperate configurable config dir, maybe make it use
$sysconf/X11/kdm instead or something like that, it has no reason to
have multiple configs, for example individual users don't have configs
for it.

Chris


signature.asc
Description: Digital signature


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

2004-02-19 Thread Chris Cheney
On Fri, Feb 20, 2004 at 12:21:49AM +0100, Achim Bohnet wrote:
> 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/ /etc/kde3/
> and the edit it.  Aren't we here in trouble with policy?!

Yes, fixing kdm to use kde-config may take a bit of work.

Most of the "config" files in /etc/kde3 were not really meant to be user
modified. And yes I know KDE is a huge mess upstream, it has slowly been
getting cleaned up. In another 10 years it might be as cleaned up as
Gnome is today.

> 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.

I don't know what causes it, but it seems to happen fairly frequently.
And until I made the patch in 3.2.0-0pre1v1 to look at both locations
the config files hadn't moved in a very long time. So I really doubt it
was a case of disappearing/reappearing config files in the KDE debs
themselves.

> 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?

It would seem to be a bug in dpkg, at least afaict. But from what I've
read of dpkg people stay as far away as possible from its code.

Chris


signature.asc
Description: Digital signature


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

2004-02-19 Thread Achim Bohnet
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/ /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.
  -- [EMAIL PROTECTED]



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

2004-02-19 Thread Chris Cheney
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.

Chris


signature.asc
Description: Digital signature


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

2004-02-19 Thread Achim Bohnet
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.

Achim

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux allee 2.4.22-20030830-marlow #1 l�r aug 30 21:17:29 CEST 2003 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages kdm depends on:
ii  debconf  1.3.22  Debian configuration management sy
ii  kdelibs4 4:3.2.0-0pre1v1 KDE core libraries
ii  libart-2.0-2 2.3.16-1Library of functions for 2D graphi
ii  libc62.3.2.ds1-11GNU C Library: Shared libraries an
ii  libfam0c102  2.6.10-6client library to control the FAM 
ii  libgcc1  1:3.3.3-0pre3   GCC support library
ii  libpam0g 0.76-15 Pluggable Authentication Modules l
ii  libpng12-0   1.2.5.0-4   PNG library - runtime
ii  libqt3c102-mt3:3.2.3-2   Qt GUI Library (Threaded runtime v
ii  libstdc++5   1:3.3.3-0pre3   The GNU Standard C++ Library v3
ii  libxrender1  0.8.3-5 X Rendering Extension client libra
ii  xbase-clients4.2.1-12.1  miscellaneous X clients
ii  xlibs4.2.1-12.1  X Window System client libraries
ii  zlib1g   1:1.2.1-3   compression library - runtime

-- debconf information excluded

-- 
  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.
  -- [EMAIL PROTECTED]