Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1946

log file location r/w test when applying a config

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Low
    • Resolution: Fixed
    • CernVM-FS 2.7.5
    • CernVM-FS 2.9
    • CVMFS
    • None
    • ANY

    Description

      Dear all,

       due to complaints from our admins, I have tried to redirect the log output to a dedicated file

        CVMFS_USYSLOG=/path/to/log

      on the node, CVMFS went into an unhealthy state as I forgot to make the target dir writable for cvmfs:cvmfs :-/

      In principle, cvmfs was up, but mounting any repos failed and chksetup mentioned no errors.

      Suggestion: adding a small test to chksetup ensuring that the log path is writable and else throw an error

       

      Cheers,

        Thomas

       

      btw: I am looking for a recipe to query a "consolidated" CVMFS status overview in journald.
      I.e., I have individual mount units for the repos and as well as a generic var-cache-cvmfs2 mount unit, but I am looking for a way, to get all the CVMFS related info in one go (as in the syslog pipe though), so that ideally I can pick these up as JSONs to forward them into the message system.
      Do you know, if something like that would be possible - probably with a dedicated target?

       

       

       

      Cheers and thanks

        Thomas

      Attachments

        Activity

          People

            avalenzu Andrea Valenzuela Ramirez (Inactive)
            thartman Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: