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. > There is now a debate with a package maintainer that is putting in the > etc/systemd/system/<..> directory what he calls a "configuration file, > not a unit file". A unit file provides configuration for a service (or other type of systemd resource). So saying 'configuration file, not a unit file' doesn't make conceptual sense - they're one & the same thing. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :| _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx