Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6850

du needs to be GNU du

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.9
    • Fix Version/s: 1.6.8, 1.7.6, 1.8.7, 1.9.3
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      Solaris 10, sparc64, Mac OS X Server
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      In Administration >> Configuration >> Variables >> Operating System is an entry for pathtodu. This should specify that GNU du is needed since du is called with --apparent-size, a GNUism. Otherwise, the error logs will contain lines similar to:
      /usr/bin/du: illegal option – apparent-size
      usage: du [-a] [-d] [-h|-k] [-r] [-o|-s] [-H|-L] [file ...]

      The page in question is lang/en_utf8/admin.php

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Oct/08