[Mageia-dev] tmpfiles conversion: Thanks! Only 0 pkgs to go!

Colin Guthrie mageia at colin.guthr.ie
Mon Jan 21 16:56:13 CET 2013


'Twas brillig, and Olav Vitters at 21/01/13 12:38 did gyre and gimble:
> On Mon, Jan 21, 2013 at 12:02:42AM +0000, Colin Guthrie wrote:
>> Some bugs that might remain include calling "systemd-tmpfiles --create"
>> in a spec somewhere rather than using "%_tmpfilescreate %{name}"
>> macro... This would certainly cause problems so if anyone knows of it
>> being used somewhere please let me know.
> 
> $ grep 'systemd-tmpfiles --create' */current/SPECS/*.spec
> apache/current/SPECS/apache.spec:systemd-tmpfiles --create httpd.conf
> davfs2/current/SPECS/davfs2.spec:systemd-tmpfiles --create %{name}.conf
> ddclient/current/SPECS/ddclient.spec:systemd-tmpfiles --create %{name}.conf ||:
> dhcp/current/SPECS/dhcp.spec:systemd-tmpfiles --create dhcpd.conf
> dhcp/current/SPECS/dhcp.spec:systemd-tmpfiles --create dhcrelay.conf
> dhcp/current/SPECS/dhcp.spec:systemd-tmpfiles --create dhclient.conf
> dmraid/current/SPECS/dmraid.spec:systemd-tmpfiles --create %{name}.conf
> inn/current/SPECS/inn.spec:systemd-tmpfiles --create %{name}.conf
> lvm2/current/SPECS/lvm2.spec:systemd-tmpfiles --create %{name}.conf
> mdadm/current/SPECS/mdadm.spec:systemd-tmpfiles --create %{name}.conf
> motion/current/SPECS/motion.spec:systemd-tmpfiles --create %{name}.conf ||:
> munin/current/SPECS/munin.spec:systemd-tmpfiles --create %{name}.conf
> pam/current/SPECS/pam.spec:%{_bindir}/systemd-tmpfiles --create %{name}.conf
> postgrey/current/SPECS/postgrey.spec:systemd-tmpfiles --create
> resolvconf/current/SPECS/resolvconf.spec:systemd-tmpfiles --create %{name}.conf
> spamassassin/current/SPECS/spamassassin.spec:systemd-tmpfiles --create %{name}.conf ||:
> tor/current/SPECS/tor.spec:systemd-tmpfiles --create %{name}.conf
> uptimed/current/SPECS/uptimed.spec:systemd-tmpfiles --create

For the sake of the list (already discussed in private):

I've fixed postgrey and uptimed as those were the only strictly buggy
ones - the rest just using direct calls rather than the now-available
macros.

The others should likely be updated for consistency, but it's not 100%
essential right now.

Cheers

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list