On Tue, Mar 14, 2017 at 10:50:57AM +0000, Daniel P. Berrange wrote: > On Tue, Mar 14, 2017 at 06:31:46AM -0400, Simo Sorce wrote: > > Hello, > > as per subject, what is the stance on dropping anything there from a > > rpm ? Either marked as %{config} or not ? > > > > My naive reading of the Packaging guidelines is that nothing should be > > dropped in there by a package, but the guidelines only explicitly talk > > about not putting "service" files in there. > > The packaging guidelines actually use 'unit file' as the term > > https://fedoraproject.org/wiki/Packaging:Systemd#Filesystem_locations > > "Packages with systemd unit files *must* put them into %{_unitdir}. > %{_unitdir} evaluates to /lib/systemd/system" > > From that I'd say any RPM putting unit files into /etc/systemd/system is > not compliant, regardless of whether its a full unit file, or a override > unit file in a '.d' directory. Exactly. Distro packages putting files in /etc/systemd is also contrary to systemd logic (/usr/lib is for packaging, /etc is for the admin). Everything which can be put underneath /etc/systemd/system can be put under /usr/lib/systemd/system also. This nicely avoids any questions about %config vs %config(noreplace) vs. anything else. Zbyszek _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx