On Sun, Jan 18, 2015 at 09:19:19PM -0300, go...@riseup.net wrote:
> Package: docker.io
> Version: 1.3.3~dfsg1-2
> 
> When you have a external docker group (ex. LDAP group) with same name, the
> installation crashs. The shared group in external LDAP Server is a best
> pratice.

While true, I'm concerned about existing groups *unrelated* to docker
being on the system already, giving rights to the group members when
that's otherwise a bad idea.

e.g.,

| [tag@cassiel:~][⌚ 11:50 AM] ♥  ssh alioth.d.o groups | tr " " "\n" |
| grep docker
| docker
| scm_docker

If docker was ever installed on alioth, I'd have root, along with the
rest of the team. I don't think that'd be entirely expected.

I'm all for making this fail in a *better* way, but I don't want to
allow the existing group by default. Perhaps a debconf prompt would be
wise.

> Follow the patch to fix this possible problem in DEBIAN/postinst file:
> 
> 6c6
> <             if [ -z "$2" ]; then
> ---
> >             if ! getent group docker > /dev/null 2>&1 ; then
> 
> 
> I saw a similar fix for the similar problem in that bug report :
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=61049

-- 
 .''`.  Paul Tagliamonte <paul...@debian.org>  |   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

Attachment: signature.asc
Description: Digital signature

Reply via email to