Le mercredi 06 juillet 2011 à 20:40 +0200, Yamaban a écrit :
On Wed, 6 Jul 2011 20:09, Christian Boltz <opensuse@...> wrote:
Hello,
on Mittwoch, 6. Juli 2011, Yamaban wrote:
On Wed, 6 Jul 2011 09:00, Andreas Jaeger <aj@...> wrote:
- systemd would not ship any preset file by default (and probably not even the directory), this is left to distributions.
To NOT include the preset dir (/lib/systemd/system.preset/) in the systemd-package is not a good decision in terms of foresight.
If you include the dir in systemd, you make it clear where it belongs to, and make sure it has the needed ownership and rights.
ACK, but...
In rpm-terms: mark it as config-dir.
NACK on marking it as config dir. /lib/systemd/system.preset is only filled by rpms, nothing should be manually changed there.
For manual changes/overrides, there will be /etc/systemd/system.preset/ (this directory should also be created by the systemd package).
Regards,
Christian Boltz
Thanks for the insight.
What I (really) meant was to include BOTH dirs in the systemd package, the /lib/... as 'normal' dir and the /etc/... as 'config' dir.
Well, a directory is never flagged as "config dir", its content is (flagging a dir as %config is just telling rpm to own the directory and flag all files in it as %config). Anyway, I agree we should package both directories by default in our systemd package. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org