Your message dated Sat, 05 Jan 2013 23:48:29 +0000
with message-id <e1trdtz-0000hm...@franck.debian.org>
and subject line Bug#696532: fixed in isdnutils 1:3.25+dfsg1-5
has caused the Debian Bug report #696532,
regarding isdnlog: /etc/isdn/isdnlog.isdnctrl0 is easily destroyed in squeeze 
to wheezy upgrade
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
696532: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696532
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: isdnlog
Version: 1:3.25+dfsg1-3wheezy1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

unfortunately, after the wheezy upgrade the entire ISDN subsystem was
broken here. 

Part of the damage was isdnlog stopped working. After a long search I
finally found /etc/isdn/isdnlog.isdnctrl0 was destroyed (overwritten
with the rate.cfg content).

The analysis of isdnlog.postinst revealed the cause:

31:        tempfile=$(mktemp -t isdnutils.XXXXXX)
(...)
35:        for cfg in isdn.conf rate.conf; do
# tempfile filled with country specific content for $cfg, then
# forwarded to ucf
59:        done
61:        if [ ! -s /etc/isdn/isdnlog.isdnctrl0 ]; then
# skipped in upgrade as /etc/isdn/isdnlog.isdnctrl0 already exists
(...)
63:            sed '/REMOVE the next line/,/REMOVE the above/d' < 
/usr/share/doc/isdnlog/examples/isdnlog.DEVICE > "$tempfile"
# tempfile filled with isdnctrol.isdnctrl* template, skipped in upgrade
(...)
67:        fi
68:        ucf --three-way --debconf-ok "$tempfile" /etc/isdn/isdnlog.isdnctrl0
# /etc/isdn/isdnlog.isdnctrl0 compared with $tempfile, which is still
# some rate.$country stuff

Then the administrator is in charge to detect something went terribly
wrong when a huge change is presented by ucf. Choosing the broken
"maintainer's" version, in the "The diff is huge, I never changed that
file manually, so it's probably OK" mood causes the breakage. 
The "A new version of configuration file /etc/isdn/isdnlog.isdnctrl0
is available, but the version installed currently has been locally
modified" message supports that behaviour.

In my case, at least reverting was easy as etckeeper(1) is installed.

How to fix:

Shouldn't be that difficult. Basically assert there's the right
content in $tempfile, so I think the following does the things
right (not tested):

        sed '/REMOVE the next line/,/REMOVE the above/d' < 
/usr/share/doc/isdnlog/examples/isdnlog.DEVICE > "$tempfile"
        if [ ! -s /etc/isdn/isdnlog.isdnctrl0 ]; then
            echo "Creating default /etc/isdn/isdnlog.isdnctrl0 ."
        fi
        ucf --three-way --debconf-ok "$tempfile" /etc/isdn/isdnlog.isdnctrl0
        ucfr isdnlog /etc/isdn/isdnlog.isdnctrl0
        if [ -x /etc/init.d/isdnutils-base ]; then
          invoke-rc.d isdnutils-base restart isdnlog
        fi

On a related note, there was other trouble but that requires more
checking on my side. At most, are you sure the ISDN-related device
nodes are still created? They are missing here here but the reason
might be, although not likely, the patched vanilla kernel I am running
on that computer. Will double-check with a stock Debian kernel on a
different box in a few days, separate bug report will follow then.

    Christoph

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.4.23 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isdnlog depends on:
ii  debconf       1.5.46
pn  isdnlog-data  <none>

isdnlog recommends no packages.

isdnlog suggests no packages.

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: isdnutils
Source-Version: 1:3.25+dfsg1-5

