Package: ppp
Version: 2.4.3-20050321+2
Severity: normal
Tags: patch
I suggest that /etc/ppp/ip-up should *append* to the logfile, not
overwrite. The other scripts (ip-down, ipv6-up and ipv6-down) append.
Here is my patch:
debian:/etc/ppp$ diff -u ip-up.dist ip-up
--- ip-up.dist 2005-05-05 18:32:20.000000000 +0100
+++ ip-up 2005-10-07 16:00:13.000000000 +0100
@@ -37,7 +37,7 @@
# If /var/log/ppp-ipupdown.log exists use it for logging.
if [ -e /var/log/ppp-ipupdown.log ]; then
- exec > /var/log/ppp-ipupdown.log 2>&1
+ exec >> /var/log/ppp-ipupdown.log 2>&1
echo $0 $*
echo
fi
If you accept this patch then the logfile may start to grow. So you
might want to rotate the logfile by modifying /etc/logrotate/ppp
It makes sense to use the same options as for /var/log/ppp-ipupdown.log
so I suggest the following patch:
debian:/etc/logrotate.d$ diff -u ppp.dist ppp
--- ppp.dist 2005-05-05 18:32:21.000000000 +0100
+++ ppp 2005-10-07 16:18:24.000000000 +0100
@@ -1,4 +1,4 @@
-/var/log/ppp-connect-errors {
+/var/log/ppp-connect-errors /var/log/ppp-ipupdown.log {
weekly
rotate 4
missingok
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages ppp depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libpam-modules 0.76-22 Pluggable Authentication Modules f
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libpcap0.7 0.7.2-7 System interface for user-level pa
ii makedev 2.3.1-77 creates device files in /dev
ii netbase 4.21 Basic TCP/IP networking system
ii procps 1:3.2.1-2 The /proc file system utilities
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- debconf information:
ppp/maxfail:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]