Bug 881953 - libguestfs: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
Summary: libguestfs: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 881785
TreeView+ depends on / blocked
 
Reported: 2012-11-29 20:57 UTC by Michal Schmidt
Modified: 2012-11-30 12:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-30 12:44:21 UTC
Embargoed:


Attachments (Terms of Use)

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.


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