Package: liblemonldap-ng-common-perl
Version: 2.21.0+ds-2
Severity: serious

When upgrading a system from Debian bookworm to Debian trixie, with liblemonldap-ng-common-perl installed, the upgrade prompts for a conffile change. However that file was never modified in the first place, so prompting is inappropriate.

Command to reproduce below.

Setting up liblemonldap-ng-common-perl (2.21.0+ds-2) ...

Configuration file '/var/lib/lemonldap-ng/conf/lmConf-1.json'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** lmConf-1.json (Y/I/N/O/D/Z) [default=N] ? d
--- /var/lib/lemonldap-ng/conf/lmConf-1.json    2025-05-01 13:44:50.990212377 
+0000
+++ /var/lib/lemonldap-ng/conf/lmConf-1.json.dpkg-new   2025-04-07 
19:06:38.000000000 +0000
@@ -87,7 +87,7 @@
    "cfgAuthor" : "The LemonLDAP::NG team",
    "cfgDate" : "1627287638",
    "cfgNum" : 1,
-   "cfgVersion" : "2.16.1",
+   "cfgVersion" : "2.18.0",
    "cookieName" : "lemonldap",
    "demoExportedVars" : {
       "cn" : "cn",
@@ -116,7 +116,7 @@
    "localSessionStorage" : "Cache::FileCache",
    "localSessionStorageOptions" : {
       "cache_depth" : 3,
-      "cache_root" : "/var/lib/lemonldap-ng/cache",
+      "cache_root" : "/var/cache/lemonldap-ng",
       "default_expires_in" : 600,
       "directory_umask" : "007",
       "namespace" : "lemonldap-ng-sessions"
@@ -170,5 +170,6 @@
    "sessionDataToRemember" : {},
    "timeout" : 72000,
    "userDB" : "Same",
+   "webauthnDefaultTransports" : "usb, nfc, ble, internal",
    "whatToTrace" : "_whatToTrace"
 }

Configuration file '/var/lib/lemonldap-ng/conf/lmConf-1.json'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** lmConf-1.json (Y/I/N/O/D/Z) [default=N] ?


Reproducer:

  mmdebstrap --variant=apt --include=liblemonldap-ng-common-perl --chrooted-customize-hook='sed 
-e s/stable/testing/ -i /etc/apt/sources.list && apt update && apt dist-upgrade 
-y' stable /dev/null

Best,
Chris

Reply via email to