Bug#605396: delgroup --system gdm fails on gdm remove, on LDAP enabled box
Witold Baryluk
baryluk at smp.if.uj.edu.pl
Mon Nov 29 15:42:42 UTC 2010
Package: gdm
Version: 2.20.11-2
Severity: important
Hi.
On my box with LDAP nss, gdm.postrm fails
root at escalus:~# LC_ALL=C dpkg -P gdm
(Reading database ... 439702 files and directories currently installed.)
Removing gdm ...
Purging configuration files for gdm ...
Removing group `gdm' ...
groupdel: cannot remove entry 'gdm' from /etc/group
/usr/sbin/delgroup: `/usr/sbin/groupdel gdm' returned error code 10. Exiting.
groupdel: cannot remove entry 'gdm' from /etc/group
/usr/sbin/delgroup: `/usr/sbin/groupdel gdm' returned error code 10. Exiting.
dpkg: error processing gdm (--purge):
subprocess installed post-removal script returned error exit status 128
Processing triggers for menu ...
Errors were encountered while processing:
gdm
root at escalus:~#
root at escalus:~# getent passwd gdm
root at escalus:~#
root at escalus:~# getent group gdm
gdm:x:112:
root at escalus:~#
root at escalus:~# grep gdm /etc/group
root at escalus:~#
Which means that gdm group is defined on LDAP box.
But using groupdel for them will not work (for few reasons).
Ignoring groupdel error resolves my problem, and upgrade can process without any issues.
Thanks.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages gdm depends on:
ii adduser 3.112 add and remove users and groups
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii gksu 2.0.2-5 graphical frontend to su
ii gnome-session [x-session-ma 2.30.2-3 The GNOME Session Manager - GNOME
ii gnome-terminal [x-terminal- 2.30.2-1 The GNOME terminal emulator applic
ii kde-window-manager [x-windo 4:4.4.5-4 the K window manager (KWin)
ii konsole [x-terminal-emulato 4:4.4.5-1 X terminal emulator
ii libart-2.0-2 2.3.21-1 Library of functions for 2D graphi
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libattr1 1:2.4.44-2 Extended attribute shared library
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2 simple interprocess messaging syst
ii libdmx1 1:1.1.0-2 X11 Distributed Multihead extensio
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii libglade2-0 1:2.6.4-1 library to load .glade files at ru
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgnomecanvas2-0 2.30.1-1 A powerful object-oriented display
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libpam-modules 1.1.1-6.1 Pluggable Authentication Modules f
ii libpam-runtime 1.1.1-6.1 Runtime support for the PAM librar
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii libpango1.0-0 1.28.3-1 Layout and rendering of internatio
ii librsvg2-2 2.26.3-1 SAX-based renderer library for SVG
ii librsvg2-common 2.26.3-1 SAX-based renderer library for SVG
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxau6 1:1.0.6-1 X11 authorisation library
ii libxdmcp6 1:1.0.3-2 X11 Display Manager Control Protoc
ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar
ii libxi6 2:1.3-5 X11 Input extension library
ii libxinerama1 2:1.1-3 X11 Xinerama extension library
ii libxml2 2.7.8.dfsg-1 GNOME XML library
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii lxsession [x-session-manage 0.4.4-3 a lightweight X11 session manager
ii lxterminal [x-terminal-emul 0.1.8-2 desktop independent vte-based term
ii metacity [x-window-manager] 1:2.30.1-3 lightweight GTK+ window manager
ii openbox [x-window-manager] 3.4.11.1-1 standards compliant, fast, light-w
ii rxvt [x-terminal-emulator] 1:2.6.4-14 VT102 terminal emulator for the X
ii rxvt-unicode-lite [x-termin 9.07-2+b1 RXVT-like terminal emulator with b
ii terminator [x-terminal-emul 0.93-1 multiple GNOME terminals in one wi
ii twm [x-window-manager] 1:1.0.4-2 Tab window manager
ii xfce4-session [x-session-ma 4.6.2-3 Xfce4 Session Manager
ii xfce4-terminal [x-terminal- 0.4.5-1 Xfce terminal emulator
ii xfwm4 [x-window-manager] 4.6.2-1 window manager of the Xfce project
ii xterm [x-terminal-emulator] 261-1 X terminal emulator
Versions of packages gdm recommends:
pn gdm-themes <none> (no description available)
ii whiptail 0.52.11-1 Displays user-friendly dialog boxe
ii xnest 2:1.7.7-9 Nested X server
ii xserver-xephyr 2:1.7.7-9 nested X server
ii xserver-xorg 1:7.5+8 the X.Org X server
ii zenity 2.30.0-1 Display graphical dialog boxes fro
Versions of packages gdm suggests:
pn libpam-gnome-keyring <none> (no description available)
ii locales 2.11.2-7 Embedded GNU C Library: National L
ii pm-utils 1.3.0-3 utilities and scripts for power ma
More information about the pkg-gnome-maintainers
mailing list