Bug#723061: [mldonkey-server] Incoming and shared folders get removed when purging the package

2013-09-16 Thread Mehdi Dogguy
 

Le 2013-09-16 13:10, Bernat a écrit : 

> Leave it as you want but I
don't think downloaded and shared files are the same as logs, specially
the shared ones. I don't think it should fail at removal but keep
non-empty directories. I may want to uninstall and then install at a
later time but keep the files where I put them. 
> 
> Frankly, I think
this is more like a package deleting a spool, mail, printer, cron,
etc.

Just checking : Are you aware that you can delete a package from
your system without purging it? 

Regards, 

-- 
Mehdi 
 

Bug#723061: [mldonkey-server] Incoming and shared folders get removed when purging the package

2013-09-16 Thread Bernat

El 16/09/13 21:23, Mehdi Dogguy escribió:
Just checking : Are you aware that you can delete a package from your 
system without purging it?


I know, but removal just leaves config files, how would that change 
anything? Are the /var/lib/mldonkey directory contents treated as conf 
files? Wouldn't that be a direct policy violation?


--
Bernat


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#723061: [mldonkey-server] Incoming and shared folders get removed when purging the package

2013-09-16 Thread Bernat
2013/9/16 Stéphane Glondu 

> severity 723061 wishlist
> thanks
>
> Le 16/09/2013 01:31, Bernat a écrit :
> > When purging this package it will remove /var/lib/mldonkey/incoming,
> > shared and temp directories even when they're not empty. A user purging
> > the package will loose all their files in these directories. I've set
> > serious severity since I think this shouldn't ever happen. I've lost
> > some files I was sharing because of this.
>
> It is correct that /var/lib/mldonkey is removed when mldonkey is purged.
> I would say your loss is your fault, here.
>
> Concerning /var/lib/mldonkey/incoming specifically, I have the same
> feelings as with logs: you might want to keep them on purge, but the
> Debian policy clearly states they should be removed on purge (section
> 10.8). Hence, my interpretation of the policy is that it is the
> responsability of the system administrator to save them elsewhere if he
> wants to keep them on purge.
>
> The purge script could fail if /var/lib/mldonky/incoming is not empty,
> but that is a wishlist and not a serious bug.
>
>
Leave it as you want but I don't think downloaded and shared files are the
same as logs, specially the shared ones. I don't think it should fail at
removal but keep non-empty directories. I may want to uninstall and then
install at a later time but keep the files where I put them.

Frankly, I think this is more like a package deleting a spool, mail,
printer, cron, etc.

-- 
Bernat


Bug#723061: [mldonkey-server] Incoming and shared folders get removed when purging the package

2013-09-16 Thread Stéphane Glondu
severity 723061 wishlist
thanks

Le 16/09/2013 01:31, Bernat a écrit :
> When purging this package it will remove /var/lib/mldonkey/incoming,
> shared and temp directories even when they're not empty. A user purging
> the package will loose all their files in these directories. I've set
> serious severity since I think this shouldn't ever happen. I've lost
> some files I was sharing because of this.

It is correct that /var/lib/mldonkey is removed when mldonkey is purged.
I would say your loss is your fault, here.

Concerning /var/lib/mldonkey/incoming specifically, I have the same
feelings as with logs: you might want to keep them on purge, but the
Debian policy clearly states they should be removed on purge (section
10.8). Hence, my interpretation of the policy is that it is the
responsability of the system administrator to save them elsewhere if he
wants to keep them on purge.

The purge script could fail if /var/lib/mldonky/incoming is not empty,
but that is a wishlist and not a serious bug.


Cheers,

-- 
Stéphane


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#723061: [mldonkey-server] Incoming and shared folders get removed when purging the package

2013-09-15 Thread Bernat

Package: mldonkey-server
Version: 3.1.3-1
Severity: serious

--- Please enter the report below this line. ---

When purging this package it will remove /var/lib/mldonkey/incoming, 
shared and temp directories even when they're not empty. A user purging 
the package will loose all their files in these directories. I've set 
serious severity since I think this shouldn't ever happen. I've lost 
some files I was sharing because of this.



--- System information. ---
Architecture: amd64
Kernel: Linux 3.10-2-amd64

Debian Release: jessie/sid
990 unstable ftp.de.debian.org
1 experimental ftp.de.debian.org

--- Package information. ---
Depends (Version) | Installed
=-+-=
libbz2-1.0 |
libc6 (>= 2.15) |
libgcc1 (>= 1:4.1.1) |
libstdc++6 (>= 4.2.1) |
zlib1g (>= 1:1.1.4) |
debconf (>= 0.5) |
OR debconf-2.0 |
adduser |
mime-support |
debconf |
ucf |


Package's Recommends field is empty.

Package's Suggests field is empty.

--
Bernat


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org