Why does authconfig fail several times before succeeding in Red Hat Enterprise Linux 7.0?

Solution Unverified - Updated -

Issue

  • Why does authconfig fail several times before succeeding in Red Hat Enterprise Linux 7.0?
  • See the terminal output below.
[root@rhel7-server ~]# authconfig --kickstart  --enablecache --enablenis --nisdomain eng.example.com --nostart --enablekrb5 --krb5realm eng.example.com --krb5kdc kdc1-crd.eng.example.com,kdc2-crd.eng.example.com --krb5adminserver kerberos.eng.example.com
[Errno 2] No such file or directory
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/nsswitch.confMNM4nj') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x1fdbae0>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/system-auth-acOCIW7Y') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x1fdbb70>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/postlogin-acee0YMS') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x1fdbc90>> ignored

[root@rhel7-server ~]# authconfig --kickstart  --enablecache --enablenis --nisdomain eng.example.com --nostart --enablekrb5 --krb5realm eng.example.com --krb5kdc kdc1-crd.eng.example.com,kdc2-crd.eng.example.com --krb5adminserver kerberos.eng.example.com
[Errno 2] No such file or directory
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/system-auth-aczJ4_Gb') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x1861ae0>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/postlogin-acU4CS2R') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x1861b70>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/password-auth-ac6C7m0p') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x1861c90>> ignored

[root@rhel7-server ~]# authconfig --kickstart  --enablecache --enablenis --nisdomain eng.example.com --nostart --enablekrb5 --krb5realm eng.example.com --krb5kdc kdc1-crd.eng.example.com,kdc2-crd.eng.example.com --krb5adminserver kerberos.eng.example.com
[Errno 2] No such file or directory
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/system-auth-acW5ucjh') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x9e9ae0>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/postlogin-acEsON9A') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x9e9b70>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/password-auth-ac5XB0pP') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x9e9c90>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/fingerprint-auth-acnrDB0_') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x9e9db0>> ignored

[root@rhel7-server ~]# authconfig --kickstart  --enablecache --enablenis --nisdomain eng.example.com --nostart --enablekrb5 --krb5realm eng.example.com --krb5kdc kdc1-crd.eng.example.com,kdc2-crd.eng.example.com --krb5adminserver kerberos.eng.example.com
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/system-auth-acFoZFot') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x116fae0>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/postlogin-ac_3nK8E') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x116fb70>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/password-auth-acYcy6pB') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x116fc90>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/fingerprint-auth-acBslV9S') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x116fdb0>> ignored
Exception OSError: (2, 'No such file or directory', '/var/lib/authconfig/last/smartcard-auth-acmNQbBw') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x116fed0>> ignored

[root@rhel7-server ~]# authconfig --kickstart  --enablecache --enablenis --nisdomain eng.example.com --nostart --enablekrb5 --krb5realm eng.example.com --krb5kdc kdc1-crd.eng.example.com,kdc2-crd.eng.example.com --krb5adminserver kerberos.eng.example.com

[root@rhel7-server ~]# authconfig --kickstart  --enablecache --enablenis --nisdomain eng.example.com --nostart --enablekrb5 --krb5realm eng.example.com --krb5kdc kdc1-crd.eng.example.com,kdc2-crd.eng.example.com --krb5adminserver kerberos.eng.example.com

[root@rhel7-server ~]#

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content