Re: Bug#19129: sendmail: support PPP links --- use /etc/ppp/ip-up.d
>>"aph" == aph <aph@debian.org> writes:
aph> Package: sendmail Version: N/A
aph> You ought to have a little shell script in
aph> /etc/ppp/ip-up.d/sendmail, make that a conffile. This script
aph> could flush the queue when the link comes up. Here's an example:
>> !/bin/sh
aph> [ -x /usr/sbin/sendmail ] && /usr/sbin/sendmail -q
aph> [ -x /usr/sbin/ndc ] && /usr/sbin/ndc reload
Umm, no. No way. I have all these programs, and no way in heck
to I want weird stuff like this going off automatically. Please
discuss stuff like this in debian-policy before firing off mass bugs.
This is not policy, and for good reason: the ip-up.d idea does
not seem to have been thought through.
Just because I have bind does not mean I want things to be
uploaded, or if I have sendmail that I want a queue run when
the connection comes up,
If the directory and scripts make things easier for people,
Fine. But there should be a means of turning thisng on and off
easily. There is no easy way, short of hacking or removing the
scripts to suddenly have junk happening when I do not wish it to.
I suggest that there be a File in /etc/ppp/IP-config or
something. Then have all scripts in ip-{up,down}.d/ look for
^sendmail.*UP=YES and ^sendmail.*DOWN=YES to run things in the respective
states.
I am considering filing important Bugs against packages that
make my life harder by suddenly doing things at IP-up and
down, which I did not authorize.
I run diald. I have IP disconnect on 30 seconds of idle
time. Any time I need the connection it comes up. I do NOT appreciate
excessive junk happening then.
The default should be OFF.
Unless there is configuration like this provided, or *VERY*
convincing arguments are offered in debian-policy, important bugs
shall be filed for packages that start this behaviour every time my
IP connection goes up (several times every hour)
manoj
--
"Rebellion is like witchcraft. That's what it is, it's like
witchcraft." Missouri State Rep. Jean Dixon, on labeling "offensive
music". USA Today, March 20, 1990
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
Reply to: