On Wed, Jun 24, 2020 at 11:32 AM Jan Ritzerfeld <suse@mailinglists.jan.ritzerfeld.org> wrote:
Am Montag, 22. Juni 2020, 16:41:50 CEST schrieb ich:
Hey,
for many years I've been using the following steps to mount /tmp via tmpfs: 1. Removing tmp from /etc/fstab 2. mkdir -p /etc/systemd/system/local-fs.target.wants 3. ln -s /usr/lib/systemd/system/tmp.mount /etc/systemd/system/local-fs.target.wants/tmp.mount
Recently, I installed Tumbleweed on a spare partition for testing purposes and this trick stopped working. There is no /tmp mounted anymore and the system won't boot successfully.
Any ideas?
You're both right, Jan and Andreas. Instead of looking into the bash history, I blindly copied the instructions from an very old mail into this one :-D https://lists.opensuse.org/opensuse/2013-07/msg00141.html
So, on Leap 15.1 and current TW my step 3 actually is: ln -s /usr/share/systemd/tmp.mount /etc/systemd/system/local-fs.target.wants/tmp.mount
That worked for Leap 15.1 but not for TW.
Simply get a copy of tmp.mount from the systemd git repository. cd /etc/systemd/system wget --timestamping https://raw.githubusercontent.com/systemd/systemd/master/units/tmp.mount ln -s /etc/systemd/system/tmp.mount /etc/systemd/system/local-fs.target.wants/tmp.mount reboot It is a shame it was decided to deviate from the default., -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org