Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Stefan Fritsch
Package: libreoffice-common Version: 1:3a3.3.1~rc1-1 Severity: critical Justification: causes serious data loss from preinst: if dpkg --compare-versions $2 lt 1:3.3.0-3; then rm -rf /share rm -rf /user fi Are you mad? You must nod delete

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Rene Engelhard
On Sat, Feb 12, 2011 at 06:43:17PM +0100, Stefan Fritsch wrote: if dpkg --compare-versions $2 lt 1:3.3.0-3; then rm -rf /share rm -rf /user fi Are you mad? You must nod delete arbitrary directories! Some people store important information

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Stefan Fritsch
On Saturday 12 February 2011, you wrote: And what do people store in /share and /user? /share is a common name for additional file systems (e.g. remote NFS shares). You cannot assume that just because a dir is not in the FHS, people don't use it. And you hopefully suggest an alternative way

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Rene Engelhard
Hi, On Sat, Feb 12, 2011 at 06:47:22PM +0100, Rene Engelhard wrote: On Sat, Feb 12, 2011 at 06:43:17PM +0100, Stefan Fritsch wrote: if dpkg --compare-versions $2 lt 1:3.3.0-3; then rm -rf /share rm -rf /user fi Are you mad? You must

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Rene Engelhard
On Sat, Feb 12, 2011 at 06:54:22PM +0100, Stefan Fritsch wrote: On Saturday 12 February 2011, you wrote: And what do people store in /share and /user? /share is a common name for additional file systems (e.g. remote NFS shares). You cannot assume that just because a dir is not in the FHS,

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Stefan Fritsch
On Saturday 12 February 2011, Rene Engelhard wrote: On Sat, Feb 12, 2011 at 06:54:22PM +0100, Stefan Fritsch wrote: On Saturday 12 February 2011, you wrote: And what do people store in /share and /user? /share is a common name for additional file systems (e.g. remote NFS shares). You

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Stefan Fritsch
On Saturday 12 February 2011, Rene Engelhard wrote: if dpkg --compare-versions $2 lt 1:3.3.0-3; then BTW, it would be good if you limited the cleanup to the cases where the problematic version was actually installed, i.e. don't clean

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Rene Engelhard
On Sat, Feb 12, 2011 at 07:28:17PM +0100, Stefan Fritsch wrote: On Saturday 12 February 2011, Rene Engelhard wrote: if dpkg --compare-versions $2 lt 1:3.3.0-3; then BTW, it would be good if you limited the cleanup to the cases where the problematic version was actually installed,

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Rene Engelhard
tag 613083 + pending thanks Hi, On Sat, Feb 12, 2011 at 07:21:41PM +0100, Stefan Fritsch wrote: If you know that this is the complete list, including 15 lines of rm -f and 31 lines of rmdir ... 2 /dev/null || true in depth-first order would seem best to me. Or do I dont, it's the one I

Processed: Re: Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: tag 613083 + pending Bug #613083 [libreoffice-common] libreoffice-common: Deletes /share and /user in preinst Added tag(s) pending. thanks Stopping processing here. Please contact me if you need assistance. -- 613083:

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Rene Engelhard
On Sat, Feb 12, 2011 at 07:46:46PM +0100, Rene Engelhard wrote: + rmdir /share/config2 /dev/null rmdir /share 2 /dev/null || true 2 /dev/null and || true reversed of course. Grüße/Regards, René -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org

Bug#613083: libreoffice-common: Deletes /share and /user in preinst

2011-02-12 Thread Stefan Fritsch
On Saturday 12 February 2011, Rene Engelhard wrote: On Sat, Feb 12, 2011 at 07:21:41PM +0100, Stefan Fritsch wrote: If you know that this is the complete list, including 15 lines of rm -f and 31 lines of rmdir ... 2 /dev/null || true in depth-first order would seem best to me. Or do I