alias vi to vi + restorecon
commit954f8eb7fa22fb08ad84a8d85b1672b6391f4295
authorDavid Huff <dhuff@redhat.com>
Wed, 22 Jul 2009 21:17:11 +0000 (22 17:17 -0400)
committerDarryl L. Pierce <dpierce@redhat.com>
Thu, 23 Jul 2009 19:03:04 +0000 (23 15:03 -0400)
treebdf2f46098eac88032aea3af6c59264f6e547f99
parent3ad3ea641067b87404788ff3a67b9cbefc742a44
alias vi to vi + restorecon

fixes a problem with editing a bindmounted file with vi.  The file will not
retain the same selinux context due to the way vi copies files around.

Resolves rhbz#509082
common-post.ks