[packages/systemd] removed depreciated /etc/timezone, fixed /var/log/btmp group and mode, adjusted /etc/machine-id and

Jan Rękorajski baggins at pld-linux.org
Mon Sep 7 07:15:53 CEST 2015


On Sun, 06 Sep 2015, gotar wrote:

> commit e8e38afd6e273980031bf6d52444dc5afda5fe79
> Author: Tomasz Pala <gotar at pld-linux.org>
> Date:   Sun Sep 6 20:18:16 2015 +0200
> 
>     removed depreciated /etc/timezone, fixed /var/log/btmp group and mode,
>     adjusted /etc/machine-id and /var/lib/machines modes
> 
>  systemd.spec | 23 +++++++++++------------
>  1 file changed, 11 insertions(+), 12 deletions(-)

ehem, what are the following changes supposed to accomplish?

> @@ -1104,11 +1104,10 @@ fi
>  /etc/dbus-1/system.d/org.freedesktop.systemd1.conf
>  /etc/dbus-1/system.d/org.freedesktop.timedate1.conf
>  %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
> -%ghost %config(noreplace) %{_sysconfdir}/machine-id
> +%attr(444,root,root) %ghost %config(noreplace) %{_sysconfdir}/machine-id
^^^^^^^^^^^^^^^^^^^^^^^^

> @@ -1419,12 +1418,12 @@ fi
>  %{_mandir}/man8/systemd-update-utmp.8*
>  %{_mandir}/man8/systemd-user-sessions.8*
>  %{_mandir}/man8/systemd-vconsole-setup.8*
> -%dir /var/lib/machines
> +%attr(600,root,root) %dir /var/lib/machines
>  %dir /var/lib/%{name}
>  %dir /var/lib/%{name}/coredump
>  %dir /var/lib/%{name}/catalog
>  %attr(640,root,root) %ghost /var/lib/%{name}/random-seed
> -%attr(640,root,root) %ghost /var/log/btmp
> +%attr(600,root,utmp) %ghost /var/log/btmp
^^^^^^^^^^^^^^^^^^^^^^^

attr 444 on machine-id is really no different than defattr 644.
and changing gid for btmp and then removing group access on that file
completely just makes no sense at all.

-- 
Jan Rękorajski                    | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/


More information about the pld-devel-en mailing list