Subject: pkg/24844: kdmrc considered "fixed" file by package db
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/19/2004 02:38:42
>Number:         24844
>Category:       pkg
>Synopsis:       kdmrc considered "fixed" file by package db
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 19 02:39:00 UTC 2004
>Originator:     Joachim Thiemann
>Release:        1.6ZK
NetBSD codaget3002 1.6ZK NetBSD 1.6ZK (IBMT30) #0: Mon Mar 15 10:55:39 EST 2004  thiemann@codaget3002:/home/build/sys/arch/i386/compile/IBMT30 i386

The kdebase package considers /usr/pkg/share/kde/config/kdm/kdmrc as a fixed file (it has a MD5 checksum) but it is changed when changing settings in the KDE control panel.  In discussions on tech-pkg (18 March 2004) it was mentioned it should honor PKG_SYSCONFDIR.

This causes problems when trying to upgrade kdebase, and can leave kdm nonfunctional.

This is for kdebase-3.2.1nb1.

From the KDE Control Panel, under "System Administration", select "Login Manager".  Change some settings.  Run "pkg_admin check kdebase" which will return

/usr/pkg/share/kde/config/kdm/kdmrc fails MD5 checksum

Workaround: one of
- don't change kdm settings
- copy kdmrc to other directory (eg, /etc) and invoke kdm with
  "/usr/pkg/bin/kdm -config /etc/kdmrc" (Mark Davies)
- delete leftover files from /usr/pkg/share/kde/config/kdm when upgrading kdebase