Bug#700162: libgksu2-0: should default to sudo if no root password (see bug #481689)

Kernc kerncece at gmail.com
Sat Feb 9 11:00:36 UTC 2013


Package: libgksu2-0
Version: 2.0.13~pre1-6
Severity: serious
Tags: patch
Justification: 0.

Dear Maintainer,

Since 2008, if root account has no password or is locked
(e.g. by `passwd -d root`, using sudo accounts), then certain
desktop gksu invocations fail (unetbootin from the menu, wicd, ...).
They fail because the GConf key /apps/gksu/sudo-mode
is not set by default. More info in Debian gksu bug #481686
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481689

I provide a patch for libgksu-2.0.postinst script that
fixes this issue (after each gksu installation).

This bug has been present since lenny, there's no reason
not to fix it for wheezy. I'm marking this bug serious on
RC_policy justification that it "makes unrelated software on
the system break."

While the short postinst patch may fix the problem, this is
really just a hack.

Rather, I think opinionated, libgksu should have the
'can-root-even-log-in?' check **hard-coded** (and if root
can't log in, provide sudo behavior). Think about it, if root
cannot log in, who is going to do administrative tasks if not
sudo users?


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

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

Versions of packages libgksu2-0 depends on:
ii  gconf2                    3.2.5-1+build1
ii  libatk1.0-0               2.4.0-2
ii  libc6                     2.13-37
ii  libcairo2                 1.12.2-2
ii  libfontconfig1            2.9.0-7
ii  libfreetype6              2.4.9-1
ii  libgconf2-4               3.2.5-1+build1
ii  libgdk-pixbuf2.0-0        2.26.1-1
ii  libglib2.0-0              2.33.12+really2.32.4-3
ii  libgnome-keyring0         3.4.1-1
ii  libgtk2.0-0               2.24.10-2
ii  libgtop2-7                2.28.4-3
ii  libpango1.0-0             1.30.0-1
ii  libstartup-notification0  0.12-1
ii  libx11-6                  2:1.5.0-1
ii  xauth                     1:1.0.7-1

Versions of packages libgksu2-0 recommends:
ii  sudo  1.8.5p2-1

libgksu2-0 suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130209/44103306/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default_to_sudo_if_no_root_password.patch
Type: application/octet-stream
Size: 585 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130209/44103306/attachment.obj>


More information about the pkg-gnome-maintainers mailing list