Package: menu Version: 2.1.46 Severity: normal Hello,
it seems su-to-root wrapper script doesn't handle well calls which use multiple commands. Scenario where I've discovered this: After installing system-config-lvm package (1.1.16-1), the utility doesn't run under a non-root user (using standard GNOME 3.4). It tries to run the following command: su-to-root -X -c "invoke-rc.d lvm2 start ; /usr/share/system-config-lvm/system-config-lvm.py"; It seems that without invoking a shell to handle the two commands only the first will be run under root privilages. Here's a fix using printf that seems to correct the problem (only for gksu, which is used in wheezy): @@ -105,3 +105,3 @@ case $SU_TO_ROOT_X in - gksu) gksu -u "$PRIV" "$COMMAND";; + gksu) gksu -u "$PRIV" "sh -c $(printf %q "$COMMAND")";; gksudo) gksudo -u "$PRIV" "$COMMAND";; p.s. if this is more of a gksu issue, please forward where necessary Regards, Ivan -- System Information: Debian Release: 7.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages menu depends on: ii dpkg 1.16.12 ii install-info 4.13a.dfsg.1-10 ii libc6 2.13-38+deb7u1 ii libgcc1 1:4.7.2-5 ii libstdc++6 4.7.2-5 menu recommends no packages. Versions of packages menu suggests: ii gksu 2.0.2-6 pn menu-l10n <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org