Skip to content
View in the app

A better way to browse. Learn more.

Learn more

nand-sata-install copies /var/log/journal symlink instead of /var/log.hdd/journal

Featured Replies

Since volatile journald logging is done in-memory in /run/log/journal, and made persistent in /var/log.hdd/journal, the rsync of /var/log/journal in nand-sata-install no longer works because it is a symlink to /var/log.hdd/journal in the live system, and will create a circular symlink when booting from NAND. On the target image /var/log is the folder that is directory-mounted to /var/log.hdd during boot.

 

I propose to exclude /var/log from the rsync, and rsync /var/log.hdd to /var/log on the target image.

Another solution could be to exclude only /var/log/journal from the rsync, and create an empty /var/log/journal in the target image.

 

Kind regards,

Dennis

  • Author

I created a pull request to exclude /var/log/journal from rsync in nand-sata-install / armbian-install and create empty ${TempDir}/rootfs//var/log/journal folder when /var/log.hdd/journal exists during the installation: https://github.com/armbian/build/pull/4371

Edited by Dennboy

Guest
This topic is now closed to further replies.

Navigation

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.