Request 202 was acted upon.
_________________________________________________________________________
URL: https://rt.openpkg.org/id/202
Ticket: [OpenPKG #202]
Subject: daemon packages have to be run-time checked
Requestors:
Queue: openpkg
Owner: thl
Status: open
Transaction: Correspondence added by thl
Time: Mon Jul 28 22:46:48 2003
________________________________________________________________________
test:
# P=FIMXE
# ps -ax | fgrep $P
# /cw/bin/rpm -e $P
# rm -rf /cw/etc/$P/ /cw/var/$P/; rm /cw/etc/rc.d/rc.$P
# /cw/bin/rpm -Uvh /e/openpkg/PKG/bin/$P*
# ll /cw/var/$P/
- daemon must not run
# /cw/etc/rc $P status restart status
- status must show active=no both times
- daemon must not run
# /cw/etc/rc $P status start status
- status must show active=no first then
- daemon must be running and
- daemon must be bound to/listen to 127.0.0.1, then
- status must show active=yes
# /cw/etc/rc $P status restart status
- memorize current pid
- status must show active=yes both times
- daemon must be running, but use different pid
#FIXME enforce logging and verify; enforce small size rotation
# /cw/etc/rc $P status daily status
- status must show active=yes both times
- log file rotation must have been done
- both log files must have same owner/perm
# /cw/bin/rpm -Uvh --force $P
# /cw/etc/rc $P status
- daemon must run
# /cw/etc/rc $P status stop status
- status must show active=yes first then
- daemon must not be running, then
- status must show active=no
# /cw/etc/rc $P status start status
# /cw/bin/rpm -e --force $P
- daemon must not run
https://rt.openpkg.org/Ticket/Display.html?id=
165 rc %daily log file rotation
176 daemon bind/listen address
178 could we use rc in log rotation epilog?
188 rc %status
189 rc %start, %stop, %restart
190 spec %preun daemon shut down
191 spec %post restart
202 daemon packages have to be run-time checked
[CORE] 165 176 178 188 189 190 191 202
cvs x x x x x x x x
ntp x 1 x x x x x x
openssh x 2 x x x x x x
rsync x x x x x x x x
[BASE] 165 176 178 188 189 190 191 202
amd x 1 x x x x x x
apache x x x x x x x x
bind x x x x x x x x
delegate x x x x x x x x
dhcpd x x x x x x x x
inn x x x x x x x x
ircd x x x x x x x x
lmtp2nntp x x x x x x x x
mysql x x x x x x x x
nntpcache x x x x x x x x
openldap x x x x x x x x
portsentry x 3 x x x x x x
postfix x x x x x x x x
postgresql x x x x x x x x
prngd x x x x x x x x
proftpd x x x x x x x x
pureftpd x x x x x x x x
qpopper x x x x x x x x
samba x x x x x x x x
smtpfeed x x x x x x x x
squid x x x x x x x x
uucp x x x x x x x x
zebra x x x x x x x x
Notes:
1) wildcard bind because single instance per machine only
2) wildcard bind to avoid user locking himself out
3) wildcard bind by design
[PLUS] 165 176 178 188 189 190 191 202
aegis - - - % - - - -
bind8 - - - x - - - -
clamav - - - x - - - -
cvsd - - - x - - - -
imapd - - - x - - - -
kerberos - - - - - - - -
msntp - - - - - - - -
mysql3 - - - x - - - -
pb4sd - - - x - - - -
pks - - - x - - - -
portfwd - - - x - - - -
radius - - - x - - - -
samhain - - - x - - - -
sasl - - - x - - - -
sendmail - - - x - - - -
spread - - - % - - - - FIXME no rc file at all
tftp - - - x - - - -
[EVAL] 165 176 178 188 189 190 191 202
aegis - - - - - - - -
aica - - - % - - - -
apache2 - - - x - - - -
arpd - - - x - - - -
cups - - - x - - - -
dcron - - - x - - - -
dhcp-agent - - - x - - - -
djbdns - - - x - - - -
dss - - - x - - - -
easysoap - - - % - - - -
exim - - - x - - - -
gated - - - - - - - -
nagios - - - - - - - -
nessus-tool - - - % - - - -
nsd - - - x - - - -
openvpn - - - - - - - -
orbit2 - - - % - - - -
pound - - - - - - - -
tomcat - - - - - - - -
tomcat4 - - - - - - - -
tsmc - - - - - - - -
[JUNK] 165 176 178 188 189 190 191 202
amavisd - - - x - - - -
honeyd - - - - - - - -
jabberd - - - - - - - -
powerdns - - - - - - - -
rdist - - - - - - - -
vrrpd - - - - - - - -
--
Thomas Lotterer
OpenPKG Developer
[EMAIL PROTECTED]