Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - Update armbian-ramlog

Featured Replies

Original version destroyed journal on command postrotate as files in /var/log.hdd/journal are overwritten by cat. With the patch journal is not damaged anymore.

Description

In original version in postrotate files in /var/log.hdd/journal are deleted by the command

dest="/var/log/$file" cat $file > $dest

as /var/log/journal is a symling to /var/log.hdd/journal files are cated on themselves which ends up with an empty file.

How Has This Been Tested?

check journal by journactl. There is no data earlier than today 0:00. Also "journalctl --verify" shows that journal is damaged.

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.