← Back to team overview

desktop-packages team mailing list archive

[Bug 655303] Re: /sbin not within the $PATH in custom gdm scripts

 

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

** Changed in: gdm (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  /sbin not within the $PATH in custom gdm scripts

Status in “gdm” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: gdm

  When using a gdm PostLogin script, the /sbin folder is missing in the
  $PATH variable. This doesn't make sense as for example e2fsck - which
  lies in the /sbin folder - cannot be found and any custom script that
  checks an ext2/3/4 filesystem at login time, fails.


  The bug exists in Ubuntu 10.04 LTS, where custom gdm scripts seem to
  be in a big mess anyway (see: #606619).


  How to reproduce:

  1) set up the gdm script /etc/gdm/PostLogin/Default

  2) within this script, echo the contents of the $PATH variable


  Actual result is:

  /usr/local/bin:/usr/bin:/bin


  Expected result:

  /sbin should be part of the $PATH string.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/655303/+subscriptions