Bug#739257: Acknowledgement (docker.io: leftover after purge: /var/lib/docker)
On 24 October 2015 at 06:48, Tianon Gravi wrote: > What does postgres do in this case? I think they've got similar > issues and I'm curious whether they just blow it away regardless. https://sources.debian.net/src/postgresql-9.5/9.5.3-1/debian/postgresql-9.5.postrm/#L59 | clean_dir /etc/postgresql/$VERSION | clean_dir /var/lib/postgresql/$VERSION | clean_dir /var/log/postgresql/$VERSION I don't think it's sane for us to remove "/etc/docker" since other packages use that same directory, but we should be able to figure out something workable for "/var/lib/docker" (going to try working up some logic for this). ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
Bug#739257: Acknowledgement (docker.io: leftover after purge: /var/lib/docker)
On 18 February 2014 at 05:40, Paul Tagliamonte wrote: > Word. I'll add some stuff to clean up /var/lib, thanks for the bug! I like the idea of cleaning up /var/lib/docker contents, but I'm still pretty on the fence for whether it's a safe thing for us to do in general. This directory might contain important user data that they aren't necessarily even aware was there, and if we blow it away, we've just deleted that (orphaned or even unorphaned volumes, container writable layers, etc). What does postgres do in this case? I think they've got similar issues and I'm curious whether they just blow it away regardless. We might also run into issues if the user has mounted a different partition on /var/lib/docker to force the daemon to use a particular storage driver or for performance reasons. ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
Bug#739257: Acknowledgement (docker.io: leftover after purge: /var/lib/docker)
On Tue, Feb 18, 2014 at 05:28:16PM +0900, Arnaud Fontaine wrote: > Not really. To be honest I think you're right and I didn't think about > the issue you mentioned above (thanks for pointing that out, it's good > to know ;-)), Of course! Yeah, this is a funky one. I've not found a good way to handle this yet, but hopefully one day we'll have something big and fancy to do it for us :) > so it should be probable be left as is it for the user at > least. Word. I'll add some stuff to clean up /var/lib, thanks for the bug! Cheers, Paul > > Cheers, > -- > Arnaud Fontaine -- .''`. Paul Tagliamonte | Proud Debian Developer : :' : 4096R / 8F04 9AD8 2C92 066C 7352 D28A 7B58 5B30 807C 2A87 `. `'` http://people.debian.org/~paultag `- http://people.debian.org/~paultag/conduct-statement.txt signature.asc Description: Digital signature
Bug#739257: Acknowledgement (docker.io: leftover after purge: /var/lib/docker)
Paul Tagliamonte writes: > On Mon, Feb 17, 2014 at 05:15:38PM +0900, Arnaud Fontaine wrote: >> Hi again, >> >> Also, docker user is created in postinst, but not removed on purge >> neither. Could you please fix it? Thank you very much. > > https://wiki.debian.org/AccountHandlingInMaintainerScripts > > I don't believe that's needed. I don't really mind either way, but > purging and re-installing may give the user a new uid, which is a huge > pain if you have any files owned by the daemon on the machine that you > backed up. > > I think we're pretty split on if we should do this, is there a good > reason besides "it looks ugly in /etc/passwd" or something? Not really. To be honest I think you're right and I didn't think about the issue you mentioned above (thanks for pointing that out, it's good to know ;-)), so it should be probable be left as is it for the user at least. Cheers, -- Arnaud Fontaine -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#739257: Acknowledgement (docker.io: leftover after purge: /var/lib/docker)
On Mon, Feb 17, 2014 at 05:15:38PM +0900, Arnaud Fontaine wrote: > Hi again, > > Also, docker user is created in postinst, but not removed on purge > neither. Could you please fix it? Thank you very much. https://wiki.debian.org/AccountHandlingInMaintainerScripts I don't believe that's needed. I don't really mind either way, but purging and re-installing may give the user a new uid, which is a huge pain if you have any files owned by the daemon on the machine that you backed up. I think we're pretty split on if we should do this, is there a good reason besides "it looks ugly in /etc/passwd" or something? Cheers, Paul -- .''`. Paul Tagliamonte | Proud Debian Developer : :' : 4096R / 8F04 9AD8 2C92 066C 7352 D28A 7B58 5B30 807C 2A87 `. `'` http://people.debian.org/~paultag `- http://people.debian.org/~paultag/conduct-statement.txt signature.asc Description: Digital signature
Bug#739257: Acknowledgement (docker.io: leftover after purge: /var/lib/docker)
Hi again, Also, docker user is created in postinst, but not removed on purge neither. Could you please fix it? Thank you very much. Cheers, -- Arnaud Fontaine -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org