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

Bug#458524: marked as done (debian-edu-config: Left behind obsolete init.d script and other conffiles)



Your message dated Thu, 07 Feb 2008 09:47:02 +0000
with message-id <E1JN3LS-0002CS-9z@ries.debian.org>
and subject line Bug#458524: fixed in debian-edu-config 1.417
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debian-edu-config
Version: 0.415
Severity: important

By coincident I discovered that discover-data had an obsolete init.d
script loadcpufreq laying around.  It should have been removed from
the disk when the script was dropped from the package, but wasn't:

  minerva:/# dpkg-query -W -f='${Conffiles}' debian-edu-config|grep init.d|grep obsolete
   /etc/init.d/loadcpufreq 5cf8c5572d789beaf18d79fc52f95665 obsolete
  minerva:/# md5sum /etc/init.d/loadcpufreq
  5cf8c5572d789beaf18d79fc52f95665  /etc/init.d/loadcpufreq
  minerva:/#

It should be removed if the md5sum patches the one in the package.

Here is an example from sudo.preinst on how to do this:

#!/bin/sh
rm_conffile() {
    PKGNAME="$1"
    CONFFILE="$2"

    if [ -e "$CONFFILE" ]; then
        md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
        old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE's/.* //p\"`"
        if [ "$md5sum" != "$old_md5sum" ]; then
            echo "Obsolete conffile $CONFFILE has been modified by you."
            echo "Saving as $CONFFILE.dpkg-bak ..."
            mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
        else
            echo "Removing obsolete conffile $CONFFILE ..."
            rm -f "$CONFFILE"
        fi
    fi
}

case "$1" in
install|upgrade)
    if dpkg --compare-versions "$2" le 1.6.8p12-5; then
        rm_conffile sudo /etc/init.d/sudo
        update-rc.d sudo remove
    fi
esac

The init.d script is not the only obsolete conffile left behind by
debian-edu-config.  Here is the output from

 dpkg-query -W -f='${Conffiles}' debian-edu-config|grep obsolete

in my sid chroot:

 /etc/cfengine/debian-edu/cf.devfsd a34fe6778701e0107e2a516eadf7672e obsolete
 /etc/cfengine/debian-edu/cf.sarge-installation-cleanup 4cff581ce799401e62fe67774cd003c1 obsolete
 /etc/bind/debian-edu/named-bind8.conf 530821ca31042282ae30ddacad7946f5 obsolete
 /etc/cfengine/debian-edu/cf.bind8 857ddd2f0574af3832b8ef5acd902e20 obsolete
 /etc/cfengine/debian-edu/cf.dsp bdf4e53f39d416633f8791d9da20cc33 obsolete
 /etc/skel/.kde/share/config/kmailrc 7cdaf154fd78c0a4a05ed7b32afb6a64 obsolete
 /etc/X11/Xsession.d/20debian-edu-kdedirs ff12b97b59e3362299f2c0dc89fae8da obsolete
 /etc/cfengine/debian-edu/cf.kdm_hdwarn 6ea94f17af715fde4e12f40ebba6c61c obsolete
 /etc/cfengine/debian-edu/cf.webmin d58d8a768ff052fed47310507c988ee7 obsolete
 /etc/cfengine/debian-edu/cf.udev f3e63041a9f11ae868adada7f342d614 obsolete
 /etc/cfengine/debian-edu/cf.shorewall d34afe147fb54459cffb63808f2ec8bb obsolete
 /etc/cfengine/debian-edu/cf.amanda 20881184e3673386aafbe467ebe89f40 obsolete
 /etc/cfengine/debian-edu/cf.shell b26a24d0c8d653312c86be8a6268cf98 obsolete
 /etc/cfengine/debian-edu/cf.issue 87fafc86385d52440ed56fcf11c75cde obsolete
 /etc/cfengine/debian-edu/cf.apache 592041f009ddb2b5f046725c53778b32 obsolete
 /etc/cfengine/debian-edu/cf.cpufrequtils 3820079267e039babee0ffdc5fa0186f obsolete
 /etc/ldap/slapd-sarge_debian-edu.conf c3fb949e11be018d1cbb834253544045 obsolete
 /etc/ldap/slapd-debian-edu.conf 76940903aaabdf85778cd6b717f7a3d2 obsolete
 /etc/pam.d/samba-debian-edu 29a1c58c9829a337d5334fd35c949301 obsolete
 /etc/pam.d/kde-debian-edu 7c055f7edd78c0458115315633a43d03 obsolete
 /etc/pam.d/other-debian-edu e6746ac8849b85f29cf75dddb07cb8e5 obsolete
 /etc/pam.d/login-debian-edu 3c42b50c695d5caade57b18e4417d19a obsolete
 /etc/pam.d/kscreensaver-debian-edu 84c2a35dc2635c6b95dc39ca1b2ec0b0 obsolete
 /etc/pam.d/cupsys-debian-edu 4f4b5d8067af05a6eee91a2bc5388419 obsolete
 /etc/pam.d/su-debian-edu ea07f1c4b82ee8a176d3d5c6f5828a81 obsolete
 /etc/pam.d/cron-debian-edu 5055d2865ab52978650d381ef9079e89 obsolete
 /etc/pam.d/passwd-debian-edu 969e80f4afb58224bffc45c1cea3306a obsolete
 /etc/pam.d/ssh-debian-edu a7f70bb00fec00f397ea82691ce8a020 obsolete
 /etc/init.d/loadcpufreq 5cf8c5572d789beaf18d79fc52f95665 obsolete
 /etc/cfengine/debian-edu/cf.opera ec99a974b914be76cd3b13aa03677402 obsolete

Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 1.417

