Bug 235927
Summary: | authconfig --enablenis --nisdomain=domain does not work | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
Component: | authconfig | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | rmj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-05-22 20:05:27 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: |
Description
Orion Poplawski
2007-04-10 20:39:41 UTC
What do you have in /etc/yp.conf after the kickstart and after the second authconfig run? # Valid entries are # # domain NISDOMAIN server HOSTNAME # Use server HOSTNAME for the domain NISDOMAIN. # # domain NISDOMAIN broadcast # Use broadcast on the local net for domain NISDOMAIN # # domain NISDOMAIN slp # Query local SLP server for ypserver supporting NISDOMAIN # # ypserver HOSTNAME # Use server HOSTNAME for the local domain. The # IP-address of server must be listed in /etc/hosts. # # broadcast # If no server for the default domain is specified or # none of them is rechable, try a broadcast call to # find a server. # domain yp.colorado-research.com broadcast Could you try to remove the last line and rerun the authconfig with --update and look at the yp.conf and sysconfig/network again? That did it. NISDOMAIN is set in sysconfig/network and yp.conf is correct. So now we just need to know what failed during install? Well the kickstart command above is missing --update but that would mean that neither yp.conf nor sysconfig/network will be set. So I suppose --update was there. What's strange is why the sysconfig/network wasn't set up correctly. Perhaps something overwrites it after authconfig was run in kickstart? It would be really interesting to know what went wrong. Nevertheless I have a fix for the second authconfig --update run so it will set the sysconfig/network NISDOMAIN correctly even in the case it is already set in yp.conf. Apparently this was a problem with my local modification to the ypbind startup script. New ypbind init script can set the domain name based on /etc/yp.conf and doesn't require NISDOMAINNAME set in /etc/sysconfig/network. Sorry about that. |