LSB init script virtual facility for name switch service resolution
On Mon, Sep 03, 2012 at 06:50:57PM +0100, Jamie Thompson wrote:
> Not sure where it's best to start this discussion, but here seems a
> good a place as any.
> In brief, I have all my account information in LDAP. Problem is, I
> have to manually add slapd into most of my init scripts to make sure
> the ordering is correct and that my accounts DB is up in time for
> starting the services. This then means merging in updates which gets
> *very* tiresome.
> The article http://wiki.debian.org/LSBInitScripts/#line-116 shows
> several virtual facility names, and I suspect something akin to
> $named would be desirable for all of the services that could provide
> backends for in nsswitch data, i.e. slapd - all scripts that run
> with their own user account could then depend on this facility. I
> propose something as suggested in the
> article, e.g. 'x-nsswitch'.
Sounds like a good idea. Please could you file a bug against
insserv to request it. Have you discussed this with the LDAP
maintainers at all? It might be worth getting their input
before getting the virtual facility added.
Packages should probably only use Should-Start rather than
Required-Start, so that this isn't going to cause circular
.'`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org