We believe that the bug you reported is fixed in the latest version of
isdnutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 696...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rolf Leggewie <f...@rolf.leggewie.biz> (supplier of updated isdnutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 25 Dec 2012 23:42:42 +0100
Source: isdnutils
Binary: isdnutils-base isdnutils-xtools ipppd isdnlog isdnlog-data 
isdnutils-doc isdnvbox isdnvboxclient isdnvboxserver capiutils libcapi20-3 
libcapi20-dev pppdcapiplugin
Architecture: source i386 all
Version: 1:3.25+dfsg1-5
Distribution: experimental
Urgency: low
Maintainer: Rolf Leggewie <f...@rolf.leggewie.biz>
Changed-By: Rolf Leggewie <f...@rolf.leggewie.biz>
Description: 
 capiutils  - ISDN utilities - tools for CAPI-capable cards
 ipppd      - ISDN utilities - PPP daemon
 isdnlog    - ISDN utilities - connection logger
 isdnlog-data - ISDN utilities - connection logger data
 isdnutils-base - ISDN utilities - minimal set
 isdnutils-doc - ISDN utilities - documentation
 isdnutils-xtools - ISDN utilities - graphical tools
 isdnvbox   - ISDN utilities - answering machine dependency package
 isdnvboxclient - ISDN utilities - answering machine client
 isdnvboxserver - ISDN utilities - answering machine server
 libcapi20-3 - ISDN utilities - CAPI support libraries
 libcapi20-dev - ISDN utilities - CAPI development libraries
 pppdcapiplugin - ISDN utilities - pppd plug-in for CAPI support
Closes: 671297 696532 696660
Changes: 
 isdnutils (1:3.25+dfsg1-5) experimental; urgency=low
 .
   [ Rolf Leggewie ]
   * debian/control: let libcapi20-dev conflict with older version of
     isdnutils-base. Closes: #671297
 .
   [ Christoph Biedl ]
   * isdnlog: make sure postinst works as expected on package upgrades.
     Closes: #696532
   * unbreak debian/{ipppd,isdnlog}.config once more. Closes: #696660
Checksums-Sha1: 
 18aa46cf1bfd044a2a2fd8349b9cbd0f249d299b 2734 isdnutils_3.25+dfsg1-5.dsc
 ed6489b5dcf8be6025221301bd0734e52567f77b 248265 
isdnutils_3.25+dfsg1-5.debian.tar.gz
 ccc82a45afc93b2a9cbf17a71fbf5cd5890700d2 151960 
isdnutils-base_3.25+dfsg1-5_i386.deb
 1cfc26c3d8bbc1b3da56ad497543077253bd18a0 57366 
isdnutils-xtools_3.25+dfsg1-5_i386.deb
 0c53ae4fd657aa29a9dd63d7da2b06d4dc6e8712 190800 ipppd_3.25+dfsg1-5_i386.deb
 bc2418e897b8615f8df1d3bce7e119518b28bd40 542022 isdnlog_3.25+dfsg1-5_i386.deb
 2fe7a4ac8453f4b467ae6bd0f1d41f4e89bde801 842494 
isdnlog-data_3.25+dfsg1-5_all.deb
 307cd41dd00ce7ee3193e0b36ddc42649878d483 693916 
isdnutils-doc_3.25+dfsg1-5_all.deb
 f213e4e643cbce8f9841121e614cb01d10d239bc 36296 isdnvbox_3.25+dfsg1-5_i386.deb
 2457d1ca3bef644c27debbfa796a35ca5d0115ab 80478 
isdnvboxclient_3.25+dfsg1-5_i386.deb
 004074f2bae60229570c9f2d092394164b32b823 124124 
isdnvboxserver_3.25+dfsg1-5_i386.deb
 5b8d96001a624727d124954e606b072ec68027fc 88214 capiutils_3.25+dfsg1-5_i386.deb
 d2a028b3a7f089ef565fb30fbd4217f82c28a09f 67790 
libcapi20-3_3.25+dfsg1-5_i386.deb
 8212a3d903b0c8a7e6efbaf90a0d7b1f8bf84485 36360 
libcapi20-dev_3.25+dfsg1-5_i386.deb
 7e4acd3d191e8dfad0bfae10edd7d4a8c1e5651e 72152 
pppdcapiplugin_3.25+dfsg1-5_i386.deb
Checksums-Sha256: 
 cc2081f9b5594abae99cf36ee4c0c575890e8f8f224fce3c575f3ea7c465e3f3 2734 
isdnutils_3.25+dfsg1-5.dsc
 1e8992eec5e898e8487e326e71ed92f251f1138479f9bd6bcebd9ca4e19317c7 248265 
isdnutils_3.25+dfsg1-5.debian.tar.gz
 295c519dcfda5fb821d548e061a2bf6324d2435be2d549960571bb79ea251167 151960 
isdnutils-base_3.25+dfsg1-5_i386.deb
 0e34814c9f096267163b531d7447dcf1d6cf3de67603138ceaa8ebf2aad55fe1 57366 
isdnutils-xtools_3.25+dfsg1-5_i386.deb
 6fd72848d50dd31e0685f915289b69ef4067d7f96af8f250e1962604e1be9e12 190800 
ipppd_3.25+dfsg1-5_i386.deb
 ae3e549e625dd5280329118c925e777fbd840f752e2626f549588c808261a313 542022 
isdnlog_3.25+dfsg1-5_i386.deb
 1877afe6feddf17c4352721a83a9057689e71723a7376e86983e886133d97e65 842494 
isdnlog-data_3.25+dfsg1-5_all.deb
 4737f1d70e3e1251151664ce0e6d848b42e8d355178d18f31a792d300daf53d0 693916 
isdnutils-doc_3.25+dfsg1-5_all.deb
 a7ff6de8f29b00295aa1d3b20a22c24900af3eed38e7d5f115b9a13677de41e2 36296 
isdnvbox_3.25+dfsg1-5_i386.deb
 904fa16795db829171e0f5861b9f2fb0820def7f1430e4f2b3ea58e5009c6c66 80478 
isdnvboxclient_3.25+dfsg1-5_i386.deb
 9977569fdcc1b39128ddb2b72ac13454e9c3c18c3f51eb324e466e7ebd265c85 124124 
isdnvboxserver_3.25+dfsg1-5_i386.deb
 e70d2ce2461147b9eb563298f4e3ffb7c40dc05d8e61cac8b5201b8cd16c87ad 88214 
capiutils_3.25+dfsg1-5_i386.deb
 3087627142c26fbf20e763f77c428e484a8f445be88d6a96fe1756f38cd0b618 67790 
libcapi20-3_3.25+dfsg1-5_i386.deb
 4e4ebbffae48ec800b2d92f29d5a7d47c5a236ca51942eb3f3222324bb6af3ac 36360 
libcapi20-dev_3.25+dfsg1-5_i386.deb
 fb1f4089ba3040d45d1c9cf1d7f261d43f1672b85170e1a120338147d2db94b2 72152 
pppdcapiplugin_3.25+dfsg1-5_i386.deb
Files: 
 506e297c647e60853f0edaf7a7bd4d44 2734 utils extra isdnutils_3.25+dfsg1-5.dsc
 9fc4aac15df68fad06cb8ee29f7cd9dc 248265 utils extra 
isdnutils_3.25+dfsg1-5.debian.tar.gz
 0387aab02eb62bc6d935c1e723f450f2 151960 utils optional 
isdnutils-base_3.25+dfsg1-5_i386.deb
 94b5acbb515f13589fe078b39728bb26 57366 x11 extra 
isdnutils-xtools_3.25+dfsg1-5_i386.deb
 7d88e465f8504f25f2171a9f6dda2653 190800 net extra ipppd_3.25+dfsg1-5_i386.deb
 9e3aa39589d45015d19ab032cc8e1651 542022 utils extra 
isdnlog_3.25+dfsg1-5_i386.deb
 2f0bd7a3f7fa395562a4f8f7f34b0aba 842494 utils extra 
isdnlog-data_3.25+dfsg1-5_all.deb
 07d34dc941b48e3ea771958a917d1b20 693916 doc extra 
isdnutils-doc_3.25+dfsg1-5_all.deb
 574aad46dd0d766af1460ba13d1eec06 36296 utils extra 
isdnvbox_3.25+dfsg1-5_i386.deb
 34ec5f390733da6f4eb4793e94b9358c 80478 utils extra 
isdnvboxclient_3.25+dfsg1-5_i386.deb
 7b3bfb531fd196be10961be56a9b7b3a 124124 utils extra 
isdnvboxserver_3.25+dfsg1-5_i386.deb
 0f21fb372c073381ef5f7769d9006675 88214 net extra 
capiutils_3.25+dfsg1-5_i386.deb
 e3fe4b487f1ac615a5e95ff70250b776 67790 libs extra 
libcapi20-3_3.25+dfsg1-5_i386.deb
 2675065efecda06f3c30a52e9883c38f 36360 libdevel extra 
libcapi20-dev_3.25+dfsg1-5_i386.deb
 dfa3ab9929009717e07f87939606758a 72152 net extra 
pppdcapiplugin_3.25+dfsg1-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQ6LmfAAoJEJSEK8huURwxH5AP/2qtOH972WPqUkNaHSq1eRvq
QYdT4HFOY5tUK0VlvYorU/P7VwQ7u+Ez+jqz4ydFALkcHclJYIGnq0+pqYGu2RXH
aRW7tPEXT9O5Fq84P/OOX+DhY7T91U9sTNU/ZCOcFLRSBJHoJSymqOJXoFQQKMqa
ad1XgLDvsubjhGKnrGLo5VxkYOWrhBP9HcHpjBI2/hMAWMpOKfaweVUm2s/7//1b
A7y7pEHw2aOa4rkS9d7qglIfFEfyq7rZwe8yUY03Qkrr9Logof88rgCL4ls+lZAn
uEgoKEhwqPiWZ9iCcIM6BsFlnysx1Jc8n+ksMr/8hRfAUDLXIy6N/HCiJYQ956/m
PZMcOjZwN3l633QnNnVcL9r7xF6NAPMRB+kvKLyBYRbmWigXMJxDhnKcqv28ihY2
01SPgMKiRtpeqlaAgnoX2+/yLIQfRvMCRnOb1gF8QcGZb4S1qYscPKFI4a6qeD81
hp0eiqfYTrnX+xTEgqcfewxlA84bcQkFSu6tTUISbFWTXAdQDDVPzvlaJGVQshDu
cuTNyDshJOLNelwr+WWxHPIhJq2niye0pRLCZN3Pw4qHGi2qe0zUOVajqQjoAbBF
vTvywxRB7VYuNTPJTxQig6Y6ma10kaGjvsTWVU8worVbuK0Fx/Zla+n1QB0Y08RC
BBna4wptP7NcR/sxwVup
=jVDv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to