Your message dated Thu, 7 May 2015 16:07:55 -0400
with message-id <20150507200755.ga13...@sol.pault.ag>
and subject line Re: Bug#784690: addgroup: The group `docker' already exists
and is not a system group. Exiting.
has caused the Debian Bug report #784690,
regarding addgroup: The group `docker' already exists and is not a system
group. Exiting.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
784690: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784690
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: docker.io
Version: 1.6.0+dfsg1-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
* What led up to the situation?
I did install a Virtual System with jessie netinstaller as docker.com
suggestes Docker is in jessie. Then I found its only in unstable.
I upgraded to stretch and then to sid.
apt-get install docker.io failed with
addgroup: The group `docker' already exists and is not a system group. Exiting.
dpkg: error processing package docker.io (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
docker.io
* What exactly did you do (or not do) that was effective (or
ineffective)?
I added -xv to the postinst script and these are the lines visible:
root@dockertest:~# DEBCONF_DEBUG="developer" dpkg --configure -a
Setting up docker.io (1.6.0+dfsg1-1) ...
#!/bin/sh -xv
set -e
+ set -e
case "$1" in
configure)
if [ -z "$2" ]; then
addgroup --system docker
fi
;;
abort-*)
# How'd we get here??
exit 1
;;
*)
;;
esac
+ [ -z ]
+ addgroup --system docker
addgroup: The group `docker' already exists and is not a system group. Exiting.
dpkg: error processing package docker.io (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
docker.io
root@dockertest:~#
docker is an existing group:
root@dockertest:~# grep docker /etc/group
cdrom:x:24:docker
floppy:x:25:docker
audio:x:29:docker
dip:x:30:docker
video:x:44:docker
plugdev:x:46:docker
netdev:x:108:docker
bluetooth:x:114:docker
docker:x:1000:
root@dockertest:~#
1000 is just out of the stuff defined
root@dockertest:~# grep GID /etc/login.defs
GID_MIN 1000
GID_MAX 60000
#SYS_GID_MIN 100
#SYS_GID_MAX 999
root@dockertest:~#
work-around:
root@dockertest:~# groupmod -g 900 docker
root@dockertest:~# apt-get install -f
docker installed.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages docker.io depends on:
ii adduser 3.113+nmu3
ii init-system-helpers 1.23
ii iptables 1.4.21-2+b1
ii libapparmor1 2.9.0-3
ii libc6 2.19-18
ii libdevmapper1.02.1 2:1.02.90-2.2
ii libsqlite3-0 3.8.9-2
ii perl 5.20.2-4
Versions of packages docker.io recommends:
ii aufs-tools 1:3.2+20130722-1.1
ii ca-certificates 20141019
ii cgroupfs-mount 1.2
ii git 1:2.1.4-2.1
ii xz-utils 5.1.1alpha+20120614-2+b3
Versions of packages docker.io suggests:
pn btrfs-tools <none>
pn debootstrap <none>
pn lxc <none>
pn rinse <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
I'm closing this - it's not a bug.
Actually, this just saved your bacon :)
If there are users in a group called `docker' and it's not a system
created group, they now have root on your host system (yes, *host*
system).
Perhaps it'd be better to have a debconf prompt. Patches welcome. It's
surely not grave.
Things you do to your system outside main that break packages in main
isn't a bug on us ;)
Closing, thanks!
Paul
On Thu, May 07, 2015 at 09:23:24PM +0200, Christian Hilgers wrote:
> Package: docker.io
> Version: 1.6.0+dfsg1-1
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
> * What led up to the situation?
> I did install a Virtual System with jessie netinstaller as docker.com
> suggestes Docker is in jessie. Then I found its only in unstable.
> I upgraded to stretch and then to sid.
>
> apt-get install docker.io failed with
> addgroup: The group `docker' already exists and is not a system group.
> Exiting.
> dpkg: error processing package docker.io (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> docker.io
>
>
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> I added -xv to the postinst script and these are the lines visible:
> root@dockertest:~# DEBCONF_DEBUG="developer" dpkg --configure -a
> Setting up docker.io (1.6.0+dfsg1-1) ...
> #!/bin/sh -xv
> set -e
> + set -e
>
> case "$1" in
> configure)
> if [ -z "$2" ]; then
> addgroup --system docker
> fi
> ;;
> abort-*)
> # How'd we get here??
> exit 1
> ;;
> *)
> ;;
> esac
> + [ -z ]
> + addgroup --system docker
> addgroup: The group `docker' already exists and is not a system group.
> Exiting.
> dpkg: error processing package docker.io (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> docker.io
> root@dockertest:~#
>
>
> docker is an existing group:
> root@dockertest:~# grep docker /etc/group
> cdrom:x:24:docker
> floppy:x:25:docker
> audio:x:29:docker
> dip:x:30:docker
> video:x:44:docker
> plugdev:x:46:docker
> netdev:x:108:docker
> bluetooth:x:114:docker
> docker:x:1000:
> root@dockertest:~#
>
> 1000 is just out of the stuff defined
> root@dockertest:~# grep GID /etc/login.defs
> GID_MIN 1000
> GID_MAX 60000
> #SYS_GID_MIN 100
> #SYS_GID_MAX 999
> root@dockertest:~#
>
>
> work-around:
> root@dockertest:~# groupmod -g 900 docker
> root@dockertest:~# apt-get install -f
>
> docker installed.
>
> -- System Information:
> Debian Release: stretch/sid
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages docker.io depends on:
> ii adduser 3.113+nmu3
> ii init-system-helpers 1.23
> ii iptables 1.4.21-2+b1
> ii libapparmor1 2.9.0-3
> ii libc6 2.19-18
> ii libdevmapper1.02.1 2:1.02.90-2.2
> ii libsqlite3-0 3.8.9-2
> ii perl 5.20.2-4
>
> Versions of packages docker.io recommends:
> ii aufs-tools 1:3.2+20130722-1.1
> ii ca-certificates 20141019
> ii cgroupfs-mount 1.2
> ii git 1:2.1.4-2.1
> ii xz-utils 5.1.1alpha+20120614-2+b3
>
> Versions of packages docker.io suggests:
> pn btrfs-tools <none>
> pn debootstrap <none>
> pn lxc <none>
> pn rinse <none>
>
> -- no debconf information
--
.''`. 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
signature.asc
Description: Digital signature
--- End Message ---