[Expired for gnome-session (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: gnome-session (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1639536

Title:
  gnome-session-inhibit passes arguments to execvp incorrectly

Status in gnome-session package in Ubuntu:
  Expired

Bug description:
  steps to reproduce:

  gnome-session-inhibit sh -c "sleep 10"

  Excepted result is of course wait for 10 seconds before termination.

  Actual result:
  Failed to open "sleep 10"

  That is causes because shell ignores the first argument that should be
  the program name. But inhibit passes "-c" as the first argument.

  Attached patch fixes the inhibit to work correctly. Exactly like sudo,
  parallel, systemd-inhibit or any similar program works.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: gnome-session-bin 3.20.2-1ubuntu7
  ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0
  Uname: Linux 4.8.0-26-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Nov  6 07:22:38 2016
  InstallationDate: Installed on 2037-12-25 (-7719 days ago)
  InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  SourcePackage: gnome-session
  UpgradeStatus: Upgraded to yakkety on 2016-10-21 (15 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1639536/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to