https://bugzilla.wikimedia.org/show_bug.cgi?id=48726

       Web browser: ---
            Bug ID: 48726
           Summary: $HOME isn't set on webservers, causes jsub to try
                    /$JOBNAME.out as output file
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: tools
          Assignee: m...@uberbox.org
          Reporter: t...@tim-landscheidt.de
    Classification: Unclassified
   Mobile Platform: ---

PHP scripts & Co. get an unset $HOME.  When they call jsub, the latter tries to
set the output file to /$JOBNAME.out (and .err).

It should be possible to use "(getpwuid ($<)) [7]" instead of "$ENV {'HOME'}"
to fix jsub.

On Toolserver, $HOME isn't set as well IIRC, so this might not be a regression,
but if $HOME would be set, it would probably make it much less surprising for a
lot of users who think that it's always there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to