Bug 881953

Summary: libguestfs: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
Product: [Community] Virtualization Tools Reporter: Michal Schmidt <mschmidt>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dyasny, mbooth, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-30 12:44:21 UTC Type: Bug
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:    
Bug Blocks: 881785    

Description Michal Schmidt 2012-11-29 20:57:44 UTC
Fedora is migrating away from:
 /etc/sysconfig/network (the HOSTNAME=... setting)
 /etc/sysconfig/keyboard
 /etc/sysconfig/i18n
to:
 /etc/hostname
 /etc/vconsole.conf
 /etc/locale.conf

See the tracker bug 881785 for details.

We found:
In libguestfs-1.19.64/src/inspect-fs-unix.c:check_hostname_unix():
- the code correctly handles /etc/hostname, but you may want to update the comment about Red Hat-derived distros.

libguestfs-1.19.64/tests/guests/guest-aux/make-fedora-img.pl:
libguestfs-1.19.64/sysprep/sysprep_operation_hostname.ml:
libguestfs-1.19.64/sysprep/sysprep_operation_net_hostname.ml:
- write HOSTNAME to /etc/sysconfig/network

Please update the package for the new config files.

Comment 1 Richard W.M. Jones 2012-11-29 21:04:08 UTC
Setting target to libguestfs 1.20.