Your message dated Wed, 21 Mar 2018 17:18:42 +0000 with message-id <[email protected]> and subject line Bug#892768: Removed package(s) from unstable has caused the Debian Bug report #490134, regarding "preserve-env" option does not preserve environment to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 490134: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490134 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: gksu Severity: normal Version: 2.0.0-5 The "preserve-env" option does not work as advertised: """ --preserve-env, -k Preserve the current environments, does not set $HOME nor $PATH, for example. """ As a testcase: % export FOO="bar" % gksu -- /bin/sh -c "echo FOO=\$FOO" FOO= % gksu -k -- /bin/sh -c "echo FOO=\$FOO" FOO= I would have expected that, when specifying "-k", gksu would preserve the FOO environment variable for the target program. At least in gksudo mode, specifying "--preserve-env" seems to just toggle passing "-H" to sudo, which toggles whether HOME is preserved: % gksu -- /bin/sh -c "echo HOME=\$HOME" HOME=/root % gksu -k -- /bin/sh -c "echo HOME=\$HOME" HOME=/home/lamby To really have "Preserve the current environments" semantics, shouldn't -H be replaced with -E? Regards, -- Chris Lamb, UK [email protected] GPG: 0x634F9A20
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Version: 2.0.2-9+rm Dear submitter, as the package gksu has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/892768 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---

