Bug 1605

Summary: ppp/ip-up: move running sendmail
Product: Sisyphus Reporter: imz <vanyaz>
Component: initscriptsAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P5    
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2002-11-22 00:23:52 MSK
/etc/ppp/ip-up contains code that runs sendmail. (Shown in the patch.) I think it should belong to another package (say, sendmail-common), and be placed in a separate file: /etc/ppp/ip-up.d/sendmail.

Then it will be easier to turn it off.


--- /etc/ppp/ip-up~     2002-10-15 12:23:10 +0400
+++ /etc/ppp/ip-up      2002-11-21 23:12:04 +0300
@@ -36,9 +36,9 @@
 IP_UP_LOCAL=/etc/ppp/ip-up.local
 [ -x \&quot;$IP_UP_LOCAL\&quot; ] &amp;&amp; \&quot;$IP_UP_LOCAL\&quot; \&quot;$@\&quot;
 
-SENDMAIL=/usr/sbin/sendmail
-if [ -x \&quot;$SENDMAIL\&quot; ]; then
-    \&quot;$SENDMAIL\&quot; -q &amp;&gt;/dev/null &amp;
-fi
+#SENDMAIL=/usr/sbin/sendmail
+#if [ -x \&quot;$SENDMAIL\&quot; ]; then
+#    \&quot;$SENDMAIL\&quot; -q &amp;&gt;/dev/null &amp;
+#fi
 
 exit 0

---

---

Comment 1 Michael Shigorin 2002-11-22 16:47:53 MSK
there was a discussion of \&quot;SysV\&quot;\'ization of interface events, look in sisyphus/devel for my and MhZ\'s messages (keywords: sysv, ppp.d).

MhZ proposed that this be implemented as more general scheme, whilst I was intending to do that for pppN initially.

Ivan, look there for real.  Hopefully together we (three+) could rush that in the right direction :-)
Comment 2 Michael Shigorin 2002-11-22 16:47:53 MSK
there was a discussion of \&quot;SysV\&quot;\'ization of interface events, look in sisyphus/devel for my and MhZ\'s messages (keywords: sysv, ppp.d).

MhZ proposed that this be implemented as more general scheme, whilst I was intending to do that for pppN initially.

Ivan, look there for real.  Hopefully together we (three+) could rush that in the right direction :-)
Comment 3 Dmitry V. Levin 2002-12-08 14:49:16 MSK
Done in
sendmail-common-1.2-alt1
initscripts-5.49-ipl46mdk
Comment 4 Dmitry V. Levin 2002-12-08 14:49:16 MSK
Done in
sendmail-common-1.2-alt1
initscripts-5.49-ipl46mdk