Bug#675809: gdm3: warnings at install time about /var/lib/gdm3 and Debian-gdm

Vincent Lefevre vincent at vinc17.net
Sun Jun 3 13:11:10 UTC 2012


Package: gdm3
Version: 3.0.4-4
Severity: minor

I reinstalled gdm3 after purging it (as I suspected I had old config).
I made sure that the /etc/gdm3 and /var/lib/gdm3 were removed after a
reboot. Then I reinstalled gdm3 from the Linux text console, but I got
warnings:

[...]
Selecting previously unselected package gdm3.
(Reading database ... 506345 files and directories currently installed.)
Unpacking gdm3 (from .../gdm3_3.0.4-4_amd64.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gconf2 ...
Processing triggers for man-db ...
Setting up gdm3 (3.0.4-4) ...
Allowing use of questionable username.
Adding group `Debian-gdm' (GID 113) ...
Done.
Warning: The home dir /var/lib/gdm3 you specified already exists.
Allowing use of questionable username.
Adding system user `Debian-gdm' (UID 106) ...
Adding new user `Debian-gdm' (UID 106) with group `Debian-gdm' ...
The home directory `/var/lib/gdm3' already exists.  Not copying from `/etc/skel'.
adduser: Warning: The home directory `/var/lib/gdm3' does not belong to the user you are currently creating.
[....] Scheduling reload of GNOME Display Manager configuration: gdm3No such key `show-actions' in schema `org.gnome.power-manager' as specified in override file `/tmp/gdm-KQnYMd/xx_upstream.gschema.override'; ignoring override for this key.
No such key `icon-policy' in schema `org.gnome.power-manager' as specified in override file `/tmp/gdm-KQnYMd/yy_debian.gschema.override'; ignoring override for this key.
. ok

The ones specific to installation are:

Warning: The home dir /var/lib/gdm3 you specified already exists.
adduser: Warning: The home directory `/var/lib/gdm3' does not belong to the user you are currently creating.

I suspect that these warning are unavoidable (because /var/lib/gdm3 is
added before the Debian-gdm' user is created). In this case, I suggest
to output a message in gdm3.postinst before adduser is executed.
Something like:

Creating Debian-gdm user. Some warnings may appear.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdm3 depends on:
ii  accountsservice                             0.6.21-2
ii  adduser                                     3.113+nmu3
ii  dconf-gsettings-backend                     0.12.1-1
ii  debconf [debconf-2.0]                       1.5.43
ii  fvwm [x-window-manager]                     1:2.5.30.ds-1.1+local1
ii  gconf2                                      3.2.5-1
ii  gnome-session [x-session-manager]           3.4.2.1-1
ii  gnome-session-bin                           3.4.2.1-1
ii  gnome-session-fallback [x-session-manager]  3.4.2.1-1
ii  gnome-terminal [x-terminal-emulator]        3.4.1.1-1
ii  gsettings-desktop-schemas                   3.4.2-1
ii  libaccountsservice0                         0.6.21-2
ii  libatk1.0-0                                 2.4.0-2
ii  libattr1                                    1:2.4.46-7
ii  libaudit0                                   1:1.7.18-1.1
ii  libc6                                       2.13-32
ii  libcairo-gobject2                           1.10.2-7
ii  libcairo2                                   1.10.2-7
ii  libcanberra-gtk3-0                          0.28-4
ii  libcanberra0                                0.28-4
ii  libdbus-1-3                                 1.5.12-1
ii  libdbus-glib-1-2                            0.98-1
ii  libfontconfig1                              2.9.0-6
ii  libfreetype6                                2.4.9-1
ii  libgconf2-4                                 3.2.5-1
ii  libgdk-pixbuf2.0-0                          2.26.1-1
ii  libglib2.0-0                                2.32.3-1
ii  libglib2.0-bin                              2.32.3-1
ii  libgtk-3-0                                  3.4.2-1
ii  libpam-modules                              1.1.3-7.1
ii  libpam-runtime                              1.1.3-7.1
ii  libpam0g                                    1.1.3-7.1
ii  libpango1.0-0                               1.30.0-1
ii  librsvg2-common                             2.36.1-1
ii  libselinux1                                 2.1.9-4
ii  libupower-glib1                             0.9.16-2
ii  libwrap0                                    7.6.q-23
ii  libx11-6                                    2:1.4.99.901-2
ii  libxau6                                     1:1.0.7-1
ii  libxdmcp6                                   1:1.1.1-1
ii  libxklavier16                               5.2.1-1
ii  libxrandr2                                  2:1.3.2-2
ii  lsb-base                                    4.1+Debian6
ii  metacity [x-window-manager]                 1:2.34.3-2
ii  mlterm [x-terminal-emulator]                3.1.2-1
ii  policykit-1-gnome                           0.105-2
ii  rxvt-unicode [x-terminal-emulator]          9.15-1
ii  twm [x-window-manager]                      1:1.0.6-1
ii  upower                                      0.9.16-2
ii  xterm [x-terminal-emulator]                 278-1

Versions of packages gdm3 recommends:
ii  at-spi                 1.32.0-1
ii  desktop-base           6.0.7
ii  gnome-icon-theme       3.4.0-2
ii  gnome-power-manager    3.4.0-2
ii  gnome-settings-daemon  3.4.2-3
ii  x11-xkb-utils          7.7~1
ii  xserver-xephyr         2:1.12.1.902-1
ii  xserver-xorg           1:7.6+13
ii  zenity                 3.4.0-2

Versions of packages gdm3 suggests:
ii  gnome-mag             <none>
ii  gnome-orca            <none>
ii  gok                   <none>
ii  libpam-gnome-keyring  3.4.1-4
ii  metacity              1:2.34.3-2

-- Configuration Files:
/etc/gdm3/greeter.gsettings changed [not included]

-- debconf information:
* shared/default-x-display-manager: gdm3
  gdm3/daemon_name: /usr/sbin/gdm3





More information about the pkg-gnome-maintainers mailing list