fix /var/lock permissions to avoid conflicting with liblockdev [release 2.2-20mamba;Tue Jun 25 2019]
This commit is contained in:
parent
e7a0ff685a
commit
bfafe5a462
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: filesystem
|
Name: filesystem
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: 19mamba
|
Release: 20mamba
|
||||||
Summary: The basic directory layout for a Linux system
|
Summary: The basic directory layout for a Linux system
|
||||||
Group: System/Configuration
|
Group: System/Configuration
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -72,6 +72,13 @@ ln -s ../run %{buildroot}/var/run
|
|||||||
}
|
}
|
||||||
:
|
:
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
if [ $1 -ge 1 ]; then
|
||||||
|
groupadd tty -g %{tty_groupid} 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(0755,root,root) %dir /
|
%attr(0755,root,root) %dir /
|
||||||
@ -139,8 +146,8 @@ ln -s ../run %{buildroot}/var/run
|
|||||||
%dir /var/lib
|
%dir /var/lib
|
||||||
%dir /var/lib/misc
|
%dir /var/lib/misc
|
||||||
%dir /var/local
|
%dir /var/local
|
||||||
%dir /var/lock
|
%attr(1775,root,tty) %dir %{_localstatedir}/lock
|
||||||
%attr(0755,root,root) /var/lock/subsys
|
%attr(0755,root,root) %dir %{_localstatedir}/lock/subsys
|
||||||
%dir /var/log
|
%dir /var/log
|
||||||
%dir /var/mail
|
%dir /var/mail
|
||||||
%dir /var/opt
|
%dir /var/opt
|
||||||
@ -161,6 +168,9 @@ ln -s ../run %{buildroot}/var/run
|
|||||||
/usr/tmp
|
/usr/tmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-20mamba
|
||||||
|
- fix /var/lock permissions to avoid conflicting with liblockdev
|
||||||
|
|
||||||
* Sun Mar 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-19mamba
|
* Sun Mar 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-19mamba
|
||||||
- migrate /var/run to a symlink of /run
|
- migrate /var/run to a symlink of /run
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user