Re: [packages/systemd] removed depreciated /etc/timezone, fixed /var/log/btmp group and mode, adjusted /etc/machine-id and
Speaking about systemd: ~: ldd /sbin/init | grep /usr libapparmor.so.1 => /usr/lib64/libapparmor.so.1 (0x7f199b0e8000) libseccomp.so.2 => /usr/lib64/libseccomp.so.2 (0x7f199ac8a000) If we're chasing the /usr-on-different-media target, these should be moved. It would be nice for rpm to check if anything in /bin, /lib* or /sbin depends on /usr during package. -- Tomasz Pala___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: [packages/systemd] removed depreciated /etc/timezone, fixed /var/log/btmp group and mode, adjusted /etc/machine-id and
On 06.09.2015 21:46, gotar wrote: +%attr(600,root,root) %dir /var/lib/machines this can't be right, dir should have at least +x bit -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: [packages/systemd] removed depreciated /etc/timezone, fixed /var/log/btmp group and mode, adjusted /etc/machine-id and
On 2015-09-07 07:15, Jan Rękorajski wrote: attr 444 on machine-id is really no different than defattr 644. But that is what systemd uses by default, I guess it is a hint to the administrator that this file should really never ever be modified. [jajcus@jajo ~]$ systemd-machine-id-setup --root=/tmp/dupa Initializing machine ID from random generator. [jajcus@jajo ~]$ ls -l /tmp/dupa/etc/ total 4 -r--r--r-- 1 jajcus users 33 Sep 7 10:01 machine-id Jacek ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: [packages/systemd] removed depreciated /etc/timezone, fixed /var/log/btmp group and mode, adjusted /etc/machine-id and
On Mon, Sep 07, 2015 at 07:15:53 +0200, Jan Rękorajski wrote: > ehem, what are the following changes supposed to accomplish? Ask systemd maintainers, their software sets these bits. I could make rpm -V happy by %verify(not mode) but this won't change the fact, that these files in living system would be as is. >> -%dir /var/lib/machines >> +%attr(600,root,root) %dir /var/lib/machines Here's the actual mistake. > 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. Not mine decision, please ask upstream. It might be caused by their mistake, or it might have some explanation when considering ACLs. I don't care THAT much to research this, sorry. -- Tomasz Pala___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: [packages/systemd] removed depreciated /etc/timezone, fixed /var/log/btmp group and mode, adjusted /etc/machine-id and
On Sun, 06 Sep 2015, gotar wrote: > commit e8e38afd6e273980031bf6d52444dc5afda5fe79 > Author: Tomasz Pala> 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 | bagginspld-linux.org | http://www.pld-linux.org/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en