SHA256
1
0
forked from pool/systemd

Accepting request 823166 from home:RBrownSUSE:branches:Base:System

Mount /tmp as tmpfs by default - as agreed on opensuse-factory https://lists.opensuse.org/opensuse-factory/2020-07/msg00253.html

OBS-URL: https://build.opensuse.org/request/show/823166
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1107
This commit is contained in:
Thomas Blume 2020-07-29 16:10:17 +00:00 committed by Git OBS Bridge
parent 006b3d0150
commit 2eb82a0e87
4 changed files with 10 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 28 13:38:09 UTC 2020 - Richard Brown <rbrown@suse.com>
- Restore default upstream tmp.mount (/tmp as tmpfs) behaviour (boo#1173461)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 24 06:33:33 UTC 2020 - Franck Bui <fbui@suse.com> Wed Jun 24 06:33:33 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -617,12 +617,6 @@ rm -f %{buildroot}/etc/systemd/system/default.target
# Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one. # Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one.
install -m0644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/ install -m0644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/
# Remove tmp.mount from the unit search path as /tmp doesn't use tmpfs
# by default on SUSE distros. We still keep a copy in /var for those
# who want to switch to tmpfs: it's still can be copied in /etc.
rm %{buildroot}/%{_unitdir}/local-fs.target.wants/tmp.mount
mv %{buildroot}/%{_unitdir}/tmp.mount %{buildroot}/%{_datadir}/systemd/
# don't enable wall ask password service, it spams every console (bnc#747783) # don't enable wall ask password service, it spams every console (bnc#747783)
rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 28 13:38:09 UTC 2020 - Richard Brown <rbrown@suse.com>
- Restore default upstream tmp.mount (/tmp as tmpfs) behaviour (boo#1173461)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 24 06:33:33 UTC 2020 - Franck Bui <fbui@suse.com> Wed Jun 24 06:33:33 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -615,12 +615,6 @@ rm -f %{buildroot}/etc/systemd/system/default.target
# Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one. # Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one.
install -m0644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/ install -m0644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/
# Remove tmp.mount from the unit search path as /tmp doesn't use tmpfs
# by default on SUSE distros. We still keep a copy in /var for those
# who want to switch to tmpfs: it's still can be copied in /etc.
rm %{buildroot}/%{_unitdir}/local-fs.target.wants/tmp.mount
mv %{buildroot}/%{_unitdir}/tmp.mount %{buildroot}/%{_datadir}/systemd/
# don't enable wall ask password service, it spams every console (bnc#747783) # don't enable wall ask password service, it spams every console (bnc#747783)
rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path