[Rd] Re: Ctrl-c crashes R when run as sudo (PR#7819)

MSchwartz at MedAnalytics.com MSchwartz at MedAnalytics.com
Wed Apr 27 15:31:23 CEST 2005


> On Tue, 2005-04-26 at 19:59 +0200, Peter Dalgaard wrote:
> > MSchwartz at medanalytics.com writes:
> > The effect seem to have been neatly backported to 2.0.1 though...
> > 
> > Gdb doesn't seem to help. If you run a ps while "sudo R" is running,
> > you'll see something like this:
> > 
> > root     30416  0.0  0.1  2356  252 pts/5    S+   19:48   0:00 sesh /usr/bin/R
> > root     30417 10.0  7.2 18016 13860 pts/5   S+   19:48   0:01 /usr/lib/R/bin/exec/R
> > 
> > What I suspect is happening is that the ^C kills the sesh process, but
> > that in turn does not manage to kill R.
> 
> So is this perhaps an SELinux issue? I don't get sesh running when I use
> sudo R.
> 
> That would perhaps explain why I am not seeing it. Given the almost
> daily changes in SELinux policies, I have foregone using it for the time
> being. I was having all kinds of 'avc' related errors, so I gave up
> until things stabilize more.

Hi all,

Just a quick note that I seem to have confirmed this as a SELinux/sudo
interaction issue.

I re-booted my system this morning, with SELinux enabled using the
targeted policy, which is the default for FC3.

I was then able to confirm the behavior that Manuel initially reported
here.

As a result, I have filed a bug report with Fedora's Bugzilla against
sudo:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=156086

and we'll let the FC folks take it from there.

Needless to say, I am now back with SELinux disabled...

Presumably we can now close out the R bug report.

HTH,

Marc Schwartz



More information about the R-devel mailing list