#2640 zero-length /etc/sysconfig/network file
Closed: Fixed None Opened 12 years ago by rcritten.

User reported that on CentOS 5 with 2.1.3-1 ipa-client-install was creating a zero-length /etc/sysconfig/network file.

The contents of the original file were:

NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=kelvin-c5

He was installing with:

ipa-client-install --no-ntp --force --hostname=kelvin-c5.<dnsdomainname>

The full thread is at https://www.redhat.com/archives/freeipa-users/2012-April/msg00049.html


Additional info from the user:

Some info that may help reproducing the issue:
On that host, I found that dnsdomainname was returning nothing, which is unusual in our environment.

It turned out that was because the bare hostname (kelvin-c5) was in the /etc/hosts for 127.0.0.1. This was different than other machines we have, and deleting the kelvin-c5 from the 127.0.0.1 entry actually made dnsdomainname work again.

This was a problem with the patch that made IPA compatible with python 2.4.

Moving to next month iteration.

To be fixed in next RHEL 5 release.

Metadata Update from @rcritten:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 3.0 Beta 1

7 years ago

Login to comment on this ticket.

Metadata