https://bugzilla.xfce.org/show_bug.cgi?id=12282

            Bug ID: 12282
           Summary: [PATCH] xflock4: Do not override PATH with hardcoded
                    value.
    Classification: Xfce
           Product: Xfce4-session
           Version: Unspecified
          Hardware: Other
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Created attachment 6514
  --> https://bugzilla.xfce.org/attachment.cgi?id=6514&action=edit
patch file

xflock4 clobbers the PATH environment variable with a hardcoded value.  /bin
and /usr/bin may be common locations to find binaries on FHS distros, but it is
not always so.  I am a maintainer for the GNU GuixSD project, which does not
conform to the FHS, and we do not have /usr/bin or anything in /bin except
/bin/sh.  So, I think the sanest thing to do in this script is not touch PATH
at all.  It should be properly configured before the xflock4 process is
launched.

I noticed this bug on 4.12.0.  The attached patch is against the current master
branch.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to