Your message dated Sat, 27 Oct 2007 22:17:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#444798: fixed in util-vserver 0.30.214-4
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: util-vserver
Version: 0.30.214-3
Severity: serious
File: /var/lib/dpkg/info/util-vserver.postinst

The postinst script unconditionally removes /etc/vserver{,s}.conf on
every configuration.  Since the configuration is apparently preserved
by sourcing the files and creating a symlink in place of their
content, this is okay.  However the package both includes and removes
the conffile vservers.conf which is not allowed.

It's is also not okay if VSERVERS_ROOT and VSERVER_ROOT aren't the
only things that were ever specified in those files, or if something
else *could* have been (legitimately?) added there.  Preferably the
files aren't removed if anything else is there:

        for f in /etc/vserver.conf /etc/vservers.conf
        do
                if grep -ve '^VSERVERS_ROOT' -e '^VSERVER_ROOT' "$f" >/dev/null
                then
                        echo "$0: warning: not removing obsolete "$f"
                else
                        echo "$0: removing obsolete conffile: "$f"
                        rm -fv -- "$f"
                fi >&2
        done

The same problem with these removals:

|# Remove old startup scripts
|rm -f /etc/init.d/vservers-legacy
|rm -f /etc/init.d/vservers-default
|rm -f /etc/init.d/vprocunhide
|rm -f /etc/default/util-vservere
[...]
|rm -f /etc/init.d/rebootmgr

The situation is marginally different since these files aren't
included in the current package version.  These should be removed iff:

 1. A version check with dpkg --compare-versions is true; and
 2. the file exists; and
 3. its md5sum matches the value stored in the dpkg status database
    for the most-recently installed copy of the file; and
 4. echo "$0: removing obsolete conffile: $f" >&2

Otherwise, (assuming they're really obsolete), if (1) and (2) is true,
the file should be renamed eg. to $f.dpkg-old and a message should be
printed: echo "$0: renaming modified, obsolete conffile: $f" >&2

Since this is the postinst script, dpkg rollbacks don't need to be (or
can't be) supported in those removals.  However I wonder whether these
manipulations shouldn't instead be performed in the preinst.

There's another problem too: removal of the symlinks isn't preserved:
run.rev vdirbase



--- End Message ---
--- Begin Message ---
Source: util-vserver
Source-Version: 0.30.214-4

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

util-vserver_0.30.214-4.diff.gz
  to pool/main/u/util-vserver/util-vserver_0.30.214-4.diff.gz
util-vserver_0.30.214-4.dsc
  to pool/main/u/util-vserver/util-vserver_0.30.214-4.dsc
util-vserver_0.30.214-4_i386.deb
  to pool/main/u/util-vserver/util-vserver_0.30.214-4_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Micah Anderson <[EMAIL PROTECTED]> (supplier of updated util-vserver 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Wed, 24 Oct 2007 18:53:56 -0400
Source: util-vserver
Binary: util-vserver
Architecture: source i386
Version: 0.30.214-4
Distribution: unstable
Urgency: medium
Maintainer: Micah Anderson <[EMAIL PROTECTED]>
Changed-By: Micah Anderson <[EMAIL PROTECTED]>
Description: 
 util-vserver - user-space tools for Linux-VServer virtual private servers
Closes: 444798 445054 447161 447296
Changes: 
 util-vserver (0.30.214-4) unstable; urgency=medium
 .
   * Fix incorrectly created directory
     /usr/lib/util-vserver/distributions/etch (Closes: #447296)
   * Remove /etc/vservers.conf from being distributed, this functionality is
     in /etc/defaults/util-vserver in Debian (Closes: #444798)
   * Add NEWS.Debian informtion about the static ID requirements in this
     version (Closes: #445054)
   * Add patches/20freshenvserver.dpatch to update the vserver(8) manpage
     (Closes: #447161)
   * Added patches/30createvserver-buildman.dpatch to create vserver-build(8)
   * Added patches/40vserver-build.dpatch to change the vserver-build script
     to include some missing arguments in the Usage section and remove legacy
     build methods
   * Removed legacy binaries and man pages that are no longer supported
   * Fixed debian/rules to pass debian-rules-ignores-make-clean-error lintian
     error
   * Added debhlper token to debian/util-vserver.prerm
   * Added LSB section to init.d script
Files: 
 52cae8e817eaaf7f4bcaea37c49506cb 850 net optional util-vserver_0.30.214-4.dsc
 ed718ff54e0c54e72f0910d319f9375e 37705 net optional 
util-vserver_0.30.214-4.diff.gz
 897440397850e97adc18ec2ba83d1162 545074 net optional 
util-vserver_0.30.214-4_i386.deb

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

iD8DBQFHI7c49n4qXRzy1ioRAvTxAKCAVL7WEgZVm6oyM0pGMIvzSCmXigCgnlCK
pM0wTKwUkFr97eRSaDcfg0g=
=95A2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to