On Wed, Jun 19, 2019 at 10:26 AM Stephen Smalley <sds@xxxxxxxxxxxxx> wrote: > > /usr/bin/python is no longer installed by default, so this test > script fails on default installs. > Best practice guidance appears to be to switch to using > /usr/bin/python3 instead, per > https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ > > Fixes: #46 > Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxx> > --- > tests/overlay/access | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) I think it would be better to reference the Python upstream guidance regarding "python3" instead of the Fedora packaging guidelines. Keeping things distro agnostic is a good goal whenever possible. * https://www.python.org/dev/peps/pep-0394 > diff --git a/tests/overlay/access b/tests/overlay/access > index 5a47eb145904..e50d5b402ebd 100755 > --- a/tests/overlay/access > +++ b/tests/overlay/access > @@ -1,4 +1,4 @@ > -#!/bin/python > +#!/usr/bin/python3 > import os, sys > try: > acc=eval("os.%s" % sys.argv[2]) > -- > 2.20.1 -- paul moore www.paul-moore.com