Jump to content

[Armbian build PR] - Installation fix when /var/log.hdd/journal exists


Recommended Posts

Posted

Description

Since systemd journal can have its persistent files in /var/log/journal and may be softlinked to /var/log/journal, it needs to be safely recreated during the installation process.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] installed fix on up-to-date neo2 apt update && apt upgrade on nanopi neo2, copied updated nand-sata-install and exclude.txt, run nand-sata-install to install image to nand, restarted from NAND verified that /var/log.hdd/journal is a folder for persistent journald logging verified that /var/log/journal is symlink to /var/log.hdd/journal Also verified that /run/log/journal is in active use for volatile journald logging.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] 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
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines