X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.nor.wtbts.net (3.203.202.84.customer.cdi.no [84.202.203.3]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nc@alpinelinux.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id DFB16DC15C0; Mon, 21 May 2012 15:06:14 +0000 (UTC) Date: Mon, 21 May 2012 17:06:12 +0200 From: Natanael Copa To: alex M Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Bug in rpc.mountd Message-ID: <20120521170612.0742516a@ncopa-desktop.nor.wtbts.net> In-Reply-To: References: <20120521152738.33404183@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 21 May 2012 16:47:47 +0200 alex M wrote: > Hi, >=20 > I answered only to you, so I repost it to the ml. >=20 > bei:~# apk version 'libc0.9.32' > Installed: Available: > libc0.9.32-0.9.33.2-r1 =3D 0.9.33.2-r1 >=20 > bei:~# cat /etc/apk/repositories > /media/usb/apks > http://nl.alpinelinux.org/alpine/v2.4/main >=20 > bei:~# uname -a > Linux bei 3.3.6-grsec #1-Alpine SMP Mon May 14 13:42:17 UTC 2012 > x86_64 Linux >=20 > And yes it was working with the 2.4.1 >=20 > The segfault happen when I try to mount the nfs share. I can let you > an SSH access if you want to check around my system. Will not be necessary. I am able to reproduce it here. I noticed there are a new grsec patch available and a new version of nfs-utils. I'll test those and if they work I'll push them to v2.4 Thanks! >=20 > Thanks for taking care of this problem. >=20 > Regards, >=20 > On Mon, May 21, 2012 at 3:27 PM, Natanael Copa > wrote: > > On Mon, 21 May 2012 09:19:04 +0200 > > alex M wrote: > > > >> Hi, > >> > >> I upgade from 2.4.1 to 2.4.2 and now I got a real problem with the > >> nfs daemon: > >> > >> [ =C2=A0482.292020] rpc.mountd[2043]: segfault at 7873d1d796c8 ip > >> 0000786bd1b52c96 sp 00007ae3fb88a470 error 4 in > >> libuClibc-0.9.33.2.so[786bd1b07000+6b000] > >> [ =C2=A0482.292057] grsec: Segmentation fault occurred at > >> 00007873d1d796c8 in /usr/sbin/rpc.mountd[rpc.mountd:2043] > >> uid/euid:0/0 gid/egid:0/0, parent /bin/busybox[init:1] > >> uid/euid:0/0 gid/egid:0/0 [ =C2=A0482.292087] grsec: denied resource > >> overstep by requesting 4096 for RLIMIT_CORE against limit 0 > >> for /usr/sbin/rpc.mountd[rpc.mountd:2043] uid/euid:0/0 > >> gid/egid:0/0, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid:0/0 > >> > >> That's a real problem since the main purpose of the computer > >> running alpinelinux is to be a NFS server. > >> > >> I just want to report this bug and pray it can be fix quickly, > >> otherwise I had to reinstall my box with something that don't broke > >> NFS server. > > > > Ok. I was able to reproduce. It works on 2.4.1, it segfaults on > > x86_64 2.4.2 within uclibc code and it segfaults on startup. > > > > What is interesting is that only relevant thing changed between > > 2.4.1 and 2.4.2 is the kernel. > > > > I will try make a debug build here and generate a core dump. > > > > Thanks! > > > > -nc > > > > > >> Regards. > >> > >> > >> --- > >> Unsubscribe: =C2=A0alpine-devel+unsubscribe@lists.alpinelinux.org > >> Help: =C2=A0 =C2=A0 =C2=A0 =C2=A0 alpine-devel+help@lists.alpinelinux.= org > >> --- > >> > > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---