Browse Source

syslogd gets a new -a argument: specify additional AF_UNIX log devices

syslogd should create & listen to. As in "syslogd -a /chroot/dev/log",
I'm sure you get the idea.
OPENBSD_2_3
deraadt 27 years ago
parent
commit
3db2f08469
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.63 1998/02/07 21:17:37 beck Exp $
# $OpenBSD: rc,v 1.64 1998/02/11 02:28:10 deraadt Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -85,7 +85,7 @@ rm -f /var/spool/uucp/STST/*
echo 'starting system logger' echo 'starting system logger'
rm -f /dev/log rm -f /dev/log
syslogd
syslogd {$syslogd_flags}
# $named_flags is imported from /etc/rc.conf; # $named_flags is imported from /etc/rc.conf;
# if $named_flags != NO, named is run. # if $named_flags != NO, named is run.


+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.12 1998/02/07 21:17:37 beck Exp $
# $OpenBSD: rc.conf,v 1.13 1998/02/11 02:28:11 deraadt Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for 'normal' use: routed_flags="-q" routed_flags=NO # for 'normal' use: routed_flags="-q"
@ -42,3 +42,4 @@ amd_master=/etc/amd/master # AMD 'master' map
ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering
nat_rules=/etc/nat.rules # Rules for Network Address Translation nat_rules=/etc/nat.rules # Rules for Network Address Translation
ipmon_flags=-s # To disable logging, use ipmon_flags=NO ipmon_flags=-s # To disable logging, use ipmon_flags=NO
syslogd_flags= # add more flags, ie. -u -a /chroot/dev/log

Loading…
Cancel
Save