ee18500d9b
- drop a patch we're not applying - wrap kadmind and kpropd in scripts which check for the presence/absence of files which dictate particular exit codes before exec'ing the actual binaries, instead of trying to use ConditionPathExists in the unit files to accomplish that, so that we exit with failure properly when what we expect isn't actually in effect on the system (#800343)
11 lines
239 B
Bash
11 lines
239 B
Bash
#!/bin/sh
|
|
kpropd=/usr/sbin/kpropd
|
|
if ! test -f /var/kerberos/krb5kdc/kpropd.acl ; then
|
|
echo $"Error. This does not appear to be a slave server, kpropd.acl not found"
|
|
exit 6
|
|
fi
|
|
if ! test -x "$kpropd" ; then
|
|
exit 5
|
|
fi
|
|
exec "$kpropd" "$@"
|