Bug 1605 - ppp/ip-up: move running sendmail
Summary: ppp/ip-up: move running sendmail
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: initscripts (show other bugs)
Version: unstable
Hardware: all Linux
: P5 enhancement
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-22 00:23 MSK by imz
Modified: 2003-08-25 15:18 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 \"$IP_UP_LOCAL\" ] && \"$IP_UP_LOCAL\" \"$@\"
 
-SENDMAIL=/usr/sbin/sendmail
-if [ -x \"$SENDMAIL\" ]; then
-    \"$SENDMAIL\" -q &>/dev/null &
-fi
+#SENDMAIL=/usr/sbin/sendmail
+#if [ -x \"$SENDMAIL\" ]; then
+#    \"$SENDMAIL\" -q &>/dev/null &
+#fi
 
 exit 0

---

---

Comment 1 Michael Shigorin 2002-11-22 16:47:53 MSK
there was a discussion of \"SysV\"\'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 \"SysV\"\'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