Bug 195799 - Since 4.11.0 on enlightenment DE su and sudo does not work anymore
Summary: Since 4.11.0 on enlightenment DE su and sudo does not work anymore
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-17 15:39 UTC by Cănărău Constantin
Modified: 2017-06-19 11:36 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.11
Tree: Mainline
Regression: No


Attachments
Git Bisect log (3.37 KB, text/plain)
2017-05-18 08:46 UTC, Cănărău Constantin
Details

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".

Note You need to log in before you can comment on or make changes to this bug.