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
229 B
Bash
11 lines
229 B
Bash
#!/bin/sh
|
|
kadmind=/usr/sbin/kadmind
|
|
if test -f /var/kerberos/krb5kdc/kpropd.acl ; then
|
|
echo $"Error. This appears to be a slave server, found kpropd.acl"
|
|
exit 6
|
|
fi
|
|
if ! test -x "$kadmind" ; then
|
|
exit 5
|
|
fi
|
|
exec "$kadmind" "$@"
|