Bug 195799

Summary: Since 4.11.0 on enlightenment DE su and sudo does not work anymore
Product: Other Reporter: Cănărău Constantin (canarauc)
Component: OtherAssignee: other_other
Status: NEW ---    
Severity: normal CC: kernel
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.11 Subsystem:
Regression: No Bisected commit-id:
Attachments: Git Bisect log

Description Cănărău Constantin 2017-05-17 15:39:09 UTC
This is a very strange bug, I am not even sure that it is a kernel problem, but enlightenment developers blame kernel, so here I am.

I am using Gentoo and upgraded kernel to 4.11.0. Since then, su and sudo does not work on enlightenment session, but no problem what so ever in console.
No other desktop environment is affected.

If it helps, there are some discussions/bug reports:

https://forums.gentoo.org/viewtopic-t-1063022.html

https://sourceforge.net/p/enlightenment/mailman/enlightenment-devel/thread/87k25za1xz.wl-fulwood.sy%40gmail.com/

https://phab.enlightenment.org/T5470

Thank you!
Comment 1 Cănărău Constantin 2017-05-18 08:46:00 UTC
Created attachment 256613 [details]
Git Bisect log

Ran a git bisect and found the code responsible for su/sudo error since 4.11
I can not say where the problem is (enlightenment or kernel) so, please advise me.

Thank you!
Comment 2 Andreas Kurth 2017-06-19 11:36:44 UTC
This has been fixed in kernel 4.11.5 by "ptrace: Properly initialize ptracer_cred on fork".