Re: run_init messes up terminal settings

2017-06-27 Thread Russell Coker via Selinux
On Monday, 26 June 2017 11:22:31 AM AEST Stephen Smalley wrote: > I'd be inclined to just drop open_init_pty (for that matter, I'd like > to deprecate/drop run_init entirely, but I guess it might be needed if > not using DIRECT_INITRC=y and not using systemd). Currently for my use (which involves

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Mon, 2017-06-26 at 21:16 +0200, Dominick Grift wrote: > On Mon, Jun 26, 2017 at 03:00:31PM -0400, Stephen Smalley wrote: > > On Mon, 2017-06-26 at 14:24 -0400, Stephen Smalley wrote: > > > On Mon, 2017-06-26 at 19:49 +0200, Dominick Grift wrote: > > > > On Mon, Jun 26, 2017 at 01:41:05PM -0400,

Re: run_init messes up terminal settings

2017-06-26 Thread Dominick Grift
On Mon, Jun 26, 2017 at 03:00:31PM -0400, Stephen Smalley wrote: > On Mon, 2017-06-26 at 14:24 -0400, Stephen Smalley wrote: > > On Mon, 2017-06-26 at 19:49 +0200, Dominick Grift wrote: > > > On Mon, Jun 26, 2017 at 01:41:05PM -0400, Stephen Smalley wrote: > > > > On Mon, 2017-06-26 at 19:20

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Mon, 2017-06-26 at 14:24 -0400, Stephen Smalley wrote: > On Mon, 2017-06-26 at 19:49 +0200, Dominick Grift wrote: > > On Mon, Jun 26, 2017 at 01:41:05PM -0400, Stephen Smalley wrote: > > > On Mon, 2017-06-26 at 19:20 +0200, Dominick Grift wrote: > > > > On Mon, Jun 26, 2017 at 01:22:41PM -0400,

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Mon, 2017-06-26 at 19:49 +0200, Dominick Grift wrote: > On Mon, Jun 26, 2017 at 01:41:05PM -0400, Stephen Smalley wrote: > > On Mon, 2017-06-26 at 19:20 +0200, Dominick Grift wrote: > > > On Mon, Jun 26, 2017 at 01:22:41PM -0400, Stephen Smalley wrote: > > > > On Mon, 2017-06-26 at 18:45 +0200,

Re: run_init messes up terminal settings

2017-06-26 Thread Dominick Grift
On Mon, Jun 26, 2017 at 01:41:05PM -0400, Stephen Smalley wrote: > On Mon, 2017-06-26 at 19:20 +0200, Dominick Grift wrote: > > On Mon, Jun 26, 2017 at 01:22:41PM -0400, Stephen Smalley wrote: > > > On Mon, 2017-06-26 at 18:45 +0200, Dominick Grift wrote: > > > > On Mon, Jun 26, 2017 at 11:50:10AM

Re: run_init messes up terminal settings

2017-06-26 Thread Luis Ressel
On Mon, 26 Jun 2017 11:22:31 -0400 Stephen Smalley wrote: > for that matter, I'd like to deprecate/drop run_init entirely, but I > guess it might be needed if not using DIRECT_INITRC=y and not using > systemd). Indeed. run_init is needed for openrc and other init systems.

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Mon, 2017-06-26 at 19:20 +0200, Dominick Grift wrote: > On Mon, Jun 26, 2017 at 01:22:41PM -0400, Stephen Smalley wrote: > > On Mon, 2017-06-26 at 18:45 +0200, Dominick Grift wrote: > > > On Mon, Jun 26, 2017 at 11:50:10AM -0400, Stephen Smalley wrote: > > > > On Mon, 2017-06-26 at 15:26 +0200,

Re: run_init messes up terminal settings

2017-06-26 Thread Dominick Grift
On Mon, Jun 26, 2017 at 01:22:41PM -0400, Stephen Smalley wrote: > On Mon, 2017-06-26 at 18:45 +0200, Dominick Grift wrote: > > On Mon, Jun 26, 2017 at 11:50:10AM -0400, Stephen Smalley wrote: > > > On Mon, 2017-06-26 at 15:26 +0200, Dominick Grift wrote: > > > > On Mon, Jun 26, 2017 at 09:08:16AM

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Mon, 2017-06-26 at 18:45 +0200, Dominick Grift wrote: > On Mon, Jun 26, 2017 at 11:50:10AM -0400, Stephen Smalley wrote: > > On Mon, 2017-06-26 at 15:26 +0200, Dominick Grift wrote: > > > On Mon, Jun 26, 2017 at 09:08:16AM -0400, Stephen Smalley wrote: > > > > On Sat, 2017-06-24 at 12:20 +0200,

Re: run_init messes up terminal settings

2017-06-26 Thread Dominick Grift
On Mon, Jun 26, 2017 at 11:50:10AM -0400, Stephen Smalley wrote: > On Mon, 2017-06-26 at 15:26 +0200, Dominick Grift wrote: > > On Mon, Jun 26, 2017 at 09:08:16AM -0400, Stephen Smalley wrote: > > > On Sat, 2017-06-24 at 12:20 +0200, Laurent Bigonville wrote: > > > > Hello, > > > > Russell opened

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Mon, 2017-06-26 at 15:26 +0200, Dominick Grift wrote: > On Mon, Jun 26, 2017 at 09:08:16AM -0400, Stephen Smalley wrote: > > On Sat, 2017-06-24 at 12:20 +0200, Laurent Bigonville wrote: > > > Hello, > > > Russell opened the following bug regarding run_init in the debian > > > bts: > > > >

Re: run_init messes up terminal settings

2017-06-26 Thread Laurent Bigonville
Le 26/06/17 à 15:08, Stephen Smalley a écrit : On Sat, 2017-06-24 at 12:20 +0200, Laurent Bigonville wrote: Hello, Russell opened the following bug regarding run_init in the debian bts: [...] It turns out that the problem was not running $(arch), but running run_init in the shell it

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Mon, 2017-06-26 at 15:56 +0200, Laurent Bigonville wrote: > Le 26/06/17 à 15:08, Stephen Smalley a écrit : > > On Sat, 2017-06-24 at 12:20 +0200, Laurent Bigonville wrote: > > > Hello, > > > Russell opened the following bug regarding run_init in the debian > > > bts: > > > > > > [...] > >

Re: run_init messes up terminal settings

2017-06-26 Thread Dominick Grift
On Mon, Jun 26, 2017 at 09:08:16AM -0400, Stephen Smalley wrote: > On Sat, 2017-06-24 at 12:20 +0200, Laurent Bigonville wrote: > > Hello, > > Russell opened the following bug regarding run_init in the debian > > bts: > > > > [...] > > It turns out that the problem was not running $(arch),

Re: run_init messes up terminal settings

2017-06-26 Thread Stephen Smalley
On Sat, 2017-06-24 at 12:20 +0200, Laurent Bigonville wrote: > Hello, > Russell opened the following bug regarding run_init in the debian > bts: > > [...] > It turns out that the problem was not running $(arch), but running > run_init in  > the shell it spawned.  Below is an example of