[Change Request] fasClient fix

Toshio Kuratomi a.badger at gmail.com
Tue May 10 21:56:56 UTC 2011


The hotfix for fasClient that I applied just before change freeze has
a small bug that causes SELinux labels to not be applied to the
authorized_keys files when fasClient runs.  I'd like to apply this fix to
the fasClient hotfix:

diff --git a/modules/hotfix/files/fas/fasClient b/modules/hotfix/files/fas/fasClient
index 59bff7d..fe2ab6e 100755
--- a/modules/hotfix/files/fas/fasClient
+++ b/modules/hotfix/files/fas/fasClient
@@ -567,7 +567,8 @@ class MakeShellAccounts(AccountSystem):
                     os.remove(key_file)
                 except OSError:
                     pass
-        subprocess.call(['/sbin/restorecon', '-R', os.path.join(home_dir_base, '*', '.ssh')], shell=True)
+       subprocess.call(' '.join(['/sbin/restorecon', '-R',
+             os.path.join(home_dir_base, '*', '.ssh')]), shell=True)
 
     def install_passwd_db(self):
         '''Install the password database'''

Can I get two +1's?

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20110510/5c53583b/attachment-0001.bin 


More information about the infrastructure mailing list