i have migrated 2 notebooks from archlinux to artix. On both opentmpfiles-setup failed to start because of postgresql:
$ sudo rc-service opentmpfiles-setup start
* Setting up tmpfiles.d entries ...
chattr: Die Operation wird nicht unterstützt beim Setzen der Flags in /var/lib/postgres/data [ !! ]
* ERROR: opentmpfiles-setup failed to start
My first thaught to remove unneeded postgresql is only suitable on the 2 notebooks, but i want to migrate a server running davical and other services too. Davical needs postgresql.
So i followed this thread (https://forum.artixlinux.org/index.php/topic,1269.msg8940.html#msg8940) and changed the shell of user postgres to /bin/bash and ran initdb. On 1 notebook both opentmpfiles-setup as well as postgresql are starting fine now, on the other only postgresql starts. opentmpfiles-setup fails with the same error.
/var/lib/postgres is owned by root, mode 755. /var/lib/postgres/data and files in this dir are owned by postgres, mode 700 on both.
what can cause this different behaviour?
there is an open issue at github describing a similat error: https://github.com/OpenRC/opentmpfiles/issues/2
i used the solution of LW-archlinux from 2 May 2017:
After reboot opentmpfiles-setup has started correctly in runlevel boot.
I don't know, if this an appropriate solution. So i don't mark this thread as solved, as long as nobody has reviewed.
Edit 19.03.2020: postgresql and davical are running without any problems since editing /etc/tmpfiles.d/postgresql.conf -> i'll mark topic as solved
you have right, tmpfiles-setup failed for more users, we will fix! Thank you for report!!!
Fix has been applied, so will be available once sync'd to mirrors