Created attachment 15089 [details] patch In my environment the selftest for samba3.rpc.spoolss.printer is failing at ./source3/script/tests/printing/modprinter.pl(138) with the Perl fatal error: Insecure $ENV{ENV} while running setgid at ./source3/script/tests/printing/modprinter.pl line 138 The same error also is found in: ./source3/script/tests/fake_snap.pl line 25 Although my environment is Fedora 28, looking at the errors it looks like they are to be expected with any recent Perl installation; see e.g.: https://perldoc.perl.org/perlsec.html#Cleaning-Up-Your-Path Patch attached.