Public bug reported:

The tmpfs mount is causing serious issues on Pi platforms with lower
memory sizes. In particular it's preventing creation of boot assets on
the half-gig platforms, but it also causes memory pressure issues on the
1GB platforms.

Generally speaking, tmpfs /tmp is probably a terrible idea on anything
with <8GB of RAM, so add a condition making tmp.mount conditional on
this (systemd 244 added ConditionMemory which should be sufficient).
Will also need a tmp.conf for systemd-tmpfiles to ensure the regular
/tmp directory actually gets cleaned. This probably *can't* be
conditional on RAM, but it's not going to harm any tmpfs /tmp users
(just cause a tiny amount of extra I/O cleaning files anyway).

This will need SRU'ing to resolute.

** Affects: ubuntu-raspi-settings (Ubuntu)
     Importance: High
     Assignee: Dave Jones (waveform)
         Status: Triaged

** Affects: ubuntu-raspi-settings (Ubuntu Resolute)
     Importance: Critical
     Assignee: Dave Jones (waveform)
         Status: Triaged

** Also affects: ubuntu-raspi-settings (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-raspi-settings (Ubuntu Resolute)
     Assignee: (unassigned) => Dave Jones (waveform)

** Changed in: ubuntu-raspi-settings (Ubuntu)
       Status: New => Triaged

** Changed in: ubuntu-raspi-settings (Ubuntu)
     Assignee: (unassigned) => Dave Jones (waveform)

** Changed in: ubuntu-raspi-settings (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-raspi-settings (Ubuntu Resolute)
       Status: New => Triaged

** Changed in: ubuntu-raspi-settings (Ubuntu Resolute)
   Importance: Undecided => Critical

** Changed in: ubuntu-raspi-settings (Ubuntu Resolute)
    Milestone: None => ubuntu-26.04.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2157975

Title:
  Disable tmp.mount when RAM <8GB

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-raspi-settings/+bug/2157975/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to