We believe that the bug you reported is fixed in the latest version of
debian-edu-config, which is due to be installed in the Debian FTP archive:

debian-edu-config_1.417.dsc
  to pool/main/d/debian-edu-config/debian-edu-config_1.417.dsc
debian-edu-config_1.417.tar.gz
  to pool/main/d/debian-edu-config/debian-edu-config_1.417.tar.gz
debian-edu-config_1.417_all.deb
  to pool/main/d/debian-edu-config/debian-edu-config_1.417_all.deb



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 458524@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Winnertz <winnie@debian.org> (supplier of updated debian-edu-config 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Thu, 07 Feb 2008 10:11:27 +0100
Source: debian-edu-config
Binary: debian-edu-config
Architecture: source all
Version: 1.417
Distribution: unstable
Urgency: low
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Patrick Winnertz <winnie@debian.org>
Description: 
 debian-edu-config - Configuration files for Skolelinux systems
Closes: 458524
Changes: 
 debian-edu-config (1.417) unstable; urgency=low
 .
   [ Morten Werner Forsbring ]
   * Syntax-cleaning in cf/cf.homes and removing redundant stuff.
   * Remove workaround for #375077 (libnss-ldap) failed to bind to LDAP
     server) in cf/cf.ldapclient, as this is fixed in etch and newer (the
     create-action is not a valid file-action in cfengine 2.2.3).
   * Bumped the standards-version to 3.7.3 (no changes).
   * Replaced the Listen-interface debian-edu-ssl-default Apache-site with
     NameVirtualHost (Listen-stuff is already present in ports.cfg).
   * Added 'ServerName www' to the debian-edu Apache-sites.
   * Drop running discover2 from testsuite/hardware as it does not have
     as nice --format functionality as discover1, and we did not come up
     with a alternative solution for the formatting.
 .
   [ Petter Reinholdtsen ]
   * Add code in preinst to remove obsolete and unmodified conffiles,
     both init.d scripts and other files (Closes: #458524).
   * Correct paths in cf/cf.ltsp to use $(ltsp_arch) instead of hardcoding
     i386, to get it working better on non-i386 and non-amd64 architectures.
   * New helper program ltsp-arch-debian-edu returning the ltsp architecture,
     to fix cfengine configuration with cfengine version 2.
   * Use new helper program ltsp-arch-debian-edu to set ltsp_arch variable,
     to get it working with both cfengine 1 and 2.
   * Add workaround for /dev/pts/ mount missing when d-i installs this package,
     by trying to mount it in debian-edu-etc-svk if it is missing.
   * Only configure libnss-ldap when it is installed.  It should not be
     configured when the new libnss-ldapd is used.
   * Change ltsp-make-client to make /var/lib/ntp writable, to make sure
     ntpd can store its drift file.
   * Escape : in cfengine scripts to get them working with cfengine version 2.2.
   * Start on a script to enable or disable exam mode.  Currently just
     an empty shell.
 .
   [ Patrick Winnertz ]
   * Prepare for a new upload to debian
   * Added Homepage field to control
   * Bump standards Version to 3.7.3
Files: 
 a996d4d6af2db7405eba69a5056de3c8 912 misc optional debian-edu-config_1.417.dsc
 98f869c2aaa5be987d3c2634e6c72a31 281259 misc optional debian-edu-config_1.417.tar.gz
 4304a4697bf35025dcf17a487eced2a1 254968 misc optional debian-edu-config_1.417_all.deb

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

iD8DBQFHqtClzgm26bkTFDoRAkN+AJ9l0XBZpzGkH6yzU0fkv0rBFmjwTQCdGQlp
LN7/XXtRAmLtWHf73P/sJFs=
=l9T7
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: