Bug 1145454
| Summary: | KickstartError: /usr/sbin/authconfig is missing. Cannot setup authentication. | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Petr Spacek <pspacek> | ||||||||||||||||||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||
| Version: | 7.1 | CC: | ebenes, jbastian, mvadkert, nacc | ||||||||||||||||||||||
| Target Milestone: | rc | ||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| Whiteboard: | abrt_hash:a23fdf4740c719c18150fc3bdae067c925d042a67045e31ec34390eba25c5d45 | ||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||
| Last Closed: | 2014-10-02 19:05:35 UTC | Type: | --- | ||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||
| Bug Depends On: | 1147687 | ||||||||||||||||||||||||
| Bug Blocks: | 717785 | ||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||
Created attachment 940259 [details]
File: anaconda-tb
Created attachment 940260 [details]
File: anaconda.log
Created attachment 940261 [details]
File: environ
Created attachment 940263 [details]
File: lsblk_output
Created attachment 940264 [details]
File: nmcli_dev_list
Created attachment 940265 [details]
File: os_info
Created attachment 940266 [details]
File: program.log
Created attachment 940267 [details]
File: storage.log
Created attachment 940268 [details]
File: syslog
Created attachment 940269 [details]
File: ifcfg.log
Package section from the kickstart is: %packages --nobase --ignoremissing rhn-setup @core yum-utils sudo audit openssh-server openssh-clients iptables mc vim-enhanced acpid # These are needed for NFS home dirs nfs-utils portreserve autofs # Needed in %post wget # Remove unnecessary desktop crap -alsa-lib -cairo -fedora-release-notes -gtk2 -ghostscript -ghostscript-fonts -redhat-lsb -qt3 # Guest agent reports VM's IP address to RHEV-M rhevm-guest-agent-common # Remove some proprietary crap -aic94xx-firmware -atmel-firmware -b43-openfwwf -bfa-firmware -ipw2100-firmware -ipw2200-firmware -ivtv-firmware -iwl100-firmware -iwl1000-firmware -iwl3945-firmware -iwl4965-firmware -iwl5000-firmware -iwl5150-firmware -iwl6000-firmware -iwl6000g2a-firmware -iwl6050-firmware -kernel-firmware -libertas-usb8388-firmware -ql2100-firmware -ql2200-firmware -ql23xx-firmware -ql2400-firmware -ql2500-firmware -rt61pci-firmware -rt73usb-firmware -xorg-x11-drv-ati-firmware -zd1211-firmware # Try to prevent disk trashing -prelink -postfix %end Please note that RHEL version in bug decsription is incorrect. I'm testing nightly compose RHEL-7.1-20140918.n.0. You asked for authconfig in your kickstart file. This is consistent with other kickstart behavior - if you ask for partitioning we can't do, anaconda fails. We can maybe clean up the traceback so it looks more like an error, but it needs to stay an error. What if you are relying on the authentication setup to be just so for post-install? That could be a nasty surprise. Ah, okay. I was confused by fact that it worked in the past. To be sure: It is supposed to work if I omit "auth --useshadow --enablemd5" line from kickstart, right? > Ah, okay. I was confused by fact that it worked in the past.
>
> To be sure: It is supposed to work if I omit "auth --useshadow
> --enablemd5" line from kickstart, right?
If you leave out any authconfig line, anaconda will not attempt to call authconfig and therefore it should work, yep.
Closing per comments #16 and #21. Can I ask one question here: Isn't this a regression? Did `auth --useshadow --enablemd5` do something in RH7.0? We use this in our Cobbler-based kickstarts and it "works" fine in RH7.0, but fails in 7.1. I thought the kickstart syntax would be stable w/in a release. Where is it documented that `auth --useshadow --enablemd5` isn't supported on RH7.1? |
Description of problem: I'm using kickstart from RHEL 7.0 to install trully minimal VM. Anaconda dies because authconfig is missing in that VM but it worked before. I would somehow expect that authconfig is skipped if it is not present instead of crashing the installation. Version-Release number of selected component: anaconda-19.31.91-1 The following was filed automatically by anaconda: anaconda 19.31.91-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 248, in execute raise KickstartError(msg) File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 78, in doConfiguration ksdata.authconfig.execute(storage, ksdata, instClass) File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run threading.Thread.run(self, *args, **kwargs) KickstartError: /usr/sbin/authconfig is missing. Cannot setup authentication. Additional info: cmdline: /usr/bin/python /sbin/anaconda cmdline_file: inst.sshd dhcpclass=ipa-lab-vms ks=http://gordo.idm.lab.bos.redhat.com/cblr/svc/op/ks/profile/RHEL-7-nightly-x86_64-minimal-brq executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.10.0-160.el7.x86_64 product: Red Hat Enterprise Linux release: Red Hat Enterprise Linux ComputeNode release 7.0 (Maipo) release_type: pre-release type: anaconda version: 7.0