Bug 881953 - libguestfs: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
libguestfs: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks: 881785
  Show dependency treegraph
 
Reported: 2012-11-29 15:57 EST by Michal Schmidt
Modified: 2012-11-30 07:44 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-30 07:44:21 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michal Schmidt 2012-11-29 15:57:44 EST
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 16:04:08 EST
Setting target to libguestfs 1.20.

Note You need to log in before you can comment on or make changes to this bug.