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

       Web browser: ---
            Bug ID: 52258
           Summary: Obsolete scripts in /usr/local/bin need to be
                    "managed"
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

The tool afch-updater had hard-coded /usr/*local*/bin/jsub (which was the
advertised location, so no blame here); on tools-webserver-01 that was an
obsolete version of jsub with bugs.  I fixed that by replacing the grid scripts
with symlinks to /usr/bin.

We should manage the compatibility symlinks (I'm fine with removal as well) in
/usr/local/bin on the *whole* cluster properly with Puppet, or place small
wrappers there that log the caller program's name and user, and then pass the
arguments to the "normal" scripts, so that we can track down people using the
old location.

On tools-webserver-01, the following files are in /usr/local/bin *and* in
/usr/bin:

| check-raid.py
| cpan
| cygdb
| cython
| job
| jstart
| jstop
| jsub

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

Reply via email to