[arch-general] sudo 1.8.14.p2-1 breaks gksudo
Hi, after upgrading sudo today, gksudo stopped working. Downgrading sudo fixed the issue. [rocketmouse@archlinux tmp]$ grep sudo /var/log/pacman.log | grep 2015-07-21 [2015-07-21 15:30] [ALPM] upgraded sudo (1.8.14.p1-1 -> 1.8.14.p2-1) [2015-07-21 18:24] [PACMAN] Running 'pacman -U sudo-1.8.11.p2-1-x86_64.pkg.tar.xz' [2015-07-21 18:24] [ALPM] warning: /etc/sudoers installed as /etc/sudoers.pacnew [2015-07-21 18:24] [ALPM] downgraded sudo (1.8.14.p2-1 -> 1.8.11.p2-1) [2015-07-21 18:58] [PACMAN] Running 'pacman -S sudo' [2015-07-21 18:58] [ALPM] warning: /etc/sudoers installed as /etc/sudoers.pacnew [2015-07-21 18:58] [ALPM] upgraded sudo (1.8.11.p2-1 -> 1.8.14.p2-1) [2015-07-21 18:59] [PACMAN] Running 'pacman -U sudo-1.8.11.p2-1-x86_64.pkg.tar.xz' [2015-07-21 18:59] [ALPM] warning: /etc/sudoers installed as /etc/sudoers.pacnew [2015-07-21 18:59] [ALPM] downgraded sudo (1.8.14.p2-1 -> 1.8.11.p2-1) I need to extract the package of version 1.8.14.p1-1 from a backup, I downgraded to 1.8.11.p2-1, because this was the version provided by the downgrade command, however there wasn't an issue when 1.8.14.p1-1 was installed. Any ideas, before I file a bug report? Regards, Ralf
Hi Ralf, On Tue, 21 Jul 2015 19:05:46 +0200 Ralf Mardorf <ralf.mardorf@rocketmail.com> wrote:
Hi,
after upgrading sudo today, gksudo stopped working. Downgrading sudo fixed the issue.
[rocketmouse@archlinux tmp]$ grep sudo /var/log/pacman.log | grep 2015-07-21 [2015-07-21 15:30] [ALPM] upgraded sudo (1.8.14.p1-1 -> 1.8.14.p2-1) [2015-07-21 18:24] [PACMAN] Running 'pacman -U sudo-1.8.11.p2-1-x86_64.pkg.tar.xz' [2015-07-21 18:24] [ALPM] warning: /etc/sudoers installed as /etc/sudoers.pacnew [2015-07-21 18:24] [ALPM] downgraded sudo (1.8.14.p2-1 -> 1.8.11.p2-1) [2015-07-21 18:58] [PACMAN] Running 'pacman -S sudo' [2015-07-21 18:58] [ALPM] warning: /etc/sudoers installed as /etc/sudoers.pacnew [2015-07-21 18:58] [ALPM] upgraded sudo (1.8.11.p2-1 -> 1.8.14.p2-1) [2015-07-21 18:59] [PACMAN] Running 'pacman -U sudo-1.8.11.p2-1-x86_64.pkg.tar.xz' [2015-07-21 18:59] [ALPM] warning: /etc/sudoers installed as /etc/sudoers.pacnew [2015-07-21 18:59] [ALPM] downgraded sudo (1.8.14.p2-1 -> 1.8.11.p2-1)
I need to extract the package of version 1.8.14.p1-1 from a backup, I downgraded to 1.8.11.p2-1, because this was the version provided by the downgrade command, however there wasn't an issue when 1.8.14.p1-1 was installed.
Any ideas, before I file a bug report?
Regards, Ralf
Did you try rebuilding gksudo? Sudo now has an extra option enabled IIRC, so that might help. Regards, runical
On Tue, 21 Jul 2015 19:14:22 +0200, runical@gmx.com wrote:
Did you try rebuilding gksudo? Sudo now has an extra option enabled IIRC, so that might help.
No I didn't try that before you mentioned it. Yet I rebuild it, but with the same configure options. This doesn't solve the issue. I don't know what to change: $ cat PKGBUILD # $Id: PKGBUILD 216095 2014-07-01 15:38:15Z fyan $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Eduardo Lopes (eduol@gmx.net) pkgname=gksu pkgver=2.0.2 pkgrel=6 pkgdesc="A graphical frontend for su" arch=('i686' 'x86_64') url="http://www.nongnu.org/gksu/index.html" license=('GPL') depends=('libgksu>=2.0.12' 'xorg-xauth') makedepends=('gtk-doc' 'intltool') source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz) md5sums=('cacbcac3fc272dce01c6ea38354489e2') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i -e 's|/usr/bin/x-terminal-emulator|-l gnome-terminal|g' gksu.desktop echo "TryExec=gnome-terminal" >> gksu.desktop ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --disable-nautilus-extension make } [snip] Regards, Ralf
Wed, 22 Jul 2015 11:58:18 +0200 Ralf Mardorf <ralf.mardorf@rocketmail.com>:
Just a little bit late. https://bugs.archlinux.org/task/45735 --byte
On Wed, 22 Jul 2015 12:01:54 +0200, Jens Adam wrote:
Wed, 22 Jul 2015 11:58:18 +0200 Ralf Mardorf <ralf.mardorf@rocketmail.com>:
Just a little bit late. https://bugs.archlinux.org/task/45735
Here the issue appeared with password request: # grep -v "#" /etc/sudoers | grep [[:blank:]] Defaults insults root ALL=(ALL) ALL rocketmouse ALL=(ALL) ALL Before posting my bug report I searched for sudo and gksudo bug reports, but none were shown. However, sudo 1.8.14.p2-2 solved the issue. Regards, Ralf
Wed, 22 Jul 2015 12:19:12 +0200 Ralf Mardorf <ralf.mardorf@rocketmail.com>:
On Wed, 22 Jul 2015 12:01:54 +0200, Jens Adam wrote:
Wed, 22 Jul 2015 11:58:18 +0200 Ralf Mardorf <ralf.mardorf@rocketmail.com>:
Just a little bit late. https://bugs.archlinux.org/task/45735
Here the issue appeared with password request:
# grep -v "#" /etc/sudoers | grep [[:blank:]] Defaults insults root ALL=(ALL) ALL rocketmouse ALL=(ALL) ALL
I know what you're referring to, but your mails are sometimes really hard to follow. And reading that bug (or knowing sudo) it's pretty obvious that "nopasswd" played no role here.
Before posting my bug report I searched for sudo and gksudo bug reports, but none were shown.
Some Flyspray tips: I usually check "Search in comments", "Search details" and "All Statuses" when searching and then sort chronologically (ID/Opened/Last Edited). Also, in this case 'gksu' would've been the proper package name. But as that package didn't get touched for three weeks, the most likely culprit had to be sudo anyway. The time when I was active all day on bbs/irc/wiki giving free support is long ago (2006-9), but I think the general consensus had always been "bug first, talk later" ... dunno how others think about that nowadays. Regards, Jens
On Wed, 22 Jul 2015 13:04:22 +0200, Jens Adam wrote:
Also, in this case 'gksu' would've been the proper package name.
I searched for sudo, gksudo, gksu and a few other terms, I just didn't mention all terms here. The advanced search neither is very helpful. Since sudo is a core package and gksu is from extra, my guess was that gksu has to follow sudo, when there are changes, so I decided to first send a request to the mailing list, before filing a bug against a package.
participants (3)
-
Jens Adam
-
Ralf Mardorf
-
runical@gmx.com