Your message dated Wed, 16 Nov 2016 05:48:45 +0000
with message-id <e1c6t5r-0007sa...@fasolo.debian.org>
and subject line Bug#825564: fixed in slapos.core 1.3.18-1
has caused the Debian Bug report #825564,
regarding slapos-node-unofficial: purging deletes configuration file 
/etc/slapos/slapos-client.cfg
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.)


-- 
825564: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825564
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: slapos-node-unofficial
Version: 1.3.10-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package deletes configuration
files owned by other packages upon purge.

>From the attached log (scroll to the bottom...):

1m10.3s ERROR: FAIL: After purging files have disappeared:
  /etc/slapos/   owned by: slapos-client
  /etc/slapos/slapos-client.cfg  not owned
  /etc/slapos/ssl/       owned by: slapos-client


slapos-node-unofficial.postrm contains:

case "$1" in
    purge)
        ucf --purge /etc/slapos/slapos-node-unofficial.cfg || true
        db_get slapos-node-unofficial/software_root
        SOFTWARE_ROOT="$RET"

        rm -rf /etc/slapos/ /var/log/slapos/ /var/lib/slapos/ \
            /var/cache/slapos/certificates/ "$SOFTWARE_ROOT"
        ;;
esac

slapos-client.postrm contains:

case "$1" in
    purge)
        ucf --purge /etc/slapos/slapos-client.cfg || true
        rm -rf /etc/slapos/
        ;;
esac


Both packages are handling /etc/slapos/ in an unsave way.
Only the files managed by that package must be deleted.
slapos-node-unofficial should ship /etc/slapos/ as an empty
directory and let dpkg handle this.


cheers,

Andreas

Attachment: slapos-node-unofficial_1.3.10-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: slapos.core
Source-Version: 1.3.18-1

We believe that the bug you reported is fixed in the latest version of
slapos.core, 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 825...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arnaud Fontaine <ar...@debian.org> (supplier of updated slapos.core 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...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 16 Nov 2016 13:10:16 +0900
Source: slapos.core
Binary: slapos-client slapos-node-unofficial
Architecture: source all
Version: 1.3.18-1
Distribution: unstable
Urgency: medium
Maintainer: Arnaud Fontaine <ar...@debian.org>
Changed-By: Arnaud Fontaine <ar...@debian.org>
Description:
 slapos-client - Client-side to request applications with SlapOS
 slapos-node-unofficial - Node-side to deploy applications with SlapOS 
(unofficial)
Closes: 825564
Changes:
 slapos.core (1.3.18-1) unstable; urgency=medium
 .
   * New upstream release.
     + d/control: Update Homepage.
     + d/patches/*: Refresh patches.
     + d/conf/slapos-node-unofficial.cfg: Updated.
   * d/control:
     + Add dh-python to Build-Depends (dh_python2 warning).
     + Bump Standards-Version to 3.9.8. No change needed.
   * debhelper compat level 7 is deprecated so switch to level 10.
   * Let dpkg handle /etc/slapos for both binary packages. Closes: #825564.
Checksums-Sha1:
 6ca8bda8a8671350b677b528f2f4e1c33eff8d36 2160 slapos.core_1.3.18-1.dsc
 8f742338f40fc820f4ac320c8fd58736bbb041d7 198576 slapos.core_1.3.18.orig.tar.gz
 3f413f5e66954cdb4833e12402c2a376efcdecb1 27308 
slapos.core_1.3.18-1.debian.tar.xz
 876cea2155347b0a63f6e4c39a10b5a7dabf1a11 60304 slapos-client_1.3.18-1_all.deb
 ce46cc7940e5c77fd5e791540d1ed557b11ac9cb 129772 
slapos-node-unofficial_1.3.18-1_all.deb
 d631dc2a01e15238187abb76be1269acdae40660 5571 
slapos.core_1.3.18-1_20161116T052206z-4a0dec7b.buildinfo
Checksums-Sha256:
 f1e4f639a2862b8fe45d403b15779d0bb0655c9a3d310f4f7331795f50e50d61 2160 
slapos.core_1.3.18-1.dsc
 a48311ed1019fc4ae9e4f4a6904a5ad0523b853d65a105019b61280fbc99927d 198576 
slapos.core_1.3.18.orig.tar.gz
 37af82b179bb0778032f0145b6c0e23361e049556bf621d5186783c0d43fc32c 27308 
slapos.core_1.3.18-1.debian.tar.xz
 ee9b858288d5352a775e757370b1a344f47ee30e72f5b2493b1258b0ab01a6c9 60304 
slapos-client_1.3.18-1_all.deb
 62b0e07f10101ce9a0d6aafc0fb79236419f609f5335eacee4989167eaa5686f 129772 
slapos-node-unofficial_1.3.18-1_all.deb
 6e1d57408e1a61374d9af619e151daa7153202e9dbee26bb6d9221d292ed588e 5571 
slapos.core_1.3.18-1_20161116T052206z-4a0dec7b.buildinfo
Files:
 cf27c607abe782afb94d8d2352d0d23f 2160 net optional slapos.core_1.3.18-1.dsc
 da9817411312bceb0f51bec0941cb862 198576 net optional 
slapos.core_1.3.18.orig.tar.gz
 55ccaba98bb09f0e48d52c0d32fef84d 27308 net optional 
slapos.core_1.3.18-1.debian.tar.xz
 59cd4cf0da02adb93ab66132450b6335 60304 net optional 
slapos-client_1.3.18-1_all.deb
 771d4525e135ca7244e13cb93517ee4c 129772 net optional 
slapos-node-unofficial_1.3.18-1_all.deb
 4a0dec7bce2e9b9c72506761547e4418 5571 net optional 
slapos.core_1.3.18-1_20161116T052206z-4a0dec7b.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE1xYaYy/QdfbkUZRKNnqrYv0A09kFAlgr7nUACgkQNnqrYv0A
09lW8g//cWLtU6xawfioiCmSmLe2dJ3YdLst66J0sA8lYaEM7UpNTtX2fch2aOsA
/PjedK3l1PwnILR3jEJUL7wmcDZtX6Z/jwWke/XTs/DTeUPg180QcjJvFI6B3MHE
R6qxgW6VBPfdiCWQIWax6+xlRRLD6C7Ip0Adwi34egS085A+07bE1UDRvZfTV5BG
+JZDt9wQBDgaSmQJcdLf9ceHY1Z+JmNxBFtxNpv+mISoUvS2JlULDHIdVGPkDTWT
JkyHMiwf8W+AMjYY3QYUPPf7CCbsJchb62XwQuu2niOJ8AuiyhIN7Hc9IXLR6XuA
DNR6pZ9vbwMpXzrMi8Wqe1hjwhY5nQD4ZDjf9/YcNhsfBxd1ctm571X7LkAPzSQn
cU9eS/7LPAiOSuikkBcLY8Te3Ml8TG0tkn/23Kz2AeltZ1YZatJefZK/Y9gCVAkX
ccmQJlQsMMGmFsIM8Na6wfkmfUMlt7clTNbZwZ6a1gXxKlklGUMsyzd2NfWpzfio
FiPYqQESy/8EZJFnrx2Prn+CUNpTT01EzJQ1WTTXKfeoCyXmU8Ly9o12JMAVUtrJ
rZUYHEPaoE1/L1cYRtkzje6bhfWiNpgnDCEHSA//hxj688LkxwVJ+7vM3y0eQN0M
hXuReQmns4sff25m5R6AFFzKIKIbguWAsazKn7E1cmBT74jXHwc=
=lz7d
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to