Re: Kernel parameters protecting fifos and regular files

2020-02-06 Thread Craig Small
On Thu, 30 Jan 2020 at 05:26, Moritz Mühlenhoff wrote: > I'm in favour of setting both to 1. From a quick search Ubuntu carried a > patch > in their systemd package to set this as well (LP 1845637). > > protected hardlinks/symlinks are enabled via a Debian-specific kernel patch > by default, so I

Re: Kernel parameters protecting fifos and regular files

2020-01-29 Thread Ben Hutchings
On Wed, 2020-01-29 at 10:13 -0800, Moritz Mühlenhoff wrote: > Craig Small schrieb: > > --4806c5059d3edeb1 > > Content-Type: text/plain; charset="UTF-8" > > > > Hi, > > About 2 years ago the procps package added protection for hard and soft > > symlinks. The bug report was 889098 and

Re: Kernel parameters protecting fifos and regular files

2020-01-29 Thread Moritz Mühlenhoff
Craig Small schrieb: > --4806c5059d3edeb1 > Content-Type: text/plain; charset="UTF-8" > > Hi, > About 2 years ago the procps package added protection for hard and soft > symlinks. The bug report was 889098 and has seemed to work fine. > > There is also now bug #914859 which would ext

Re: Kernel parameters protecting fifos and regular files

2020-01-28 Thread Richard Laager
On 1/28/20 9:23 PM, Craig Small wrote: > My personal preference is to lock them down by default, by setting both > to mode 2. FWIW: I agree. Unless massive breakage is expected, the default should be the most secure option. If you default to secure and that breaks something, people will be motivate