Bug#668400: /usr/bin/apt-get: Apt-get purge/remove delete file behind symlink

2015-02-25 Thread Emmanuel Bourg
I tried to reproduce this issue with the following sequence in unstable:

1. apt-get install tomcat7
2. touch /opt/file1
3. ln -s /opt/file1 /etc/tomcat7/file1
4. apt-get remove tomcat7
5. apt-get purge tomcat7

The link was the last remaining element in /etc/tomcat7 and the
/opt/file1 hasn't been removed.

Rafal, could you try again with the version of tomcat7 from testing or
wheezy-backports please? If the issue is still there please detail the
steps to reproduce it and I'll look into it.

Thank you,

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Processed: Re: Bug#668400: /usr/bin/apt-get: Apt-get purge/remove delete file behind symlink

2015-02-25 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 tomcat7
Bug #668400 [tomcat7,dpkg] /usr/bin/apt-get: Apt-get purge/remove delete file 
behind symlink
Bug reassigned from package 'tomcat7,dpkg' to 'tomcat7'.
Ignoring request to alter found versions of bug #668400 to the same values 
previously set
Ignoring request to alter fixed versions of bug #668400 to the same values 
previously set

-- 
668400: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668400
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Re: Bug#668400: /usr/bin/apt-get: Apt-get purge/remove delete file behind symlink

2015-02-25 Thread Guillem Jover
Control: reassign -1 tomcat7

Hi!

On Wed, 2012-07-18 at 20:22:12 +0200, Guillem Jover wrote:
> On Wed, 2012-04-11 at 17:47:15 +0200, Rafal Kaminski wrote:
> > Package: apt
> > Version: 0.8.15.10
> > Severity: normal
> > File: /usr/bin/apt-get
> 
> > I found some bug or feature apt-get. I've installed tomcat7 and in folder 
> > /etc/tomcat7 I put symlink to diff. folder - like to /data/file1.
> > Then in /etc/tomcat7 I had symlink file1.
> > 
> > When I made "apt-get remove tomcat7" or "apt-get remove --purge tomcat7" -> 
> > apt-get didn't remove symlink from /etc/tomcat7, BUT
> > REMOVE file from /data.
> > 
> > After apt-get remove I hadn't file1 in /data/file1.
> 
> Given the directory removals in tomcat7's postrm script I'm inclined
> to think this is tomcat7 (and tomcat6) fault, but it would be helpful
> to know what exactly did you symlink, was it the /etc/tomcat7 directory
> itself, one of the conffiles inside? Something else?

I'm reassigning to the tomcat7 package.

Regards,
Guillem

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#668400: /usr/bin/apt-get: Apt-get purge/remove delete file behind symlink

2012-07-18 Thread Guillem Jover
On Wed, 2012-04-11 at 17:47:15 +0200, Rafal Kaminski wrote:
> Package: apt
> Version: 0.8.15.10
> Severity: normal
> File: /usr/bin/apt-get

> I found some bug or feature apt-get. I've installed tomcat7 and in folder 
> /etc/tomcat7 I put symlink to diff. folder - like to /data/file1.
> Then in /etc/tomcat7 I had symlink file1.
> 
> When I made "apt-get remove tomcat7" or "apt-get remove --purge tomcat7" -> 
> apt-get didn't remove symlink from /etc/tomcat7, BUT
> REMOVE file from /data.
> 
> After apt-get remove I hadn't file1 in /data/file1.

Given the directory removals in tomcat7's postrm script I'm inclined
to think this is tomcat7 (and tomcat6) fault, but it would be helpful
to know what exactly did you symlink, was it the /etc/tomcat7 directory
itself, one of the conffiles inside? Something else?

regards,
guillem

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#668400: /usr/bin/apt-get: Apt-get purge/remove delete file behind symlink

2012-04-11 Thread Rafal Kaminski
Hi,

I've tested this one on Tomcat6 too. It was the same ... When I removed tomcat6 
it deleted my files behind symlinks.

Thank you.

On Apr 11, 2012, at 6:06 PM, Julian Andres Klode wrote:

> reassign 668400 tomcat7,dpkg
> thanks
> 
> On Wed, Apr 11, 2012 at 05:47:15PM +0200, Rafal Kaminski wrote:
>> Package: apt
>> Version: 0.8.15.10
>> Severity: normal
>> File: /usr/bin/apt-get
>> 
>> Dear Maintainer,
>> 
>> I found some bug or feature apt-get. I've installed tomcat7 and in folder 
>> /etc/tomcat7 I put symlink to diff. folder - like to /data/file1.
>> Then in /etc/tomcat7 I had symlink file1.
>> 
>> When I made "apt-get remove tomcat7" or "apt-get remove --purge tomcat7" -> 
>> apt-get didn't remove symlink from /etc/tomcat7, BUT
>> REMOVE file from /data.
>> 
>> After apt-get remove I hadn't file1 in /data/file1.
>> 
>> Is it CORRECT? 
>> 
> 
> It's at least not an APT bug, so I'll let the dpkg and
> tomcat7 maintainers talk about it.
> 
> -- 
> Julian Andres Klode  - Debian Developer, Ubuntu Member
> 
> See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.


---
Rafal Kaminski
mobile: 0049 160 90753540
Operations Engineer

<>


Young Internet GmbH
Winsstraße 62
10405 Berlin
Germany

T: +49 (0)30/802087-400
F: +49 (0)30/802087-401
www.young-internet.com
www.panfu.com
www.oloko.com

Young Internet GmbH
Eingetragen im Handelsregister Berlin. Handelsregisternummer: HRB11 08 09 B.
Steuer-Nr. 37/285/21193 * USt-ID-Nr. DE257673734
Geschäftsführer: Verena Delius, Moritz Hohl

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Processed: Re: Bug#668400: /usr/bin/apt-get: Apt-get purge/remove delete file behind symlink

2012-04-11 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 668400 tomcat7,dpkg
Bug #668400 [apt] /usr/bin/apt-get: Apt-get purge/remove delete file behind 
symlink
Bug reassigned from package 'apt' to 'tomcat7,dpkg'.
No longer marked as found in versions apt/0.8.15.10.
Ignoring request to alter fixed versions of bug #668400 to the same values 
previously set
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
668400: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668400
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.