Re: bpfilter causes a leftover kernel process

2018-10-16 Thread Alexei Starovoitov
On Wed, Sep 5, 2018 at 5:05 PM Olivier Brunel wrote: > > You'll see in the end that systemd complains that it can't > unmount /oldroot (EBUSY), aka the root fs; and that's because of the > bpfilter helper, which wasn't killed because it's seen as a kernel > thread due to its empty command line and

Re: bpfilter causes a leftover kernel process

2018-09-05 Thread Olivier Brunel
Hi, Quick follow-up on this: - first off, Arch devs have updated their kernel config so the next kernel will not have bpfilter enabled anymore, thus avoiding any issue. - having said that, I've found a neasy way to reproduce it in an Arch VM, in case you're interested : Boot the latest Ar

Re: bpfilter causes a leftover kernel process

2018-08-29 Thread Olivier Brunel
On Tue, 28 Aug 2018 22:35:38 -0700 Alexei Starovoitov wrote: > > Yeah, I have a similar thing happening on shutdown, except that > > we're talking about a kernel thread here, so that process is > > ignored by the mentionned killing spree as a result, thus leaving > > that process running. > >

Re: bpfilter causes a leftover kernel process

2018-08-28 Thread Alexei Starovoitov
On Tue, Aug 28, 2018 at 01:23:38PM +0200, Olivier Brunel wrote: > On Mon, 27 Aug 2018 20:35:02 -0700 > Alexei Starovoitov wrote: > > > I'm also running Arch Linux in my VM, but I'm not able to reproduce > > umount issue. I'm guessing it's somehow related to non-static build > > and libc.so being

Re: bpfilter causes a leftover kernel process

2018-08-28 Thread Olivier Brunel
On Mon, 27 Aug 2018 20:35:02 -0700 Alexei Starovoitov wrote: > I'm also running Arch Linux in my VM, but I'm not able to reproduce > umount issue. I'm guessing it's somehow related to non-static build > and libc.so being busy with old systemd. Oh, I mentioned it in a previous draft of my origina

Re: bpfilter causes a leftover kernel process

2018-08-27 Thread Alexei Starovoitov
On Mon, Aug 27, 2018 at 06:31:22PM +0200, Olivier Brunel wrote: > > So the process is required, never ends and prevents umouting the it's not required. It's not doing anything useful at the moment and defaults to 'n' in kconfig. Please disable it your kernel. > rootfs on shutdown. Unless I'm mis

Re: bpfilter causes a leftover kernel process

2018-08-27 Thread Olivier Brunel
Small addentum: Of course I failed to realize this bpfilter helper is also mentioned in the kernel log: kern.info: [8.997711] bpfilter: Loaded bpfilter_umh pid 920 It also seems to be absolutely required when CONFIG_BPFILTER is enabled, that is I tried blacklisting the module bpfilter, but

bpfilter causes a leftover kernel process

2018-08-26 Thread Olivier Brunel
Hi, (Please cc me as I'm not subscribed to the list, thanks.) I'm running an Arch Linux x86_64 system, and recently updated to a 3.18 kernel, which led me to encounter what I believe to be a kernel bug related to the bpfilter framework. What happens is that upon boot, there's a "leftover kernel