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

Bug#705727: marked as done (/usr/sbin/vzdump: At some conditions vzdump does not return error code, breaking && chain of commands in sh scripts)



Your message dated Wed, 31 Aug 2022 17:31:10 +0000
with message-id <[🔎] E1oTRYU-00G97b-Dl@fasolo.debian.org>
and subject line Bug#1018825: Removed package(s) from unstable
has caused the Debian Bug report #705727,
regarding /usr/sbin/vzdump: At some conditions vzdump does not return error code, breaking && chain of commands in sh scripts
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 owner@bugs.debian.org
immediately.)


-- 
705727: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705727
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: vzdump
Version: 1.2.6-1
Severity: normal
File: /usr/sbin/vzdump


If I log in into vz virtual machine via vzctl enter then vzdump
can't backup that machine and that's normal:

INFO: Can not suspend container: Resource temporarily unavailable                                                                                      
INFO: Error: foreign process 7313/16471(vzctl) inside CT (e.g. vzctl enter or vzctl exec).       

However, vzdump does not return error code when this error happens, so the chain of
shell commands like this

/usr/sbin/vzdump --suspend --compress --dumpdir /mnt/ftp/vz-$1/ --all --stdexcludes --maxfiles $MAXF $EXCL &&
echo OK 

will return OK even if vzdump fails to backup virtual machine. Thus forgotten/frozen 
vzctl exec blocks whole backup process silently and backup script does not backup
without reporting any problems.

vzdump should return some error code if it fails, or provide some other means to notify that
backup did not succeed.


-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vzdump depends on:
ii  cstream                2.7.6-1           general-purpose stream-handling to
ii  exim4                  4.72-6+squeeze3   metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [ma 4.72-6+squeeze3   lightweight Exim MTA (v4) daemon
ii  liblockfile-simple-per 0.207-1           Simple advisory file locking
ii  perl                   5.10.1-17squeeze6 Larry Wall's Practical Extraction 
ii  rsync                  3.0.7-2           fast remote file copy program (lik
ii  vzctl                  3.0.24-12         server virtualization solution - c

vzdump recommends no packages.

Versions of packages vzdump suggests:
pn  xdelta                        <none>     (no description available)

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.2.6-6+rm

Dear submitter,

as the package vzdump has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1018825

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply to: