[mosh-users] mosh-server fails to start on grsecurity kernel

Trond Endrestøl Trond.Endrestol at ximalas.info
Tue Jun 7 01:53:08 EDT 2016


On Mon, 6 Jun 2016 23:42-0400, Alex Chernyakhovsky wrote:

> I think the offending line is
> 
> Jun 06 22:32:19 <hostname> kernel: PAX: From 18.X.X.X: execution
> attempt in: (null), 00000000-00000000 00000000
> Jun 06 22:32:19 <hostname> kernel: PAX: terminating task:
> /usr/bin/mosh-server(mosh-server):12505, uid/euid: XXXX/XXXX, PC:
>       (nil), SP: 000003844385a508
> 
> mosh-server needs to fork and exec to start subprocesses, and your
> kernel/configuration doesn't consider mosh-server to be in the
> whitelist.

Maybe mosh should be made more robust and check the result for each 
system call before proceeding.

> Sincerely,
> -Alex
> 
> 
> On Mon, Jun 6, 2016 at 11:30 PM, Deven Lahoti <deywos at mit.edu> wrote:
> > Hi, when trying to connect to my machine running Gentoo Hardened on kernel
> > 4.4.8, mosh-server fails to start. Here are the logs (modified to remove
> > personal info) [http://web.mit.edu/deywos/www/mosh.log]. I'm not really sure
> > what the problem is, and I don't know much about how mosh works, so I was
> > hoping someone here could help me out.
> >
> > Thanks,
> > Deven

-- 
----------------------------------------------------------------------
Trond Endrestøl                     |     Trond.Endrestol at ximalas.info
ACM, NAS, NUUG, SAGE, USENIX        |     FreeBSD 10.3-S & Alpine 2.20


More information about the mosh-users mailing list