Bug#695301: openvpn: Fails to install a logrotate.d entry

2012-12-07 Thread Teodor MICU
2012/12/6 Alberto Gonzalez Iniesta a...@inittab.org:
 As far as I know, openvpn does not create that log file, unless you told
 it to. In that case, it's not a bug in the package...

That's my experience too. By default 'openvpn' will log to
/var/log/syslog which is handled automatically. If you've set a custom
log file then you must manually add a logrotate entry. I'm not sure
but on restart the log file could also be truncated if you use --log
instead of --log-append.

Cheers


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#695301: openvpn: Fails to install a logrotate.d entry

2012-12-07 Thread Karl Schmidt

On 12/07/2012 02:48 AM, Teodor MICU wrote:

2012/12/6 Alberto Gonzalez Iniestaa...@inittab.org:

As far as I know, openvpn does not create that log file, unless you told
it to. In that case, it's not a bug in the package...


That's my experience too. By default 'openvpn' will log to
/var/log/syslog which is handled automatically. If you've set a custom
log file then you must manually add a logrotate entry. I'm not sure
but on restart the log file could also be truncated if you use --log
instead of --log-append.

Cheers


Apparently, this is the case - I apparently set this up for debugging and forgot about it long 
enough to get 45GB.


 IMO it probably should be set up to log out-of-the-box as well, but I bet that won't happen either 
- most people are going to have to turn logging on at some point to debug and it really belongs in 
it's own log file..




--

Karl Schmidt  EMail k...@xtronics.com
Transtronics, Inc.  WEB 
http://secure.transtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049  FAX (785) 841-0434

The secret of getting ahead is getting started. The secret of
getting started is breaking your complex overwhelming tasks into
small manageable tasks, and then starting on the first one.
--Mark Twain




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#695301: openvpn: Fails to install a logrotate.d entry

2012-12-07 Thread Teodor MICU
2012/12/7 Karl Schmidt k...@xtronics.com:
  IMO it probably should be set up to log out-of-the-box as well [..]

It does log by default to /var/log/syslog on Linux.

Cheers


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#695301: openvpn: Fails to install a logrotate.d entry

2012-12-06 Thread Karl Schmidt
Package: openvpn
Version: 2.1.3-2+squeeze1
Severity: important
Tags: squeeze

Log files that grow to GB size can cuase system failures.




-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openvpn depends on:
ii  debconf [debconf-2.0] 1.5.36.1   Debian configuration management sy
ii  libc6 2.11.3-4   Embedded GNU C Library: Shared lib
ii  liblzo2-2 2.03-2 data compression library
ii  libpam0g  1.1.1-6.1+squeeze1 Pluggable Authentication Modules l
ii  libpkcs11-helper1 1.07-1 library that simplifies the intera
ii  libssl0.9.8   0.9.8o-4squeeze13  SSL shared libraries
ii  net-tools 1.60-23The NET-3 networking toolkit
ii  openssl-blacklist 0.5-2  list of blacklisted OpenSSL RSA ke
ii  openvpn-blacklist 0.4list of blacklisted OpenVPN RSA sh

openvpn recommends no packages.

Versions of packages openvpn suggests:
ii  openssl0.9.8o-4squeeze13 Secure Socket Layer (SSL) binary a
ii  resolvconf 1.46  name server information handler

-- debconf information:
  openvpn/vulnerable_prng:
  openvpn/create_tun: false
/var/log/openvpn {
 rotate 12
 weekly
 compress
 delaycompress
 missingok
 create 640  root adm
 postrotate
/etc/init.d/openvpn restart  /dev/null
 endscript
 }


Bug#695301: openvpn: Fails to install a logrotate.d entry

2012-12-06 Thread Alberto Gonzalez Iniesta
On Thu, Dec 06, 2012 at 12:55:18PM -0600, Karl Schmidt wrote:
 Package: openvpn
 Version: 2.1.3-2+squeeze1
 Severity: important
 Tags: squeeze
 
 Log files that grow to GB size can cuase system failures.
 /var/log/openvpn {
  rotate 12
  weekly
.

As far as I know, openvpn does not create that log file, unless you told
it to. In that case, it's not a bug in the package...

-- 
Alberto Gonzalez Iniesta| Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred| http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org