summaryrefslogtreecommitdiff
path: root/usr/src/cmd/auditd
diff options
context:
space:
mode:
authorpr131582 <none@none>2006-08-10 09:34:28 -0700
committerpr131582 <none@none>2006-08-10 09:34:28 -0700
commite1a4a99e6f424cd8d62deb51dccd37f0406e7204 (patch)
tree3d67d89d8f38e9c51deae1ec28b54f2e770d4d51 /usr/src/cmd/auditd
parentb06cdb87d254343cca2e66a21fd421617c3a0b7b (diff)
downloadillumos-joyent-e1a4a99e6f424cd8d62deb51dccd37f0406e7204.tar.gz
6381337 bsmconv(1M) does not enable auditing for alternate roots
6384568 SUNWcsr postinstall may be too aggressive with the audit service in zones
Diffstat (limited to 'usr/src/cmd/auditd')
-rw-r--r--usr/src/cmd/auditd/svc-auditd7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/cmd/auditd/svc-auditd b/usr/src/cmd/auditd/svc-auditd
index f5dc38abfc..ca6c8b53cc 100644
--- a/usr/src/cmd/auditd/svc-auditd
+++ b/usr/src/cmd/auditd/svc-auditd
@@ -49,8 +49,11 @@ if smf_is_nonglobalzone; then
echo `$AUDITCONFIG -getpolicy` | grep perzone > /dev/null
if [ $? -eq 1 ]; then
- echo "$0: auditd is not configured to run in a local zone"
- exit $SMF_EXIT_ERR_CONFIG;
+ echo "$0: auditd is not configured to run in a local"
+ echo " zone, perzone policy not set (see auditconfig(1M))"
+ /usr/sbin/svcadm disable svc:/system/auditd:default
+ sleep 5 &
+ exit $SMF_EXIT_OK;
fi
fi