Correct file modes for %ghosted files
/var/log/btmp was changed in https://github.com/systemd/systemd/commit/f6e64b78cc,
but never adjusted here.
(cherry picked from commit db26d980dd
)
Related: #2165316
This commit is contained in:
parent
eceb26ad96
commit
3b40355969
@ -778,12 +778,12 @@ python3 %{SOURCE2} %buildroot <<EOF
|
||||
%ghost %config(noreplace) /etc/X11/xorg.conf.d/00-keyboard.conf
|
||||
%ghost %attr(0664,root,utmp) /run/utmp
|
||||
%ghost %attr(0664,root,utmp) /var/log/wtmp
|
||||
%ghost %attr(0600,root,utmp) /var/log/btmp
|
||||
%ghost %attr(0660,root,utmp) /var/log/btmp
|
||||
%ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /var/log/lastlog
|
||||
%ghost %config(noreplace) /etc/hostname
|
||||
%ghost %config(noreplace) /etc/localtime
|
||||
%ghost %config(noreplace) /etc/locale.conf
|
||||
%ghost %config(noreplace) /etc/machine-id
|
||||
%ghost %attr(0444,root,root) %config(noreplace) /etc/machine-id
|
||||
%ghost %config(noreplace) /etc/machine-info
|
||||
%config(noreplace) %{_sysconfdir}/rc.d/rc.local
|
||||
%{_sysconfdir}/rc.local
|
||||
@ -799,7 +799,7 @@ python3 %{SOURCE2} %buildroot <<EOF
|
||||
%ghost %dir /var/lib/systemd/linger
|
||||
%ghost /var/lib/systemd/random-seed
|
||||
%ghost %dir /var/lib/systemd/rfkill
|
||||
%ghost %dir /var/log/journal
|
||||
%ghost %dir %attr(2755, root, systemd-journal) %verify(not mode) /var/log/journal
|
||||
%ghost %dir /var/log/journal/remote
|
||||
%ghost %attr(0700,root,root) %dir /var/log/private
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user