Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-3081

RH124-444: CLONE - A better way to make journal persistent

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • RH124 - RHEL 8 1 20190507
    • RH124 - RHEL 7 3 20180926
    • RH124
    • None
    • ILT
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)|
      Workaround:

      Description: To get the journald persistent a set of steps is described on various places in the course book(s). This involves creating a folder in /var/log called /var/log/journal, setting appropriate permissions and ownership and restart the process with -USR1,

      While reading the documentation of journald, i came across the posiblity to simple configure journald via the config file provided.
      To accomplise the task of making journald persistent, the steps would be:
      1. open /etc/systemd/journald.conf with your favorate editor
      2. remove the '#' on the line with Storage
      3. change on the line 'Storage=auto' into Storage=Persistent
      4. save and exit the editor
      5. reboot the system.

      documentation: man journald.conf

              rhn-support-sapaul Saumik Paul
              rmegens Rik Megens (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: