~ubuntu-branches/ubuntu/utopic/haproxy/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/haproxy.README.Debian

  • Committer: Package Import Robot
  • Author(s): Vincent Bernat, Apollon Oikonomopoulos, Vincent Bernat, Prach Pongpanich
  • Date: 2013-05-06 20:02:14 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20130506200214-36s6p81fsa5zqybt
Tags: 1.4.23-1
[ Apollon Oikonomopoulos ]
* New upstream version (Closes: #643650, #678953)
   + This fixes CVE-2012-2942 (Closes: #674447)
   + This fixes CVE-2013-1912 (Closes: #704611)
* Ship vim addon as vim-haproxy (Closes: #702893)
* Check for the configuration file after sourcing /etc/default/haproxy
  (Closes: #641762)
* Use /dev/log for logging by default (Closes: #649085)

[ Vincent Bernat ]
* debian/control:
   + add Vcs-* fields
   + switch maintenance to Debian HAProxy team. (Closes: #706890)
   + drop dependency to quilt: 3.0 (quilt) format is in use.
* debian/rules:
   + don't explicitly call dh_installchangelog.
   + use dh_installdirs to install directories.
   + use dh_install to install error and configuration files.
   + switch to `linux2628` Makefile target for Linux.
* debian/postrm:
   + remove haproxy user and group on purge.
* Ship a more minimal haproxy.cfg file: no `listen` blocks but `global`
  and `defaults` block with appropriate configuration to use chroot and
  logging in the expected way.

[ Prach Pongpanich ]
* debian/copyright:
   + add missing copyright holders
   + update years of copyright
* debian/rules:
   + build with -Wl,--as-needed to get rid of unnecessary depends
* Remove useless files in debian/haproxy.{docs,examples}
* Update debian/watch file, thanks to Bart Martens

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Syslog support
 
2
--------------
 
3
Upstream recommends using syslog over UDP to log from HAProxy processes, as
 
4
this allows seamless logging from chroot'ed processes without access to
 
5
/dev/log. However, many syslog implementations do not enable UDP syslog by
 
6
default.
 
7
 
 
8
The default HAProxy configuration in Debian uses /dev/log for logging and
 
9
ships an rsyslog snippet that creates /dev/log in HAProxy's chroot and logs all
 
10
HAProxy messages to /var/log/haproxy.log. To take advantage of this, you must
 
11
restart rsyslog after installing this package. For other syslog daemons you
 
12
will have to take manual measures to enable UDP logging or create /dev/log
 
13
under HAProxy's chroot:
 
14
a. For sysklogd, add SYSLOG="-a /var/lib/haproxy/dev/log" to
 
15
   /etc/default/syslog.
 
16
b. For inetutils-syslogd, add SYSLOGD_OPTS="-a /var/lib/haproxy/dev/log" to
 
17
   /etc/default/inetutils-syslogd.