Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 08:28:50 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Allan Jude <allanjude@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: syslogd(8) with OOM Killer protection
Message-ID:  <20160127072850.GG35911@ivaldir.etoilebsd.net>
In-Reply-To: <56A86D91.3040709@freebsd.org>
References:  <CAOfEmZgzL2Ldu53CeSsKcUe00H1VAukhEopSUmpUK0=XAhsD1A@mail.gmail.com> <56A86D91.3040709@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--zGQnqpIoxlsbsOfg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 27, 2016 at 02:11:13AM -0500, Allan Jude wrote:
> On 2016-01-27 01:21, Marcelo Araujo wrote:
> > Hi guys,
> >=20
> > I would like to know your opinion about this REVIEW[1].
> > The basic idea is protect by default the syslogd(8) against been killed=
 by
> > OOM with an option to disable the protection.
> >=20
> > Some people like the idea, other people would prefer something more glo=
bal
> > where we can protect any daemon by the discretion of our choice.
> >=20
> > Thoughts?
> >=20
> >=20
> > [1] https://reviews.freebsd.org/D4973
> >=20
> >=20
> > Best,
> >=20
>=20
> I do like the idea of generalizing it, say via rc.subr
>=20
> So you can just do:
>=20
> someapp_protect=3DYES (and maybe syslogd has this enabled by default in
> /etc/defaults/rc.conf) and it prefixes the start command with protect -i.
>=20
I do support that idea, I think it is will be useful to more people.

Bapt

--zGQnqpIoxlsbsOfg
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWqHGyAAoJEGOJi9zxtz5a8CIP/iYPjERo7LRI9bYP7voFhAVK
M1kRJ2Cu1nC47xLBZv4Nn5I4rYluh+yl2rNW51rNtQc2FsaB9thpbI+VjyLHrbcs
X7s2bLRIPzK/y6Bf4aNdIrjDINcM+cHcEY4us5lGn8gupB9m1MTEyaaY1FibEAd0
PbW3ge27b4znieGsftUT4sHPnTqEuErVoLZtJ6tdQoSvcmWBbNq8enEUf0CEb5L4
NDS59e7XWvsf2GCItLKnWN0bzo9ifhej0u87yl4fx7duSAWy5IBZWP4Q+m/B0rTd
+04S8JkTJWSpHFfZdBZnQQx1oov/YVeKpxBN4mNrkFbrxGT3+NBqJmngyJNt5HRY
NalYqZfs3NW/BeBcoHR0FjRvWdkIK7lSC5HQZhH4Y7ZqKo//UeWI9w4lNgV+hiA4
byYAJH38bW37eMQpVUi5+adDgCB0VWYAbghQEYVi+e5NFfNT5dAXT+gA5sJcmH39
sFe6Ru/QOPzQJFGeHEZ1Lu+S4NklQ9jhQ/EpJOCQ3y/JjF6NXg1pC4DvQECRgU/y
YCiByGTQ9MgaTqhN3McaHpGxGN2yGidM3rdXSUoJPW87Ot+CfvBGakCvn2V3AGsW
4BD4rjlfzTZJxqfYEIislNK8RZdok3S4q1KW2mUWd10UostQlJzKUaCKW873C827
nS5nxTGSkPPNnmUwgYaT
=nLr1
-----END PGP SIGNATURE-----

--zGQnqpIoxlsbsOfg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160127072850.GG35911>