Remove "/var/spool/clientmqueue" and "/var/spool/mqueue" from the list
of obsolete directories and handle them via the "sendmail" item in postinstall(8), too. These directories are of course necessary on systems using the "sendmail" package. Problem pointed out by Hisashi T Fujinaka on "current-users" mailing list.
This commit is contained in:
parent
54a902424e
commit
3421be369d
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.627 2006/06/08 00:15:09 rpaulo Exp $
|
||||
# $NetBSD: mi,v 1.628 2006/06/09 21:19:40 tron Exp $
|
||||
. base-sys-root
|
||||
./altroot base-sys-root
|
||||
./bin base-sys-root
|
||||
@ -3767,13 +3767,11 @@
|
||||
./var/run base-sys-root
|
||||
./var/rwho base-netutil-root
|
||||
./var/spool base-sys-root
|
||||
./var/spool/clientmqueue base-obsolete obsolete
|
||||
./var/spool/ftp base-netutil-root
|
||||
./var/spool/ftp/bin base-netutil-root
|
||||
./var/spool/ftp/etc base-netutil-root
|
||||
./var/spool/ftp/hidden base-netutil-root
|
||||
./var/spool/lock base-sys-root
|
||||
./var/spool/mqueue base-obsolete obsolete
|
||||
./var/spool/output base-lpr-root
|
||||
./var/spool/output/lpd base-lpr-root
|
||||
./var/spool/postfix base-postfix-root
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: postinstall,v 1.17 2006/06/09 12:18:30 tron Exp $
|
||||
# $NetBSD: postinstall,v 1.18 2006/06/09 21:19:40 tron Exp $
|
||||
#
|
||||
# Copyright (c) 2002-2005 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
@ -792,10 +792,10 @@ do_sendmail()
|
||||
return 0
|
||||
fi
|
||||
|
||||
for f in mail/helpfile mail/local-host-names mail/sendmail.cf \
|
||||
mail/submit.cf rc.d/sendmail rc.d/smmsp; do
|
||||
fd=/etc/${f}
|
||||
[ -e "${DEST_DIR}${fd}" ] && echo "${fd}"
|
||||
for f in /etc/mail/helpfile /etc/mail/local-host-names \
|
||||
/etc/mail/sendmail.cf /etc/mail/submit.cf /etc/rc.d/sendmail \
|
||||
/etc/rc.d/smmsp /var/spool/clientmqueue /var/spool/mqueue; do
|
||||
[ -e "${DEST_DIR}${f}" ] && echo "${f}"
|
||||
done | obsolete_paths ${op}
|
||||
failed=$(( ${failed} + $? ))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user