import filesystem-3.8-6.el8
This commit is contained in:
parent
a0a13a4204
commit
3aa1d2fd66
@ -1,7 +1,7 @@
|
|||||||
Summary: The basic directory layout for a Linux system
|
Summary: The basic directory layout for a Linux system
|
||||||
Name: filesystem
|
Name: filesystem
|
||||||
Version: 3.8
|
Version: 3.8
|
||||||
Release: 3%{?dist}
|
Release: 6%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: https://pagure.io/filesystem
|
URL: https://pagure.io/filesystem
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -153,6 +153,19 @@ posix.symlink("../.dwz", "/usr/lib/debug/usr/.dwz")
|
|||||||
posix.symlink("usr/sbin", "/usr/lib/debug/sbin")
|
posix.symlink("usr/sbin", "/usr/lib/debug/sbin")
|
||||||
posix.symlink("usr/%{_lib}", "/%{_lib}")
|
posix.symlink("usr/%{_lib}", "/%{_lib}")
|
||||||
posix.mkdir("/run")
|
posix.mkdir("/run")
|
||||||
|
posix.mkdir("/proc")
|
||||||
|
posix.mkdir("/sys")
|
||||||
|
|
||||||
|
st = posix.stat("/proc")
|
||||||
|
if st and st.mode ~= 0555 then
|
||||||
|
posix.chmod("/proc", 0555)
|
||||||
|
end
|
||||||
|
|
||||||
|
st = posix.stat("/sys")
|
||||||
|
if st and st.mode ~= 0555 then
|
||||||
|
posix.chmod("/sys", 0555)
|
||||||
|
end
|
||||||
|
|
||||||
st = posix.stat("/media")
|
st = posix.stat("/media")
|
||||||
if st and st.type == "link" then
|
if st and st.type == "link" then
|
||||||
os.remove("/media")
|
os.remove("/media")
|
||||||
@ -202,12 +215,12 @@ restorecon /media 2>/dev/null >/dev/null || :
|
|||||||
/media
|
/media
|
||||||
%dir /mnt
|
%dir /mnt
|
||||||
%dir /opt
|
%dir /opt
|
||||||
%attr(555,root,root) /proc
|
%ghost %attr(555,root,root) /proc
|
||||||
|
%ghost %attr(555,root,root) /sys
|
||||||
%attr(550,root,root) /root
|
%attr(550,root,root) /root
|
||||||
/run
|
/run
|
||||||
/sbin
|
/sbin
|
||||||
/srv
|
/srv
|
||||||
%attr(555,root,root) /sys
|
|
||||||
%attr(1777,root,root) /tmp
|
%attr(1777,root,root) /tmp
|
||||||
%dir /usr
|
%dir /usr
|
||||||
%attr(555,root,root) /usr/bin
|
%attr(555,root,root) /usr/bin
|
||||||
@ -301,6 +314,13 @@ restorecon /media 2>/dev/null >/dev/null || :
|
|||||||
/var/yp
|
/var/yp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 21 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.8-6
|
||||||
|
- Make /proc and /sys ghost to workaround issue in container
|
||||||
|
- Revert restorecon change
|
||||||
|
|
||||||
|
* Thu Apr 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 3.8-4
|
||||||
|
- Do not restore content of /proc (#1827087)
|
||||||
|
|
||||||
* Wed Apr 22 2020 Pavel Zhukov <pavel@desktop.zhukoff.net> - 3.8-3
|
* Wed Apr 22 2020 Pavel Zhukov <pavel@desktop.zhukoff.net> - 3.8-3
|
||||||
- Add BPF directories (#1788999)
|
- Add BPF directories (#1788999)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user