Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Labels:
      None
    • Rank:
      6484

      Description

      Reproduction steps

      • apt-get install opush
      • apt-get purge opush

      Current behaviour

      • The configuration, the logs and the pid files are not removed:
        dpkg: warning: while removing opush, directory '/var/run/opush' not empty so not removed
        dpkg: warning: while removing opush, directory '/var/log/opush' not empty so not removed
        dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        

        NOK

      Expected behaviour

      The configuration, pid files and logs are removed as expected OK

        Activity

        Thomas HILAIRE made changes -
        Field Original Value New Value
        Fix Version/s 3.1.0 [ 12504 ]
        Antoine DUPRAT made changes -
        Assignee Matthieu BAECHLER [ mbaechler@linagora.com ] Antoine DUPRAT [ aduprat@linagora.com ]
        Antoine DUPRAT made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Antoine DUPRAT made changes -
        Status In Progress [ 3 ] In Review [ 10001 ]
        Hide
        Antoine DUPRAT added a comment -

        QA: as describe in the ticket, no warning should be returned when purging the packages on Debian.

        IMPACTS: only opush & opush-conf packaging.

        Show
        Antoine DUPRAT added a comment - QA : as describe in the ticket, no warning should be returned when purging the packages on Debian. IMPACTS : only opush & opush-conf packaging.
        Antoine DUPRAT made changes -
        Status In Review [ 10001 ] Ready To Merge [ 10002 ]
        Resolution Fixed [ 1 ]
        Hide
        Jenkins Continuous Integration Server added a comment -

        SUCCESS: Integrated in opush-master #197
        OP-107 Remove Opush related folders when purging opush & opush-conf packages (thilaire: 3d830d65f825b3157b13e50ee6e4008fceee320c)

        • push-server/src/deb/control/postrm
        • opush-conf/src/deb/control/postrm
        Show
        Jenkins Continuous Integration Server added a comment - SUCCESS: Integrated in opush-master #197 OP-107 Remove Opush related folders when purging opush & opush-conf packages (thilaire: 3d830d65f825b3157b13e50ee6e4008fceee320c ) push-server/src/deb/control/postrm opush-conf/src/deb/control/postrm
        Thomas HILAIRE made changes -
        Status Ready To Merge [ 10002 ] Resolved [ 5 ]
        Hide
        Thomas HILAIRE added a comment -

        NOK, I cannot reinstall opush after purged it

        Not replacing deleted config file /etc/opush/sync_perms.ini
        Not replacing deleted config file /etc/opush/ldap_conf.ini
        Not replacing deleted config file /etc/opush/mail_conf.ini
        Not replacing deleted config file /etc/opush/remote_console.ini
        Not replacing deleted config file /etc/opush/policy.ini
        Not replacing deleted config file /etc/opush/cassandra.ini
        Not replacing deleted config file /etc/opush/logback.xml
        
        Show
        Thomas HILAIRE added a comment - NOK , I cannot reinstall opush after purged it Not replacing deleted config file /etc/opush/sync_perms.ini Not replacing deleted config file /etc/opush/ldap_conf.ini Not replacing deleted config file /etc/opush/mail_conf.ini Not replacing deleted config file /etc/opush/remote_console.ini Not replacing deleted config file /etc/opush/policy.ini Not replacing deleted config file /etc/opush/cassandra.ini Not replacing deleted config file /etc/opush/logback.xml
        Thomas HILAIRE made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Antoine DUPRAT made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Antoine DUPRAT made changes -
        Status In Progress [ 3 ] In Review [ 10001 ]
        Antoine DUPRAT made changes -
        Status In Review [ 10001 ] Ready To Merge [ 10002 ]
        Resolution Fixed [ 1 ]
        Hide
        Jenkins Continuous Integration Server added a comment -

        SUCCESS: Integrated in opush-master #227
        OP-107 Remove ucf/ucfr & debconf entries when purging opush & opush-conf packages (thilaire: 86b14e9fcbcb5e1263547f8729ab46bbf8b21e7b)

        • opush-conf/src/deb/control/postrm
        • push-server/src/deb/control/postrm
        Show
        Jenkins Continuous Integration Server added a comment - SUCCESS: Integrated in opush-master #227 OP-107 Remove ucf/ucfr & debconf entries when purging opush & opush-conf packages (thilaire: 86b14e9fcbcb5e1263547f8729ab46bbf8b21e7b ) opush-conf/src/deb/control/postrm push-server/src/deb/control/postrm
        Thomas HILAIRE made changes -
        Status Ready To Merge [ 10002 ] Resolved [ 5 ]
        Hide
        Thomas HILAIRE added a comment -

        QA:
        OK now I can reinstall it successfully
        KO, sorry but I still get this message "dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed"

        root@d:~# dpkg -i /root/opush_3.1.0~alpha0~git20150506.162751.35beed0.deb
        Selecting previously unselected package opush.
        (Reading database ... 59992 files and directories currently installed.)
        Unpacking opush (from .../opush_3.1.0~alpha0~git20150506.162751.35beed0.deb) ...
        Setting up opush (3.1.0~alpha0~git20150506.162751.35beed0-1) ...
        Creating config file /etc/opush/sync_perms.ini with new version
        Creating config file /etc/opush/ldap_conf.ini with new version
        Creating config file /etc/opush/mail_conf.ini with new version
        Creating config file /etc/opush/remote_console.ini with new version
        Creating config file /etc/opush/policy.ini with new version
        Creating config file /etc/opush/cassandra.ini with new version
        Creating config file /etc/opush/logback.xml with new version
        [ ok ] Starting opush:[....] opush started, reachable on http://d.lyon.lan:8082/.: opush.
        
        
        root@d:~# apt-get purge opush
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following packages will be REMOVED:
          opush*
        0 upgraded, 0 newly installed, 1 to remove and 77 not upgraded.
        After this operation, 39.9 MB disk space will be freed.
        Do you want to continue [Y/n]? 
        (Reading database ... 60147 files and directories currently installed.)
        Removing opush ...
        [ ok ] Stopping opush (was reachable on http://d.lyon.lan:8082/).: opush . .[....] opush stopped.:.
        Purging configuration files for opush ...
        0
        dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        
        Show
        Thomas HILAIRE added a comment - QA : OK now I can reinstall it successfully KO , sorry but I still get this message "dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed" root@d:~# dpkg -i /root/opush_3.1.0~alpha0~git20150506.162751.35beed0.deb Selecting previously unselected package opush. (Reading database ... 59992 files and directories currently installed.) Unpacking opush (from .../opush_3.1.0~alpha0~git20150506.162751.35beed0.deb) ... Setting up opush (3.1.0~alpha0~git20150506.162751.35beed0-1) ... Creating config file /etc/opush/sync_perms.ini with new version Creating config file /etc/opush/ldap_conf.ini with new version Creating config file /etc/opush/mail_conf.ini with new version Creating config file /etc/opush/remote_console.ini with new version Creating config file /etc/opush/policy.ini with new version Creating config file /etc/opush/cassandra.ini with new version Creating config file /etc/opush/logback.xml with new version [ ok ] Starting opush:[....] opush started, reachable on http: //d.lyon.lan:8082/.: opush. root@d:~# apt-get purge opush Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: opush* 0 upgraded, 0 newly installed, 1 to remove and 77 not upgraded. After this operation, 39.9 MB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 60147 files and directories currently installed.) Removing opush ... [ ok ] Stopping opush (was reachable on http: //d.lyon.lan:8082/).: opush . .[....] opush stopped.:. Purging configuration files for opush ... 0 dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        Thomas HILAIRE made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Thomas HILAIRE made changes -
        Status Reopened [ 4 ] In Review [ 10001 ]
        Thomas HILAIRE made changes -
        Status In Review [ 10001 ] Ready To Merge [ 10002 ]
        Resolution Fixed [ 1 ]
        Hide
        Thomas HILAIRE added a comment -

        QA&Impacts: unchanged

        Show
        Thomas HILAIRE added a comment - QA&Impacts : unchanged
        Hide
        Jenkins Continuous Integration Server added a comment -

        FAILURE: Integrated in opush-master #229
        OP-107 Remove conf files to allow /etc/opush removal (thilaire: 11baa1a45a890fa487afe1af9ad64de9ffa793bd)

        • push-server/src/deb/control/postrm
        Show
        Jenkins Continuous Integration Server added a comment - FAILURE: Integrated in opush-master #229 OP-107 Remove conf files to allow /etc/opush removal (thilaire: 11baa1a45a890fa487afe1af9ad64de9ffa793bd ) push-server/src/deb/control/postrm
        Thomas HILAIRE made changes -
        Status Ready To Merge [ 10002 ] Resolved [ 5 ]
        Hide
        Stephane COLSON added a comment -

        OK with Opush 3.1.0~rc1-1 tested on a Debian Wheezy upgraded from 3.0.6
        I have to manually delete some cassandra and ehcache files to not have the warning

        dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        
        Show
        Stephane COLSON added a comment - OK with Opush 3.1.0~rc1-1 tested on a Debian Wheezy upgraded from 3.0.6 I have to manually delete some cassandra and ehcache files to not have the warning dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed dpkg: warning: while removing opush, directory '/etc/opush' not empty so not removed
        Stephane COLSON made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Antoine DUPRAT
            Reporter:
            Emmanuel Surleau
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: