Page MenuHomeDevCentral

Use sudo to build php-ast
ClosedPublic

Authored by dereckson on Jan 18 2020, 04:30.
Tags
None
Referenced Files
F2850867: D2132.id5376.diff
Thu, Apr 25, 16:33
F2850866: D2132.id5375.diff
Thu, Apr 25, 16:33
Unknown Object (File)
Thu, Apr 18, 16:22
Unknown Object (File)
Sun, Apr 14, 19:02
Unknown Object (File)
Sun, Apr 14, 11:12
Unknown Object (File)
Sun, Apr 14, 11:12
Unknown Object (File)
Fri, Apr 12, 20:07
Unknown Object (File)
Thu, Apr 4, 02:20
Subscribers
None

Details

Summary

When switching user with Salt, Perl can't run some privileges escalation
function like setgid. The same scripts work well through sudo.

This change fixes the following issue:

Insecure $ENV{PATH} while running setgid at /usr/local/bin/autom4te-2.69 line 92.
/opt/php-ast/__salt.tmp.0tbvmu8_.sh: ./configure: not found
make: no target to make.

Fixes T1557.

Test Plan

Tested on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jan 18 2020, 04:30
This revision was landed with ongoing or failed builds.Jan 18 2020, 04:31
This revision was automatically updated to reflect the committed changes.