[ 
https://jira.nuxeo.org/browse/NXP-5323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=77657#action_77657
 ] 

Stéfane Fermigier commented on NXP-5323:
----------------------------------------

Doesn't work, here's a session:

darkstar# grep nuxeo /etc/passwd
nuxeodm:x:999:999::/opt/nuxeo-dm:/bin/bash
darkstar# grep nuxeo /etc/group 
nuxeodm:x:999:
darkstar# apt-get remove nuxeo-dm-jboss
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  nuxeo-dm-jboss
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 186MB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 91013 files and directories currently installed.)
Removing nuxeo-dm-jboss ...
 * Stopping Nuxeo DM
.........Nuxeo stopped.
   ...done.
 Removing any system startup links for /etc/init.d/nuxeo-dm ...
   /etc/rc0.d/K20nuxeo-dm
   /etc/rc1.d/K20nuxeo-dm
   /etc/rc2.d/S20nuxeo-dm
   /etc/rc3.d/S20nuxeo-dm
   /etc/rc4.d/S20nuxeo-dm
   /etc/rc5.d/S20nuxeo-dm
   /etc/rc6.d/K20nuxeo-dm
Processing triggers for ureadahead ...
darkstar# 
darkstar# grep nuxeo /etc/group        
nuxeodm:x:999:
darkstar# grep nuxeo /etc/passwd       
nuxeodm:x:999:999::/opt/nuxeo-dm:/bin/bash

> Debian packages: correctly purge /etc/passwd and /etc/group
> -----------------------------------------------------------
>
>                 Key: NXP-5323
>                 URL: https://jira.nuxeo.org/browse/NXP-5323
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Stéfane Fermigier
>            Assignee: Mathieu Guillaume
>             Fix For: 5.3.2
>
>
> Purging the packages (both DM and DAM) apparently doesn't remove the entries 
> from /etc/passwd and /etc/group, which will make subsequent re-installation 
> fail.
> See: 
> http://crashcourse.ca/blog/2010/07/new-nuxeo-dam-snapshot-ubuntu-looking-good
> Also: 
> "some definite package installation and removal strangeness happening, which 
> is going to cause some level of grief trying to install, remove and 
> re-install packages, which is something that should be perfectly acceptable 
> behaviour. Theoretically, simply installing and uninstalling a package over 
> and over should be a perfectly safe operation, but doing it with the Nuxeo 
> DAM package leaves some lingering after-effects that make subsequent 
> re-installation problematic."
> -> We need to check that if we install / uninstall / reinstall everything is 
> OK.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to