Bug#758992: Bug#759001: Bug#758992: krb5-kdc-ldap: please add systemd integration to ensure reliable startup

2014-08-23 Thread Michael Biebl
Am 24.08.2014 00:31, schrieb Michael Biebl:
> b/ make krb5-kdc-ship a drop-in snippet as
  ^
  meant krb5-kdc-ldap here


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#758992: Bug#759001: Bug#758992: krb5-kdc-ldap: please add systemd integration to ensure reliable startup

2014-08-23 Thread Sam Hartman
Well, I'll definitely be fixing the krb5-kdc-ldap issue by including
units.

I had no idea that innserv-overrides were quite that unused.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#758992: Bug#759001: Bug#758992: krb5-kdc-ldap: please add systemd integration to ensure reliable startup

2014-08-24 Thread Michael Biebl
Hi Sam

Am 24.08.2014 01:53, schrieb Sam Hartman:
> Well, I'll definitely be fixing the krb5-kdc-ldap issue by including
> units.

Thanks! If you need help with writing service units for krb5 or want
review/feedback regarding systemd support, feel free to poke use at
pkg-systemd-maintain...@lists.alioth.debian.org

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#758992: Bug#759001: Bug#758992: krb5-kdc-ldap: please add systemd integration to ensure reliable startup

2014-08-24 Thread Michael Biebl

Am 24.08.2014 19:44, schrieb Sam Hartman:
>> "Michael" == Michael Biebl  writes:
> 
> Michael> b/ make krb5-kdc-ship a drop-in snippet as
> Michael> /lib/systemd/system/krb5-kcd.service.d/foo.conf which
> Michael> augments the krb5-kcd.service with the necessary
> Michael> dependencies/orderings.
> 
> 
> Hmm.
> How will this work if an administrator overrides
> /lib/systemd/system/krb5-kdc.service with
> /etc/systemd/system/krb5-kdc.service?
> 
> will /lib/systemd/system/krb5-kdc.service.d be looked at in this case?

I think so, yes. Haven't tested this though.
The override mechanism afaik only works on objects of the same name.

> If so, that seems to violate policy's requirements regarding
> configuration files, because a user might well want to override whatever
> we put in foo.conf and possibly override it with nothing.

Well, one could argue that the user also needs to override the drop-in
snippet via a file in /etc/systemd/system/krb5-kdc.service.d in this
case. This can be an empty file.

The extension mechanism via foo.service.d drop-ins is usually used for
local modifications. So yeah, maybe this is the wrong tool for this
particular case.

Michael





-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature