Re: [PATCH] policycoreutils: let output of `fixfiles` be redirected (as normal)

2017-01-24 Thread Stephen Smalley
On Mon, 2017-01-23 at 12:15 +, Alan Jenkins wrote: > fixfiles was redirecting log output to `tty`.  This overrides user > intent > e.g. when shell redirection is used. > > Redirect it to stdout, using /proc.  `tty` equally depended on /proc. > We do not depend on /dev/stdout: it might not be

[PATCH] policycoreutils: let output of `fixfiles` be redirected (as normal)

2017-01-23 Thread Alan Jenkins
fixfiles was redirecting log output to `tty`. This overrides user intent e.g. when shell redirection is used. Redirect it to stdout, using /proc. `tty` equally depended on /proc. We do not depend on /dev/stdout: it might not be present, if a rescue system is booted with devtmpfs (no udev