Accepting request 827614 from devel:kubic
- Update to version 2.4 - fixes for autorelabel in initrd - Use systemds tmpfiles.d/tmp.conf to relabel /tmp and cleanup /tmp after 10 days and /var/tmp after 30 days - Don't install tmp.mount.d/selinux.conf on Factory [bsc#1175379] - Add tmp.mount for SUSE MicroOS 5.0 [jsc#SMO-2] - SELinux support [jsc#SMO-15] - overwrite tmp.mount options with SELinux label for /tmp - Add generator to label mount points if required - Add dracut module to relabel core system if required OBS-URL: https://build.opensuse.org/request/show/827614 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/microos-tools?expand=0&rev=10
This commit is contained in:
parent
a3da0f705f
commit
d670ac9b36
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b5d3cc2db01288366ae14e1e699378b7d89ffa68e181b5e3b05e85f6ba60cbaa
|
|
||||||
size 75236
|
|
3
microos-tools-2.4.tar.xz
Normal file
3
microos-tools-2.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e4315e295786375fc854009b37fb73f3e4d68cef8e05c8f8c9e5590defad32b8
|
||||||
|
size 75256
|
@ -1,10 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 18 14:33:56 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Update to version 2.4
|
||||||
|
- fixes for autorelabel in initrd
|
||||||
|
- Use systemds tmpfiles.d/tmp.conf to relabel /tmp and cleanup
|
||||||
|
/tmp after 10 days and /var/tmp after 30 days
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 18 08:45:41 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Don't install tmp.mount.d/selinux.conf on Factory [bsc#1175379]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 14 08:56:00 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Add tmp.mount for SUSE MicroOS 5.0 [jsc#SMO-2]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 12 07:32:04 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
Wed Aug 12 07:32:04 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
- Update to version 2.3
|
- Update to version 2.3
|
||||||
- overwrite tmp.mount options with SELinux label for /tmp
|
- SELinux support [jsc#SMO-15]
|
||||||
- Add generator to label mount points if required
|
- overwrite tmp.mount options with SELinux label for /tmp
|
||||||
- Add dracut module to relabel core system if required
|
- Add generator to label mount points if required
|
||||||
|
- Add dracut module to relabel core system if required
|
||||||
- Add locale-check to reset locale to system default if the one
|
- Add locale-check to reset locale to system default if the one
|
||||||
set by SSH does not exist [bsc#1156175]
|
set by SSH does not exist [bsc#1156175]
|
||||||
- Set TMPDIR for salt to not use /tmp (preparation for noexec)
|
- Set TMPDIR for salt to not use /tmp (preparation for noexec)
|
||||||
|
@ -17,13 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: microos-tools
|
Name: microos-tools
|
||||||
Version: 2.3
|
Version: 2.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Files and Scripts for openSUSE MicroOS
|
Summary: Files and Scripts for openSUSE MicroOS
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
URL: https://github.com/kubic-project/microos-tools
|
URL: https://github.com/kubic-project/microos-tools
|
||||||
Source: microos-tools-%{version}.tar.xz
|
Source: microos-tools-%{version}.tar.xz
|
||||||
|
Source1: tmp.mount
|
||||||
Source99: microos-tools-rpmlintrc
|
Source99: microos-tools-rpmlintrc
|
||||||
BuildRequires: distribution-release
|
BuildRequires: distribution-release
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -44,6 +45,9 @@ Files, scripts and directories for openSUSE Kubic.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
%if 0%{?suse_version} <= 1500
|
||||||
|
install -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/
|
||||||
|
%endif
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre setup-systemd-proxy-env.service printenv.service
|
%service_add_pre setup-systemd-proxy-env.service printenv.service
|
||||||
@ -75,11 +79,13 @@ Files, scripts and directories for openSUSE Kubic.
|
|||||||
%{_unitdir}/setup-systemd-proxy-env.service
|
%{_unitdir}/setup-systemd-proxy-env.service
|
||||||
%dir %{_unitdir}/sysinit.target.wants
|
%dir %{_unitdir}/sysinit.target.wants
|
||||||
%{_unitdir}/sysinit.target.wants/MicroOS-firstboot.service
|
%{_unitdir}/sysinit.target.wants/MicroOS-firstboot.service
|
||||||
%dir %{_unitdir}/tmp.mount.d
|
%if 0%{?suse_version} <= 1500
|
||||||
%{_unitdir}/tmp.mount.d/selinux.conf
|
%{_unitdir}/tmp.mount
|
||||||
|
%endif
|
||||||
%dir %{_unitdir}/salt-minion.service.d
|
%dir %{_unitdir}/salt-minion.service.d
|
||||||
%{_unitdir}/salt-minion.service.d/TMPDIR.conf
|
%{_unitdir}/salt-minion.service.d/TMPDIR.conf
|
||||||
%{_tmpfilesdir}/salt-minion-tmpdir.conf
|
%{_tmpfilesdir}/salt-minion-tmpdir.conf
|
||||||
|
%{_tmpfilesdir}/tmp.conf
|
||||||
%{_sysctldir}/30-corefiles.conf
|
%{_sysctldir}/30-corefiles.conf
|
||||||
%{_libexecdir}/MicroOS-firstboot
|
%{_libexecdir}/MicroOS-firstboot
|
||||||
%{_sbindir}/setup-systemd-proxy-env
|
%{_sbindir}/setup-systemd-proxy-env
|
||||||
|
25
tmp.mount
Normal file
25
tmp.mount
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
#
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Temporary Directory (/tmp)
|
||||||
|
Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
|
||||||
|
Documentation=man:file-hierarchy(7)
|
||||||
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
||||||
|
ConditionPathIsSymbolicLink=!/tmp
|
||||||
|
DefaultDependencies=no
|
||||||
|
Conflicts=umount.target
|
||||||
|
Before=local-fs.target umount.target
|
||||||
|
After=swap.target
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=tmpfs
|
||||||
|
Where=/tmp
|
||||||
|
Type=tmpfs
|
||||||
|
Options=mode=1777,strictatime,nosuid,nodev
|
Loading…
x
Reference in New Issue
Block a user