Travis Rowland
0c9eaf3c43
Merge branch 'master' into ubuntu-1804
2018-08-13 10:11:30 -07:00
Travis Rowland
8cf2e208ff
Merge branch 'master' into bernick_18.04
2018-07-18 08:17:52 -07:00
David Bernick
a018aba0c2
syslog fix
2018-07-16 12:46:18 -04:00
Rowan Wookey
dd9d23f1ea
Fix /var/log permissions on syslog-ng startup
2018-06-30 10:58:14 +01:00
Arnold Hendriks
f936902c23
Update syslog configuration (took the diff between stock 16.04 and phusion 16.04 to figure out what to apply to the stock 18.04 syslog conf) as it complains about old config format
2018-04-27 20:40:49 +02:00
Andres Heinloo
cb8cd8ad82
fix syslog reload
2018-03-16 18:24:00 +01:00
David Hiendl
be8fc49e52
fixed syslog warning when using --tty as described in #468
2018-02-22 08:53:27 +01:00
Travis Rowland
5ab2367f76
Merge branch 'master' into sigint-logging
2017-11-23 12:28:39 -08:00
Ryan Sundberg
b77633463f
Fork syslog-ng into a new process group via bash monitor mode
...
This prevents SIGINT from a user interrupt from prematurely quitting syslog-ng.
See https://github.com/phusion/baseimage-docker/issues/450
2017-11-22 23:18:19 -08:00
Steve Kamerman
25d13ef2b8
Gracefully handle syslog-ng shutdown
2017-11-01 17:26:31 -04:00
Ryan Sundberg
18a10580e1
Syslog-ng start and stop, preserving stdout file descriptor
2017-10-31 15:41:59 -07:00
Ryan Sundberg
d765626688
Prefix syslog-ng shutdown scripts with boot order
2017-10-31 14:24:18 -07:00
Travis Rowland
b05616332a
Merge branch 'master' into syslog-shutdown
2017-10-30 11:59:01 -07:00
David Hiendl
2bb9d89325
configured syslog-ng to log to stdout directly instead of using tail ( #438 )
2017-10-05 21:13:01 +02:00
Ryan Sundberg
a6bf447f9e
Start syslog-ng before runit, and stop after runit.
...
When syslog-ng is managed as an runit service, application logs may be
lost during shutdown, when the syslog-ng service stops before the app
exits.
This change uses the my_init.d directory to manage syslog-ng at a lower
runlevel than runit.
2017-07-01 15:08:08 -07:00
Travis Rowland
48d3f310ad
Merge pull request #382 from lucafavatella/syslog-ng-system
...
Correct translation of syslog-ng driver `system()` on Docker
2017-03-23 12:04:57 -07:00
Luca Favatella
45facca75e
Correct translation of syslog-ng driver system() on Docker
...
According to [the stock Ubuntu 16.04
config](https://github.com/hyperknot/baseimage16/blob/1.0.1/image/services/syslog-ng/syslog-ng.conf.original#L21 ),
the default source driver is `system()`, that is documented in [the
syslog-ng 3.5 official
documentation](https://www.balabit.com/documents/syslog-ng-ose-3.5-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-source-system )
on Linux as `unix-dgram("/dev/log");` with some `/proc/kmsg`
involvement if kernel "is version 3.5 or newer".
`/proc/kmsg` causes trouble on Docker hence using syslog-ng 3.5 on
Docker `unix-dgram("/dev/log")` shall be used (not
`unix-stream("/dev/log");`).
If using syslog-ng
[3.6](https://www.balabit.com/documents/syslog-ng-ose-3.6-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-source-system )
or
[newer](https://www.balabit.com/documents/syslog-ng-ose-3.9-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-source-system )
on Docker, `system()` shall be able to be used. But [Ubuntu 16.04 is
at syslog-ng 3.5](http://packages.ubuntu.com/xenial/syslog-ng-core ) so
`system()` cannot be used.
See also https://github.com/phusion/baseimage-docker/issues/277
2017-03-23 18:10:36 +00:00
zhouhaibing089
d3eceae5ef
override the logrotate.conf without su root syslog
2016-09-12 10:49:28 +08:00
Hongli Lai (Phusion)
9001796aa8
Upon rotating /var/log/syslog, restart syslog-forwarder
2016-07-08 20:20:25 +02:00
Ernestas Lukoševičius
50db81d8be
Fix incorrect runit service name for syslog tail
...
Closes GH-292.
2016-07-08 20:16:33 +02:00
Enderson Maia
9adbd423d0
Made services installation optional during build
...
You can user `ENV` directive in Dockerfile to disable the installation
for some services or change `image/buildconfig`.
The flags are :
DISABLE_SSHD
DISABLE_CRON
DISABLE_SYSLOG
2015-07-15 15:03:33 -03:00