mount /var/log on tmpfs

asked 2018-02-22 19:06:26 -0600

JetStream gravatar image

updated 2018-02-23 04:23:04 -0600

I have been exploring the option of mounting certain directories as tmpfs to reduce writes to the SSD

While I can mount /tmp with no issues, when I do this for /var/log I see a lot of messages on dmesg

[   36.959093] audit: type=1130 audit(1519262134.842:245): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sssd-kcm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

# /etc/fstab

tmpfs      /var/log               tmpfs   defaults,mode=0755,size=10%                 0       0
  • Any ideas why these audit messages are being spewed out?
  • What do they mean?
  • Is this not the right way of mounting these folders on tmpfs? Or am I missing a step somewhere?

This is on Fedora 27 Workstation running on a laptop with SSD. If you'd like me to share more details on my setup please let me know what is needed. I'll be happy to post more details.

edit retag flag offensive close merge delete